Goal :
To create our first Touch UI component.
Steps:
- Create a component name touchui.
- Create a node with primary type nt:unstructured name cq:dialog.
- Property sling:resourceType and value cq/gui/components/authoring/dialog.
- Create a node with primary type nt:unstructured name content under cq:dialog node.
- Property sling:resourceType and value granite/ui/components/foundation/container.
- Create a node with primary type nt:unstructured name layout under content node.
- Property sling:resourceType and value granite/ui/components/foundation/layouts/tabs.
- Property type value as nav.
- Create a node with primary type nt:unstructured name items under content node.
- Create a node with primary type nt:unstructured name section under items node.
- Property sling:resourceType and value granite/ui/components/foundation/section.
- Create a node with primary type nt:unstructured name layout under section node.
- Property sling:resourceType and value granite/ui/components/foundation/layouts/fixedcolumns.
- Create a node with primary type nt:unstructured name items under section node.
- Create a node with primary type nt:unstructured name column under items node.
- Property sling:resourceType and value granite/ui/components/foundation/container
- Create a node with primary type nt:unstructured name items under column node.
- Create a node with primary type nt:unstructured name textfield under items node.
- Property fieldLabel and value TextField
- Property name and value ./name.
- Property sling:resourceType and value granite/ui/components/foundation/form/textfield.
Note :
To develop all types of widgets in touch UI download below dialog implementation
No comments:
Post a Comment