Portlet Factory, Version 6.1.2


 

Qualifying a construct by field control type

You can also qualify the DataEntryField and the DisplayField according to the control type that will be used to display them, using the qualifier _<control name> (including the underscore). For example, if your normal data entry field layout is to have 4 columns containing the label, the required prompt, the input element, and the validation error, respectively, but when the input element is a text area, you would like, instead, to use two rows, where the first row has the label, the required prompt, and the validation error, and then the second row contains a single column (with colspan=4) which holds the textarea element. In this case, you would specify the normal DataEntryField construct with the name "DataEntryField," and then create another construct named DataEntryField_textarea.

Parent topic: Construct name qualifiers


Library | Support |