Labelposition (attribute of property)

From JRapid

Jump to: navigation, search

The "labelposition" attribute sets the position of a label in the form.

Available labelpositions:

  • left (default)
  • top
  • fieldset.

Usage

<property name= NAME label= LABEL labelposition = "top | left | fieldset" />

Example

  • Top:

Note the difference in the label position of the "Adresses" label and the "Logo" label.

 <property childproperty="company" collection="set" embedded="inline" entity="Address"
 extendable="extendable" label="Addresses" labelposition="top" name="addresses"/>
"top" example


  • Fieldset:
 <property childproperty="company" collection="set" embedded="inline" entity="Address"
 extendable="extendable" label="Addresses" labelposition="fieldset" name="addresses"/>
"fieldset" example
Personal tools