you can override renderiterator() and return one that iterates chlildren in any order you wish
-igor On Tue, Sep 30, 2008 at 4:34 PM, Edgar Merino <[EMAIL PROTECTED]> wrote: > Hello again, > > I'm using version 1.3.4 (will wait until the generics version reach its > final state), the functionality I need with the RepeatingView is because I > want a BasePage to contain a right panel (represented by a RepeatingView), > where other panels can be added to it. But this may be done extending that > BasePage and then adding the needed panels at the specified index given. > I've seen the MarkupContainer implementation, and it holds its sequence of > elements in an Object (children), but access to it is private (because of > various operations that need to be performed before casting it to a List, > array or leaving it as an object). > > I think this can be accomplished by adding all the needed panels to a List > and call a method at the end of the BasePage's children so all those panels > get added to the RepeatingView in the specified order. Is there some way to > make this automatic from the BasePage, so I can avoid having all the > children of BasePage call that specific method at the end of its > constructor? (perhaps, using a callback? will onBeforeRender() work?). > > Edgar Merino > > > > Igor Vaynberg escribió: >> >> in 1.4 there is markupcontainer.swap() >> >> -igor >> >> On Tue, Sep 30, 2008 at 3:40 AM, Edgar Merino <[EMAIL PROTECTED]> wrote: >> >>> >>> Hello, >>> >>> is there any way to control the underlaying Collection a >>> WebMarkupContainer holds? So I can control where to insert the new >>> components to be added (with an index, for example). Thanks in advance. >>> >>> Edgar Merino >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
