You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Musachy Barroso (JIRA)" <ji...@apache.org> on 2007/05/12 20:21:43 UTC

[jira] Resolved: (WW-1802) s:hidden in AJAX theme, the AJAX validation message diplay repeatedly .

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

Musachy Barroso resolved WW-1802.
---------------------------------

    Resolution: Not A Problem

As of 2.1 there is no hidden tag in the ajax plugin

> 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
>         Assigned To: Musachy Barroso
>             Fix For: 2.1.0
>
>
> 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.