Ajax Validation has bug with <sx:tabbedpanel> tag when Form is "simple" theme ------------------------------------------------------------------------------
Key: WW-3186 URL: https://issues.apache.org/struts/browse/WW-3186 Project: Struts 2 Issue Type: Bug Components: XML Validators Affects Versions: 2.1.6 Environment: tomcat Reporter: Yuan Priority: Blocker version:2.1.X Ajax Validation has bug with <sx:tabbedpanel> tag when Form is "simple" theme when below jsp is submited,a alert box will be show with text:Could not validate: XXXX <s:form action="login" theme="simple" > <sx:tabbedpanel id="tab"> <sx:div label="User Login" > <table > <caption><h3>User Login</h3></caption> <tr> <td><s:text name="input.account"/></td> <td><s:textfield name="account" /></td> </tr> <tr> <td><s:text name="input.password"/></td> <td><s:textfield name="password" /></td> </tr> <tr> <td> </td> <td > <s:submit key="login.register" name="action:registerinput" /> <sx:submit key="input.submit" validate="true" showLoadingText="false" /> </td> </tr> </table> </sx:div> </sx:tabbedpanel> </s:form> But if i remove <sx:tabbedpanel> tag like following: <s:form action="login" theme="simple" > <table > <caption><h3>User Login</h3></caption> <tr> <td><s:text name="input.account"/></td> <td><s:textfield name="account" /></td> </tr> <tr> <td><s:text name="input.password"/></td> <td><s:textfield name="password" /></td> </tr> <tr> <td> </td> <td > <s:submit key="login.register" name="action:registerinput" /> <sx:submit key="input.submit" validate="true" showLoadingText="false" /> </td> </tr> </table> </s:form> The Ajax validation worked successful! If I change the form theme to xhtml and still left <sx:tabbedpanel> the validation worked succesful! if I set form theme "simple" and remove <sx:tabbedpanel> but still left<sx:div> when jsp is submited,a alert box will be show with text:Could not validate: XXXX anybody can confirm this is a struts bug? or my setting issue? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.