EFormBin configuration attributes

    1. 1 Introduction
    2. 2 Form horizontal layout
    3. 3 eformbin.toc to print a table of contents
    4. 4 eformbin.runner for wizard and paged forms
    5. 5 Built in codelabel for lookups
    6. 6 form.ccontrol='print' to print a readonly form
    7. 7 How to insert a link to an other BIN in the description ?

Introduction

Users of "EFormBin" can configure the schema with some special values explained in the following sections

Form horizontal layout

Use extra:form.cont.css='form-horizontal' or extra:cc.css='form-horizontal' on the form complex type See it in Form BIN 2YCuI

eformbin.toc to print a table of contents

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

eformbin.runner for wizard and paged forms

The eformbin.runner extra attribute of the root "Form Type" configures the form runner that can be:

  1. default any standard form

  2. wizard See it in Form BIN cMAkl

  3. paged See it in Form BIN nxLCi

Built in codelabel for lookups

In order to showcase lookup controls some "codelabel" model are exposed to the forms:

  1. com.eleusoft.eformbin.beans.Attribute - containing the unique names of all the extra attributes present in the forms/Bin(s) of this application.

  2. com.eleusoft.eformbin.beans.Bin - containing the names of some of the Bin(s) present in the forms of this application.

  3. 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

form.ccontrol='print' to print a readonly form

the "form.ccontrol" extra attribute with value print can be set on the root "Form Type" to print a readonly not-interactive form.

See it in Form BIN 5spaQ

See it in Form BIN PORWB

How to insert a link to an other BIN in the description ?

Use the bin: prefix, eg: bin:3daWW , see Bin Description

See it in Form BIN VYj8s