
|
If you were logged in you would be able to see more operations.
|
|
|
|
Issue Links:
|
Reference
|
|
This issue relates to:
|
|
WICKET-64
Check/Radio fail in a GridView with item reuse strategy
|
|
|
|
|
|
|
|
| Resolution Date: |
01/Feb/09 10:19 PM
|
|
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...
|
|
Description
|
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... |
Show » |
|
i have done two things:
a) overrode getstatelesshint() which now properly returns false letting wicket know these components are not stateless
b) made getvalue() non-final
c) added javadoc to both radio and check to explain how to make them stateless.