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] Updated: (WW-1802) s:hidden in AJAX theme, the AJAX validation message diplay repeatedly .
Date Mon, 12 Mar 2007 05:15:51 GMT

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

Cleven Lee updated WW-1802:
---------------------------

    Description: 
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 repeatedly, the validation
message diplay repeatedly .

  was:
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 .


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