[ 
https://issues.apache.org/jira/browse/WICKET-2482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Igor Vaynberg resolved WICKET-2482.
-----------------------------------

    Resolution: Won't Fix
      Assignee: Igor Vaynberg

once you override getvalue() you are on your own. you are using a listview so 
the component path is not stable, maybe if you call 
listview.setreuseitems(true) you will have more luck. otherwise you can use 
your entities' pk to identifiy each check.

> 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