smart: select tag action

A: If the enumeration class for display:
<Smart: SELECT URI = "com.yoyowang.manager.enumitem.SexItem" required = "required" placeholder = "Please select a gender ..." blankOption = "true" name = 'sex 'clazz = "col-xs- 12 col-sm-12" />
address uri address where the packet is an enumeration type, class name address of the packet plus the enumeration class

2: If a drop-down box displays:
<Smart: SELECT URI = "ALL_GROUPS" placeholder = "Please select permission group ..." required = "required" blankOption = "true" displayField = "name" valueField = "id" name = ' the groupId 'clazz = "XS-12 is-COL COL-SM-12 is" />
URI address of the drop-down box displays the contents of entity classes defined SQL, as shown:
name name to the same name and URI

Guess you like

Origin blog.csdn.net/sjn0815/article/details/91800797