Supported renderables
Note
Renderables are converted to so-called "view models". Each view model represents the default view implementation of a renderable, based on the Fluid templates shipped by EXT:form. Note that some renderables might be represented by various view model implementations, based on specific aspects outlined below.
Tip
You can also create custom view model builders by implementing the
\CPSIT\ interface.
AdvancedPassword
- (a)
ViewModel Collection -
Contains view models, reflecting both password fields:
Name Type Description passwordField ViewHelper Contained View Model Contains result from <formvh:view helper invocation for password field.form. password> confirmationField (a) ViewHelper Contained View Model Result from <formvh:view helper invocation for password confirmation field.form. password> (b) FormField View Model Combination of confirmation label and result from <formvh:view helper invocation for password confirmation field.form. password>
Checkbox
- (a)
ViewHelper Contained View Model - Contains result from
<formvh:view helper invocation.form. checkbox>
ContentElement
- (a)
ViewHelper Contained View Model - Contains result from
<f:view helper invocation.c Object> - (b)
SimpleView Model - If configured content element UID is invalid.
CountrySelect
- (a)
ViewHelper Contained View Model - Contains result from
<formvh:view helper invocation.form. country Select>
DatePicker
Important
TODO: Still missing!
Fieldset
- (a)
StandaloneTag View Model - Contains the
<fieldset>tag with class name(s) and additional attributes.
FileUpload ,
ImageUpload
- (a)
ViewModel Collection -
If uploaded resource can be resolved. Contains two or three view models:
Name Type Description uploadField ViewHelper Contained View Model Contains result from <formvh:view helper invocation for password field.form. uploaded Resource> resourceFileResource View Model References file upload, which is an instance of FileorReference Pseudo.File Reference resourcePointer Field StandaloneTag View Model Optional. References hidden <input>field with resource pointer, if available. - (b)
ViewHelper Contained View Model - If uploaded resource cannot be resolved. Contains result from
<formvh:view helper invocation.form. uploaded Resource>
Form
- (a)
ViewHelper Contained View Model - Contains result from
<formvh:view helper invocation.form>
MultiCheckbox
- (a)
ViewModel Collection -
Contains view models which reflect all available options, each as one of:
Type Description FormField View Model If label is available. Contains a combination of label and result from <formvh:view helper invocation.form. checkbox> ViewHelper Contained View Model If associated label is invalid or missing. Contains result from <formvh:view helper invocation.form. checkbox>
Password
- (a)
ViewHelper Contained View Model - Contains result from
<formvh:view helper invocation.form. password>
RadioButton
- (a)
ViewModel Collection -
Contains view models which reflect all available options, each as one of:
Type Description FormField View Model If label is available. Contains a combination of label and result from <formvh:view helper invocation.form. radio> ViewHelper Contained View Model If associated label is invalid or missing. Contains result from <formvh:view helper invocation.form. radio>
SingleSelect ,
MultiSelect
- (a)
ViewHelper Contained View Model - Contains result from
<formvh:view helper invocation. Includes availableform. select> <option>tags as children of typeStandalone.Tag View Model
StaticText
- (a)
FormField View Model - If label is available. Contains a combination of label and
<p>tag. - (b)
StandaloneTag View Model - If label is invalid or missing. Contains
<p>tag with class and text.
Textarea
- (a)
ViewHelper Contained View Model - Contains result from
<formvh:view helper invocation.form. textarea>
Text,
Date,
Email,
Number,
Telephone,
Url
- (a)
ViewHelper Contained View Model - Contains result from
<formvh:view helper invocation.form. textfield>