Stripes will duplicate hidden inputs on validation errors if there are more
than 1 input with the same name
-----------------------------------------------------------------------------------------------------------
Key: STS-870
URL: http://www.stripesframework.org/jira/browse/STS-870
Project: Stripes
Issue Type: Bug
Components: Validation
Affects Versions: Release 1.5.6
Environment: Windows 7, Java 7
Reporter: Anthony DePalma
Stripes seems to be duplicating input fields on validation errors if more than
one have the same name. For example, simply modify the QuickStart calculator
application an add the following hidden fields to the form:
<stripes:form action="/examples/quickstart/Calculator.action" focus="">
<stripes:errors/>
<stripes:hidden name="test" value="testValue1" />
<stripes:hidden name="test" value="testValue2" />
Then click submit a couple of times to fail validation and view the source that
is returned. The inputs increase exponentially and can crash a browser after a
few times. I'm guessing something in the form tag is writing these fields out?
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development