struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cleven Lee (JIRA)" <j...@apache.org>
Subject [jira] Created: (WW-1802) s:hidden in AJAX theme, the AJAX validation message diplay repeatedly .
Date Mon, 12 Mar 2007 05:12:51 GMT
s:hidden in AJAX theme, the AJAX validation message diplay repeatedly .
-----------------------------------------------------------------------

                 Key: WW-1802
                 URL: https://issues.apache.org/struts/browse/WW-1802
             Project: Struts 2
          Issue Type: Bug
          Components: Views
    Affects Versions: 2.0.6
         Environment: Struts 2.0.6
            Reporter: Cleven Lee


Like this:
<s:form namespace="/forum" method="post" validate="true" action="doPostTopic" theme="ajax">
  <s:textfield name="subject" maxlength="255" size="100" label="'test'" labelposition="left"
required="true"></s:textfield>
  <s:hidden name="forumId" value="1" theme="ajax"></s:hidden>
  <s:submit value="'submit'"/>
</s:form>
The s:hidden tag output HTML:
<input type="hidden" name="forumId" value="1" id="doPostTopic_forumId"/>
This HTML is outside of "tr" tag, so when trigg AJAX validation repetitious, the validation
message diplay repeatedly .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message