[ 
https://issues.apache.org/jira/browse/WW-4056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

inthink updated WW-4056:
------------------------

    Description: 
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>

  was:
when use requiredPosition in textfield Tag。will throw HTTP Status 500  
Erro,like:
{color:red} *Unable to find setter method for attribute: 
requiredPosition*{color} 


 -<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>-

    
> 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:   <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>
>            Reporter: inthink
>              Labels: requiredPosition, tag, textfield
>             Fix For: Future
>
>
> 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

Reply via email to