When I created a dialog which inherit from another dialog I have seen that sometimes the order of the nodes doesn't correspond to the order in which the fields are rendered in the dialog. Is there a way in which I can specify exactly where a field should be rendered?
Solved! Go to Solution.
Views
Replies
Total Likes
Only way is to define JCR nodes - dialogs are rendered based on the way nodes are structured. Watch part 3 in this video series here to see how nodes in a dialog and the order of the fields in the dialog are related: Scott's Digital Community: Guided Journey for Using Granite Resources Types in Experience Manager Co...
Views
Replies
Total Likes
Only way is to define JCR nodes - dialogs are rendered based on the way nodes are structured. Watch part 3 in this video series here to see how nodes in a dialog and the order of the fields in the dialog are related: Scott's Digital Community: Guided Journey for Using Granite Resources Types in Experience Manager Co...
Views
Replies
Total Likes
We can add sling:orderBefore attribute to component dialog field.
Syntax: sling:orderBefore=<--Node-Name-->
Ex: sling:orderBefore="parentPage"
Here parentPage is input field node, Now when you apply sling:orderBefore attribute, then that field will show top of parent page input field.
Thanks for reading.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies