[ 
https://issues.apache.org/jira/browse/WICKET-627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12515249
 ] 

Alastair Maw commented on WICKET-627:
-------------------------------------

Yeah, it doesn't really help. I currently don't want to modify the hierarchy, 
just add behaviours. Does that help any? Or should we be thinking about how to 
do this in the more general case?

Maybe we need some kind of while loop, so we keep calling things until the 
hierarchy has settled?

This is biting us somewhat, as it's a regression bug - this used to work just 
fine in old pre-attach-refactor snapshots. We're missing our nice required 
stars on our forms at the moment. ;-(

> 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.

Reply via email to