Multiple hidden fields created when using stripes hidden field tag
------------------------------------------------------------------

                 Key: STS-855
                 URL: http://www.stripesframework.org/jira/browse/STS-855
             Project: Stripes
          Issue Type: Bug
          Components: Tag Library
    Affects Versions: Release 1.5.6
         Environment: Windows XP, Solaris, Linux
Java 1.6_24
            Reporter: Karl Kirch


When using the stripes hidden tag helper, it will put out multiple copies of 
the hidden tag.

Examples:
jsp:
<stripes:hidden name="url" />
output
<input name="url" value="http%3A%2F%2Fgoogle.com" type="hidden" /><input 
name="url" value="http%3A%2F%2Fgoogle.com" type="hidden" />

jsp:
<stripes:hidden name="orgId" value="${actionBean.orgView.orgId}" />
output:
<input name="orgId" value="1399" type="hidden" /><input name="orgId" 
value="1399" type="hidden" />

This however is not consistant, not every hidden tag outputs two copies. Here's 
examples where it doesn't output two copies

jsp:
<stripes:hidden name="orgView.orgId" />
output:
<input name="orgView.orgId" value="1399" type="hidden" />

jsp:
<stripes:hidden name="usesSCM" />
output:
<input name="usesSCM" value="false" type="hidden" />


This effects both GET and POST forms.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Get your Android app more play: Bring it to the BlackBerry PlayBook 
in minutes. BlackBerry App World&#153; now supports Android&#153; Apps 
for the BlackBerry&reg; PlayBook&#153;. Discover just how easy and simple 
it is! http://p.sf.net/sfu/android-dev2dev
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to