Error message definition

Source: Internet
Author: User

"Error content ". addActionError ("error message 1 ". addActionError ("error message 2" <s: actionerror/> "field name", "error message") adds an error message to a field (attribute. addFieldError ("pwd", "error message 1 ". addFieldError ("pwd", "error message 2" <s: fielderror/> <s: fielderror> <s: param> field1 </s: param> <s: param> field2 </s: param> </s: fielderror> "related information") You need to override the validate method of the parent class in action to verify the parameters. If the verification fails. Write the error message directly. addActionMessage ("Message 1 ");. addActionMessage ("Message 2" <s2: actionmessage/> 12. If  

 

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.