[
http://www.stripesframework.org/jira/browse/STS-815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Clemens Fuchslocher updated STS-815:
------------------------------------
Attachment: STS-815-info.patch
STS-815-warn.patch
STS-815-error.patch
> Indexed properties checkbox comes back checked on a validation error
> --------------------------------------------------------------------
>
> Key: STS-815
> URL: http://www.stripesframework.org/jira/browse/STS-815
> Project: Stripes
> Issue Type: Bug
> Components: Validation
> Affects Versions: Release 1.5.6
> Reporter: Matthew Kilpatrick
> Attachments: Checkbox-test.zip, STS-815-error.patch,
> STS-815-info.patch, STS-815-warn.patch
>
>
> This may be related to STS-781
> When using indexed properties with two required fields and a non-required
> checkbox, if the fields were previously saved but now the user decides to
> remove one of the required fields, upon validation failure the checkbox is
> returned as checked when is should remain unchecked. This only occurs in the
> case where two objects are used: one that will contain a list of all
> populated rows to work with, and one that contains the rows of previously
> saved data. An example input field using the two objects looks like this:
> <stripes:checkbox name="testList[${loop.index}].bool"
> checked="${actionBean.dbTestList[loop.index].bool}"/>
> All other fields return as empty when displayed on validation error, but
> checkboxes remain checked.
> In the attached test case uncheck Bool and clear out Bar and hit Save. The
> checkbox will get rechecked on validation failure but it should remain
> unchecked.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development