[ 
https://issues.apache.org/jira/browse/WICKET-2482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12758497#action_12758497
 ] 

Igor Vaynberg commented on WICKET-2482:
---------------------------------------

yes, repeaters and forms do not play well together on stateless pages. even if 
we attempted to repopulate the dataview there is no guarantee the same data 
would be shown - so you may end up with the same error or worse, having a 
different object put into your model then the one the user originally selected. 
you are better off using a stateful page.

> Checkgroup doens't work with stateless pages and listview
> ---------------------------------------------------------
>
>                 Key: WICKET-2482
>                 URL: https://issues.apache.org/jira/browse/WICKET-2482
>             Project: Wicket
>          Issue Type: Bug
>            Reporter: Ricardo Mayerhofer
>            Assignee: Igor Vaynberg
>
> I think this is related to:
> https://issues.apache.org/jira/browse/WICKET-1545
> When using checkgroup with listviews and stateless pages, checkgroup is not 
> able to convertValues. The cause seems that listview onbeforeRender is never 
> called on form submission. Thus children are never populated and check is not 
> added to the hierarchy. 
> The following error appears:
> submitted http post value [12345] for CheckGroup component 
> [0:form:checkGroup] contains an illegal relative path element [12345] which 
> does not point to a Check component. Due to this the CheckGroup component 
> cannot resolve the selected Check component pointed to by the illegal value. 
> A possible reason is that componment hierarchy changed between rendering and 
> form submission
> I'm using a stateless check component, that overides getValue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to