AUI基本标签

Table of Contents [-]

  1. Tags
    1. Form
      1. Atributes
      2. Example
    2. Fieldset
      1. Atributes
      2. Example
    3. Button
      1. Atributes
      2. Example
    4. Button Row
      1. Atributes
      2. Example
    5. Model Context
      1. Atributes
      2. Example
    6. Input
      1. Atributes
      2. Example
      3. Examples about the label attribute
    7. Select
      1. Atributes
      2. Example
    8. Option
      1. Atributes
      2. Example
    9. Link (a)
      1. Atributes
      2. Example
    10. Field Wrapper
      1. Atributes
      2. Example
    11. Legend
    12. Layout
      1. Atributes
    13. Column
      1. Atributes
      2. Example
  2. Other Examples
    1. Textarea
      1. Example
    2. Radio
      1. Example
  3. More

The Alloy UI Forms are a great tool to help developers build very nice forms really fast. Alloy is included in Liferay v6.0+.

These are some of the advantages of using these forms:

  • Nice styling of the forms for a better usability
  • Unified styling: all the forms look the same and are controlled in one place
  • Dynamic Attributes: any attribute that can be used for an html tag can also be used for an aui tag. For example, you can use onClick, onChange, onSubmit, title... in any aui:form, aui:select, aui:input and it will work the same as if you use it an a plain form, select or input.

Tags #

These are the tags that can be used in aui forms and some of their attributes. They all support dynamic attributes, which means that you can add any additional attribute and it will be used. For example, if you add the attribute onFocus to a aui:button, the

你可能感兴趣的:(liferay)