(create-entity conf)
Call generate-form function with create entity parameters
Call generate-form function with create entity parameters
(edit-action conf)
Edit action configuration
Edit action configuration
(edit-entity conf)
Call entity-form function
Call entity-form function
(entity-delete conf)
Request entity to be deleted from server
Request entity to be deleted from server
(entity-delete-success xhr {conf :conf {table-fn :table-fn} :conf})
Entity delete success
Entity delete success
(entity-details conf)
Call entity-form function from generated entities table with details entity parameters
Call entity-form function from generated entities table with details entity parameters
(entity-table-success xhr ajax-params)
Generate entity table after retrieving entities
Generate entity table after retrieving entities
(find-input-fn field-type i)
Find fn that generates right input field type
Find fn that generates right input field type
(framework-default-error xhr)
Framework default error function
Framework default error function
(gen-table conf & [sl-node event search-call])
Generate table with data
Generate table with data
(generate-field id value field-type & [attrs evts options])
Generate input field of particular type
Generate input field of particular type
(generate-form xhr ajax-params)
Generate entity form
Generate entity form
(generate-form-trs xhr
{conf :conf
{action-label :action-label
form-type :form-type
table-fn :table-fn
allowed-actions :allowed-actions
disabled :disabled
action-p :action-p
{entity-type :type
entity-name :entity-name
fields :fields
entity-keys :fields-order}
:form-conf
action-fn :action-fn
action :action}
:conf})
Generate form fields
Generate form fields
(image-field content attrs & [evts dyn-attrs])
Render img html field and hidden input field
Render img html field and hidden input field
(insert-action conf)
Insert action configuration
Insert action configuration
(popup-fn {content :content heading :heading})
Append generated popup to body
Append generated popup to body
(render-img {file-id :file-id img-id :img-id hidden-id :hidden-id})
Render uploaded image
Render uploaded image
(search-entities-fn ajax-params)
Search entities by fields from configuration
Search entities by fields from configuration
(select-field content attrs evts & [dyn-attrs])
Render select field
Render select field
(textarea-field content attrs evts & [dyn-attrs])
Render select field
Render select field
(update-action conf)
Update action configuration
Update action configuration
(validate-field input-element validations id)
Read validation attributes of particular fields
Read validation attributes of particular fields
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close