Struts form Labels

Source: Internet
Author: User

Testfield Tags:

<s:textfield size= "Size" maxlength= "Maximum number" readonly= "Read Only"/>

Password Tags:

With TextField, only a showpassword= "True/false"

Submit tag:

<s:submint value= "" type= "Input/button/image"/>

Reset Tag:

<s:reset type= "Default input"/>

CheckBoxList Tags: create multiple check boxes

<s:checkboxlist list= "collection" listkey= "listvalue=" ".../>

Radio Tags: generate multiple radio buttons

<s:radio list= "collection" .../>

Select Tags: generate a drop-down list box

<s:select list= "Collection" multiple= "is multiple selection" .../>

Optgroup tag: An option group that generates a drop-down list box that must be used in select

<s:optgroup list= "Collection"/>

Updownselect Tags: drop-down list box that can be moved up or down

<s:updownselect list= "Collection" allowmoveup/down/all= "show Move Up, Move Down, select All buttons"

MoveUp (/down/all) label= "Set the text on the button"/>

Doubleselect: Two drop-down list box, the second one will change when you choose the first one

<s:doubleselect list= "First set" Name= "first First name" doublelist= "second set" doublename= "second name"/>

Optiontranferselect Tags: generate left and right two list boxes

<s:optiontranferselect list= "First set" Name= "first set name" doublelist= "second set" Doublename= "second set first name"

Allow...= "Set whether the button add...label=" setting appears on the text "lefttittle=" to the left of the title "Righttittle=" to the right of the title "/>

ComboBox Tags: a text box and a select

<s:combobox list= "Collection" size= "Size" .../>

Here is the page display and the code:

  

Struts form Labels

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.