A question about the cssclass attribute in the struts2 tag

Source: Internet
Author: User

Question: I want to ask you how to use the original CSS, like the select tag, if you have never used the struts2 tag.

A: I remember that the struts2 tag has a cssclass attribute. You can specify the attribute defined in CSS.

 

Appendix:

 

General Attributes

Attribute Theme Data Types Description
Cssclass Simple String Define HTML class attribute
Cssstyle Simple String Define HTML style attribute
Title Simple String Define HTML title attribute
Disabled Simple String Define HTML disabled attribute
Label XHTML String Define label of form Element
Labelposition XHTML String Define label position of form element (top/left), default to left
Requiredposition XHTML String Define required label position of form element (left/right), default
Right
Name Simple String Form element's field name mapping
Required XHTML Boolean Add * to label (true to add false otherwise)
Tabindex Simple String Define HTML tabindex attribute
Value Simple Object Define value of form Element

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.