Page History
...
Info |
---|
Since Magnolia 6.2, |
...
Tabbed layout
With the horizontal tabbed layout, you can order components horizontally. To disable spacing between components, set the spacing
property to false
add or remove tabs and fields. It is not possible to change how any tabs and fields are rendered.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
compositelayout: $type: compositeFieldtabbedLayout labeltabs: Name layout: horizontal fieldspersonal: - namefields: salutation label: Salutation - name: salutation $type: select - name: options:firstName - name: Mr.lastName details: valuefields: Mr. - labelname: Mr.email - name: Mrs.phone address: valuefields: Mrs. - labelname: Mrs.streetAddress - name: firstName - $typename: textpostalCode label: First name - name: lastNamecity $type: text - labelname: Last namecountry |
...
Horizontal layout
With the tabbed horizontal layout, you can add or remove tabs and fields. It is not possible to change how any tabs and fields are renderedorder components horizontally. To disable spacing between components, set the spacing
property to false
.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
layoutcomposite: $type: tabbedLayoutcompositeField tabslabel: Name layout: horizontal personal fields: - name: fields:salutation label: Salutation - name: salutation $type: select - nameoptions: firstName - name: lastNameMr. details: fieldsvalue: Mr. - namelabel: emailMr. - name: phoneMrs. address: value: Mrs. fields: label: Mrs. - name: streetAddressfirstName $type: text - name: postalCode label: First name - name: citylastName $type: text - namelabel: countryLast name |
Declarative layout
With the declarative layout, you can create form entries in an arbitrary Vaadin component container using the Vaadin declarative syntax. Use this layout class for full customization.
...