problems with stateless forms and radiogroups/checkgroups
---------------------------------------------------------
Key: WICKET-1545
URL: https://issues.apache.org/jira/browse/WICKET-1545
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 1.3.3
Reporter: Alexei Sokolov
I'm trying to use radiogroup/checkgroup with stateless form, and it is not
possible at the moment. I get the following exception:
submitted http post value [radio4] for RadioGroup component [0:form:whatever]
is illegal because it does not contain relative path to a Radio componnet. Due
to this the RadioGroup component cannot resolve the selected Radio component
pointed to by the illegal value. A possible reason is that component hierarchy
changed between rendering and form submission.
I think the problem lies inside Check & Radio components, which use
Page.getAutoIndex() and that value is different before and after page
submission for Check/Radio components.
Now, it is not possible to override getValue() on Check/Radio components, so
I'm kind of stuck now...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.