Liking cljdoc? Tell your friends :D

adl-support.forms-support

Application Description Language support - functions useful in generating forms.

Application Description Language support - functions useful in
generating forms.
raw docstring

all-keys-present?cljmacro

(all-keys-present? m keys)

Return true if all the keys in keys are present in the map m.

Return true if all the keys in `keys` are present in the map `m`.
sourceraw docstring

auxlist-data-namecljmacro

(auxlist-data-name auxlist)

The name to which data for this auxlist will be bound in the Selmer params.

The name to which data for this `auxlist` will be bound in the
Selmer params.
sourceraw docstring

form-titleclj

(form-title record form-name user-distinct-property-keys)

Construct an appropriate title for a form having this form-name, for an entity having these user-distinct-property-keys, given this record.

Construct an appropriate title for a form having this `form-name`, for an
entity having these `user-distinct-property-keys`, given this `record`.
sourceraw docstring

get-current-valuecljmacro

(get-current-value f params entity-name)

Use the function f and these params to fetch an entity record from the database.

Use the function `f` and these `params` to fetch an `entity` record from the database.
sourceraw docstring

get-menu-optionscljmacro

(get-menu-options entity-name get-q list-q fk value)

Fetch options for a menu of entity-name from the database, using this get-q query and this list-q query, using the key fk, where the current value is this value.

Fetch options for a menu of `entity-name` from the database, using this
`get-q` query and this `list-q` query, using the key `fk`, where the current
value is this `value`.
sourceraw docstring

prepare-insertion-paramscljmacro

(prepare-insertion-params params fields)

Params for insertion into the database must have keys for all fields in the insert query, even if the value of some of those keys is nil. Massage these params to have a value for each field in these fields.

Params for insertion into the database must have keys for all fields in the
insert query, even if the value of some of those keys is nil. Massage these
`params` to have a value for each field in these `fields`.
sourceraw docstring

property-defaultsclj

(property-defaults entity)

Get a map of property names and default values for all properties of this entity which have explicit defaults.

Get a map of property names and default values for all properties of this
`entity` which have explicit defaults.
sourceraw docstring

query-nameclj

(query-name entity-or-name q-type)

Generate a query name for the query of type q-type (expected to be one of :create, :delete, :get, :list, :search-strings, :update) of the entity entity-or-name NOTE: if entity-or-name is passed as a string, it should be the full, unaltered name of the entity.

Generate a query name for the query of type `q-type` (expected to be one
of `:create`, `:delete`, `:get`, `:list`, `:search-strings`, `:update`) of
the entity `entity-or-name` NOTE: if `entity-or-name` is passed as a string,
it should be the full, unaltered name of the entity.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close