[
https://issues.apache.org/jira/browse/WICKET-627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12515288
]
Matej Knopp commented on WICKET-627:
------------------------------------
I've commited something that should allow hierarchy change in onBeforeRender
(even modifying the parent components). Also it allows you to traverse listview
children, but you must call super.onBeforeRender() prior doing that
(component.onBeforeRender triggers calling beforeRender on children now).
> Can't visit components in a ListView before they're rendered.
> -------------------------------------------------------------
>
> Key: WICKET-627
> URL: https://issues.apache.org/jira/browse/WICKET-627
> Project: Wicket
> Issue Type: Bug
> Affects Versions: 1.3.0-beta1
> Reporter: Alastair Maw
> Assignee: Igor Vaynberg
> Fix For: 1.3.0-beta3
>
>
> I'm trying to create a Form subclass which automatically adds a Behaviour to
> all of its FormComponents using a visitor. The only place to do this is in
> the Form's onBeforeRender() method. This works fine, until you put your
> FormComponents into a ListView, at which point it doesn't work, because the
> ListView children are yet to be created.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.