On 8/30/07, Matej Knopp <[EMAIL PROTECTED]> wrote:
> The IPostOrderVisitor idea seems to me better than having another method
Yeah, it would be a bit more elegant. But either works for me.
Eelco
-
To unsubscribe, e-mail: [EMAIL
>> -if this is a container, visitchildren recursively.
> > >>
> > >> wherease I need:
> > >>
> > >> -if this is a container, visitchildren recursively
> > >> -visit this node.
> > >>
> > >> So originally
nally I tried to write reverseVisitChildren() in my sublcass of
> >> MarkupContainer but then realized all of the access functions
> >> (children_size
> >> and children_next) are private in markupContainer and my recu
t) are private in markupContainer and my recursive call
>> to
>> reverseVisitChildren would only work on my custom panel, not generic
>> MarkupContainers, if that makes.
>>
>> Is anyone able to suggest a simple solution to this
On 8/29/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> hrm. i have implemented a postorder traversal for formcomponents (see
> FormComponent.visitFormComponentsPostOrder) so you can either take that code
> and use it in your app, or we can bring it up to markupcontainer and
> generalize it.
>
> the
rivate in markupContainer and my recursive call
>> to
>> reverseVisitChildren would only work on my custom panel, not generic
>> MarkupContainers, if that makes.
>>
>> Is anyone able to suggest a simple solution to
solution I can think of is to add that functionality to
> MarkupContainer as I think it might prove useful for other people at some
> stage also.
>
> Thanks,
> Dean
>
> --
> View this message in context:
> http://www.nabble.com/VisitChildren-bottom-up-tf4351747.html#a12399
ht prove useful for other people at some
stage also.
Thanks,
Dean
--
View this message in context:
http://www.nabble.com/VisitChildren-bottom-up-tf4351747.html#a12399896
Sent from the Wicket - User mailing list archive at Nabble.com.
-