开发者

Applying styles to fields with errors in Struts 1

I have a html text field on a Struts JSP, for which I intend to use some special error stylesheet class.

<html:text property="addAccountNo" errorStyleClass="errortext" />

When I compile the application it complains

     [java] Translation of /multi/ResultL开发者_运维技巧ist.jsp failed: (line 150): for tag 'text'     handler type 'org.apache.struts.taglib.html.TextTag' has no property 'errorStyleClass'

Is the property errorStyleClass not applicable to a text field or is it deprecated?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜