Users of "EFormBin" can configure the schema with some special values explained in the following sections
Use extra:form.cont.css='form-horizontal'
or extra:cc.css='form-horizontal'
on the form
complex type See it in Form BIN 2YCuI
The eformbin.toc extra attribute with value true
can be set on the root "Form Type" to create a table of contents
built with the headers of the form, see also "form.header"
See it in Form BIN veYHc
The eformbin.runner extra attribute of the root "Form Type" configures the form runner that can be:
default
any standard form
wizard
See it in Form BIN cMAkl
paged
See it in Form BIN nxLCi
In order to showcase lookup controls some "codelabel" model are exposed to the forms:
com.eleusoft.eformbin.beans.Attribute
- containing the unique names of all the
extra attributes present in the forms/Bin(s) of this application.
com.eleusoft.eformbin.beans.Bin
- containing the names of some of the
Bin(s) present in the forms of this application.
com.eleusoft.eformbin.beans.BinAttribute.bound
containing
the names of the attributes present in a certain (parent) Bin See it in Form BIN h2QPD
To configure a lookup field (also a collection) to read one of the built in CodeLabel(s) use its name in "codelabel.id": com.eleusoft.eformbin.beans.Bin
<field name='Bin' type='xs:long' extra:codelabel.sort='code' extra:form.maybenull='true' extra:aclec.apply='true' extra:codelabel.id='com.eleusoft.eformbin.beans.Bin' extra:form.control='CodeLabel'/>
See it in Form BIN g6l3Q See it in Form BIN h2QPD See it in Form BIN DyhXL See it in Form BIN lK3zv
the "form.ccontrol"
extra attribute with value print
can be set on the root "Form Type" to print a readonly
not-interactive form.
Use the bin:
prefix, eg: bin:3daWW
, see Bin Description