You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Alastair Maw (JIRA)" <ji...@apache.org> on 2007/06/07 19:53:27 UTC

[jira] Created: (WICKET-627) onBeforeRenderChildren should be made protected

onBeforeRenderChildren should be made protected
-----------------------------------------------

                 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: Alastair Maw
             Fix For: 1.3.0-beta2


I've discussed this with Johan and we think we need to make onBeforeRenderChildren() protected.

<AlMaw> I have a ValidationTaggedForm extends Form.
<AlMaw> And in onBeforeRender, I call visitChildren(validationTaggingVisitor)
<AlMaw> And the validationTaggingVisitor adds a behaviour.
<AlMaw> If I have a ListView in the Form, onBeforeRender for the Form is called before the ListView populateItem calls.
<AlMaw> Thus the components added in the ListView aren't visited.

We can't just swap the order of the calls to onBeforeRender() and onBeforeRenderChildren() in Component#beforeRender() because that will break existing code and the repeaters. Besides, someone will only want to do things the other way around at some later date (e.g. attach a behaviour to a parent using a child then needs to reference/find).

Suggested solution is to make onBeforeRenderChildren() protected, which will allow as much flexibility as you like.

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


[jira] Assigned: (WICKET-627) Can't visit components in a ListView before they're rendered.

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg reassigned WICKET-627:
------------------------------------

    Assignee: Igor Vaynberg  (was: Matej Knopp)

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


[jira] Commented: (WICKET-627) Can't visit components in a ListView before they're rendered.

Posted by "Matej Knopp (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Assigned: (WICKET-627) Can't visit components in a ListView before they're rendered.

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg reassigned WICKET-627:
------------------------------------

    Assignee: Matej Knopp

> 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: Matej Knopp
>             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.


[jira] Commented: (WICKET-627) onBeforeRenderChildren should be made protected

Posted by "Alastair Maw (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502851 ] 

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

<AlMaw> So, making onBeforeRenderChildren protected doesn't help. :-(
<AlMaw> As I'm wanting to add a behaviour to them somewhere.
<AlMaw> And if I do that in the onBeforeRenderChildren() of my containing Form, with an IVisitor, that won't work.
<AlMaw> As onBeforeRender() for all the children has to be called first.
<AlMaw> And that sets the RENDER flag to true.
<AlMaw> So you can't add a behaviour any more.

> onBeforeRenderChildren should be made protected
> -----------------------------------------------
>
>                 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: Alastair Maw
>             Fix For: 1.3.0-beta2
>
>
> I've discussed this with Johan and we think we need to make onBeforeRenderChildren() protected.
> <AlMaw> I have a ValidationTaggedForm extends Form.
> <AlMaw> And in onBeforeRender, I call visitChildren(validationTaggingVisitor)
> <AlMaw> And the validationTaggingVisitor adds a behaviour.
> <AlMaw> If I have a ListView in the Form, onBeforeRender for the Form is called before the ListView populateItem calls.
> <AlMaw> Thus the components added in the ListView aren't visited.
> We can't just swap the order of the calls to onBeforeRender() and onBeforeRenderChildren() in Component#beforeRender() because that will break existing code and the repeaters. Besides, someone will only want to do things the other way around at some later date (e.g. attach a behaviour to a parent using a child then needs to reference/find).
> Suggested solution is to make onBeforeRenderChildren() protected, which will allow as much flexibility as you like.

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


[jira] Commented: (WICKET-627) onBeforeRenderChildren should be made protected

Posted by "Johan Compagner (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502893 ] 

Johan Compagner commented on WICKET-627:
----------------------------------------

hmm so this just can't be solved that way then
what we could do is set the rendering flag a bit later??
in page.renderPage() itself? with a visitor?
So that first onBefore is called
and if that works completely 
then the rendering flag is set on all.
(this also removes the nasty try{} finally around the beforeRender() call to set the flags right again.

> onBeforeRenderChildren should be made protected
> -----------------------------------------------
>
>                 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: Alastair Maw
>             Fix For: 1.3.0-beta2
>
>
> I've discussed this with Johan and we think we need to make onBeforeRenderChildren() protected.
> <AlMaw> I have a ValidationTaggedForm extends Form.
> <AlMaw> And in onBeforeRender, I call visitChildren(validationTaggingVisitor)
> <AlMaw> And the validationTaggingVisitor adds a behaviour.
> <AlMaw> If I have a ListView in the Form, onBeforeRender for the Form is called before the ListView populateItem calls.
> <AlMaw> Thus the components added in the ListView aren't visited.
> We can't just swap the order of the calls to onBeforeRender() and onBeforeRenderChildren() in Component#beforeRender() because that will break existing code and the repeaters. Besides, someone will only want to do things the other way around at some later date (e.g. attach a behaviour to a parent using a child then needs to reference/find).
> Suggested solution is to make onBeforeRenderChildren() protected, which will allow as much flexibility as you like.

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


[jira] Commented: (WICKET-627) Can't visit components in a ListView before they're rendered.

Posted by "Matej Knopp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12515090 ] 

Matej Knopp commented on WICKET-627:
------------------------------------

I'm not sure how calling onBeforeRenderChildren from onBeforeRender could help here, nor i'm i aware of all the sideeffect it could possibly bring. Imho the problem is that even if you do it, you'll only have the children components on the nearest level initialized (not the entire hierarchy). To be able to visit the components and add behaviors to all of them, we would imho need to make the initialization two step. (Which would need an extra traversal).

Also if we do this, then we would basically allow a child component to add a component to parent component in onBeforeRender. What would call beforeRender on the new component? 

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


[jira] Commented: (WICKET-627) Can't visit components in a ListView before they're rendered.

Posted by "Alastair Maw (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Updated: (WICKET-627) onBeforeRenderChildren should be made protected

Posted by "Martijn Dashorst (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martijn Dashorst updated WICKET-627:
------------------------------------

    Fix Version/s:     (was: 1.3.0-beta2)
                   1.3.0-beta3

> onBeforeRenderChildren should be made protected
> -----------------------------------------------
>
>                 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: Alastair Maw
>             Fix For: 1.3.0-beta3
>
>
> I've discussed this with Johan and we think we need to make onBeforeRenderChildren() protected.
> <AlMaw> I have a ValidationTaggedForm extends Form.
> <AlMaw> And in onBeforeRender, I call visitChildren(validationTaggingVisitor)
> <AlMaw> And the validationTaggingVisitor adds a behaviour.
> <AlMaw> If I have a ListView in the Form, onBeforeRender for the Form is called before the ListView populateItem calls.
> <AlMaw> Thus the components added in the ListView aren't visited.
> We can't just swap the order of the calls to onBeforeRender() and onBeforeRenderChildren() in Component#beforeRender() because that will break existing code and the repeaters. Besides, someone will only want to do things the other way around at some later date (e.g. attach a behaviour to a parent using a child then needs to reference/find).
> Suggested solution is to make onBeforeRenderChildren() protected, which will allow as much flexibility as you like.

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


[jira] Issue Comment Edited: (WICKET-627) Can't visit components in a ListView before they're rendered.

Posted by "Alastair Maw (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502851 ] 

Alastair Maw edited comment on WICKET-627 at 6/14/07 12:17 PM:
---------------------------------------------------------------

We tried making onBeforeRenderChildren protected, but that doesn't help, as I'm still wanting to add a behaviour somewhere, and by the time I run the visitor from onBRC(), they all have their RENDER flag set to TRUE, so I can't add a behaviour to them.


 was:
<AlMaw> So, making onBeforeRenderChildren protected doesn't help. :-(
<AlMaw> As I'm wanting to add a behaviour to them somewhere.
<AlMaw> And if I do that in the onBeforeRenderChildren() of my containing Form, with an IVisitor, that won't work.
<AlMaw> As onBeforeRender() for all the children has to be called first.
<AlMaw> And that sets the RENDER flag to true.
<AlMaw> So you can't add a behaviour any more.

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


[jira] Updated: (WICKET-627) Can't visit components in a ListView before they're rendered.

Posted by "Alastair Maw (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alastair Maw updated WICKET-627:
--------------------------------

    Assignee:     (was: Alastair Maw)
     Summary: Can't visit components in a ListView before they're rendered.  (was: onBeforeRenderChildren should be made protected)

I still can't work out how to do this. Igor suggested moving the call to Component#onBeforeRenderChildren() inside Component#onBeforeRender(), but if I do that, I get an NPE in the ListView#renderItem() method even for basic code.

> 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
>             Fix For: 1.3.0-beta3
>
>
> I've discussed this with Johan and we think we need to make onBeforeRenderChildren() protected.
> <AlMaw> I have a ValidationTaggedForm extends Form.
> <AlMaw> And in onBeforeRender, I call visitChildren(validationTaggingVisitor)
> <AlMaw> And the validationTaggingVisitor adds a behaviour.
> <AlMaw> If I have a ListView in the Form, onBeforeRender for the Form is called before the ListView populateItem calls.
> <AlMaw> Thus the components added in the ListView aren't visited.
> We can't just swap the order of the calls to onBeforeRender() and onBeforeRenderChildren() in Component#beforeRender() because that will break existing code and the repeaters. Besides, someone will only want to do things the other way around at some later date (e.g. attach a behaviour to a parent using a child then needs to reference/find).
> Suggested solution is to make onBeforeRenderChildren() protected, which will allow as much flexibility as you like.

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


[jira] Commented: (WICKET-627) onBeforeRenderChildren should be made protected

Posted by "Alastair Maw (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12503201 ] 

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

Hmmm. We'd still need to have this as a protected method in addition to the later RENDER flag set. And walking the entire component tree yet again isn't ideal from a performance perspective. :-( We evidently need to have more of a think about this.

> onBeforeRenderChildren should be made protected
> -----------------------------------------------
>
>                 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: Alastair Maw
>             Fix For: 1.3.0-beta3
>
>
> I've discussed this with Johan and we think we need to make onBeforeRenderChildren() protected.
> <AlMaw> I have a ValidationTaggedForm extends Form.
> <AlMaw> And in onBeforeRender, I call visitChildren(validationTaggingVisitor)
> <AlMaw> And the validationTaggingVisitor adds a behaviour.
> <AlMaw> If I have a ListView in the Form, onBeforeRender for the Form is called before the ListView populateItem calls.
> <AlMaw> Thus the components added in the ListView aren't visited.
> We can't just swap the order of the calls to onBeforeRender() and onBeforeRenderChildren() in Component#beforeRender() because that will break existing code and the repeaters. Besides, someone will only want to do things the other way around at some later date (e.g. attach a behaviour to a parent using a child then needs to reference/find).
> Suggested solution is to make onBeforeRenderChildren() protected, which will allow as much flexibility as you like.

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


[jira] Commented: (WICKET-627) onBeforeRenderChildren should be made protected

Posted by "Alastair Maw (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502448 ] 

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

Have fixed half of this issue - it's now protected. However, it could do with a similar flag check to onBeforeRender() to make sure people have called super.onBeforeRenderChildren(), otherwise we'll break MarkupContainers.

> onBeforeRenderChildren should be made protected
> -----------------------------------------------
>
>                 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: Alastair Maw
>             Fix For: 1.3.0-beta2
>
>
> I've discussed this with Johan and we think we need to make onBeforeRenderChildren() protected.
> <AlMaw> I have a ValidationTaggedForm extends Form.
> <AlMaw> And in onBeforeRender, I call visitChildren(validationTaggingVisitor)
> <AlMaw> And the validationTaggingVisitor adds a behaviour.
> <AlMaw> If I have a ListView in the Form, onBeforeRender for the Form is called before the ListView populateItem calls.
> <AlMaw> Thus the components added in the ListView aren't visited.
> We can't just swap the order of the calls to onBeforeRender() and onBeforeRenderChildren() in Component#beforeRender() because that will break existing code and the repeaters. Besides, someone will only want to do things the other way around at some later date (e.g. attach a behaviour to a parent using a child then needs to reference/find).
> Suggested solution is to make onBeforeRenderChildren() protected, which will allow as much flexibility as you like.

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


[jira] Updated: (WICKET-627) Can't visit components in a ListView before they're rendered.

Posted by "Alastair Maw (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alastair Maw updated WICKET-627:
--------------------------------

    Description: 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.  (was: I've discussed this with Johan and we think we need to make onBeforeRenderChildren() protected.

<AlMaw> I have a ValidationTaggedForm extends Form.
<AlMaw> And in onBeforeRender, I call visitChildren(validationTaggingVisitor)
<AlMaw> And the validationTaggingVisitor adds a behaviour.
<AlMaw> If I have a ListView in the Form, onBeforeRender for the Form is called before the ListView populateItem calls.
<AlMaw> Thus the components added in the ListView aren't visited.

We can't just swap the order of the calls to onBeforeRender() and onBeforeRenderChildren() in Component#beforeRender() because that will break existing code and the repeaters. Besides, someone will only want to do things the other way around at some later date (e.g. attach a behaviour to a parent using a child then needs to reference/find).

Suggested solution is to make onBeforeRenderChildren() protected, which will allow as much flexibility as you like.)

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


[jira] Updated: (WICKET-627) Can't visit components in a ListView before they're rendered.

Posted by "Alastair Maw (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alastair Maw updated WICKET-627:
--------------------------------

    Comment: was deleted

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