Details
-
Task
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
-
Pulsar
-
Pulsar 237 -DynamicComponents2, Pulsar 238 -DynamicComponents3
Description
On JCR level, a field group and its order can be defined by using a 'hst:fieldgroups’ multi string property of component parameter configuration node.
[hst:componentdefinition]
...
- hst:fieldgroups (string) multiple
//Should be used only for field group parameters
- * (string) multiple
If a field group is defined both through JCR and annotation, then JCR definition supersedes the one defined by annotation.
A Field Group parameters can be defined by adding to a catalog item node (hst:componentdefinition) a new multi string property using the following naming convention:
hst:fieldgroups.[FIELD GROUP KEY]
Example:
If the following groups are defined within hst:fieldgroups multi-property:
- Foo
- bar.key
- Foo With Space
Then the following multi-properties that represent parameter names for the groups above should be created:
- hst:fieldgroups.Foo
- param1
- param2
- hst:fieldgroups.bar.key
- bar.email
- bar.name
- hst:fieldgroups.Foo With Space
- document
- image
If the same field group parameter is specified in multiple field groups, then the only parameter specified within the first field group is effectively used.