You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2013/05/08 15:47:16 UTC
[jira] [Resolved] (WW-4056) requiredPosition can't work! show HTTP
Status 500
[ https://issues.apache.org/jira/browse/WW-4056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukasz Lenart resolved WW-4056.
-------------------------------
Resolution: Fixed
Done, thanks for reporting! Please check with the latest build just after Hudson will comment here :-)
> requiredPosition can't work! show HTTP Status 500
> -------------------------------------------------
>
> Key: WW-4056
> URL: https://issues.apache.org/jira/browse/WW-4056
> Project: Struts 2
> Issue Type: Bug
> Components: Plugin - Tags
> Affects Versions: 2.3.12, 2.3.14
> Environment: struts2.12 and struts2.14 ,other no test.
> JDK1.6
> Tomcat6
> Reporter: inthink
> Assignee: Lukasz Lenart
> Labels: requiredPosition, tag, textfield
> Fix For: 2.3.15
>
>
> when use requiredPosition in textfield Tag。will throw HTTP Status 500 Erro,like:
> {color:red} *Unable to find setter method for attribute: requiredPosition*{color}
> source:
> <s:form action="Reg.action" method="post" name="form" id="form" >
> <s:textfield name="name" id="name" label="username" requiredLabel="true" {color:red} *requiredPosition="left"*{color} ></s:textfield>
> <s:submit value="Login" ></s:submit>
> </s:form>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira