Page History
...
- constraintField
- FieldDefinition
- To edit the actual contraint (Voter)
- Transformer
- voterClass=info.magnolia.trait.CountryVoter
- FieldDefinition
- valueField
- FieldDefinition
- To edit the value of a trait
- FieldDefinition
- formatter
- previewParameter
- converters for preview
- enables preview of trait in Preview App
- traitClass=info.magnolia.trait.Country
- The actual class (POJO) of the trait
Improvements
Adding the voterClass to the constraint's FieldDefiniton would simplify the dynamic ChooseDialog (We have to read from JCR-level and have to know which field to choose and display in the dialog. The only thing stored in JCR is the voter class).
Code Block | ||
---|---|---|
| ||
iterface P13nFieldDefintion { Class getVoterClass(); } |
...
Overview
Content Tools