Re: VisitChildren bottom-up

2007-08-30 Thread Eelco Hillenius
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

Re: VisitChildren bottom-up

2007-08-30 Thread Matej Knopp
>> -if this is a container, visitchildren recursively. > > >> > > >> wherease I need: > > >> > > >> -if this is a container, visitchildren recursively > > >> -visit this node. > > >> > > >> So originally

Re: VisitChildren bottom-up

2007-08-29 Thread Igor Vaynberg
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

Re: VisitChildren bottom-up

2007-08-29 Thread RedFury
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

Re: VisitChildren bottom-up

2007-08-29 Thread Eelco Hillenius
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

Re: VisitChildren bottom-up

2007-08-29 Thread RedFury
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

Re: VisitChildren bottom-up

2007-08-29 Thread Igor Vaynberg
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

VisitChildren bottom-up

2007-08-29 Thread RedFury
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. -