Thanks for quick replay i go to see it now
On 5/24/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> Ah, yes. You can do such stuff with Wicket. The best way to do this is
> to use Panels (probably combined with ListViews).
>
> Please take a look at the 'nested' example of wicket-examples.
>
> Eelco
>
> pepone pepone wrote:
>
> >I want to build a object component that can contains object components
> >in a tree like structure i know that there is always solution to aboid
> >recursivity
> >but this always need extra code
> >
> >
> >for example if i have a component TreeViewItem i want to be able to
> >write same thing like this
> >
> >TreeViewItem::render(ouput stream)
> >{
> > stream.write("<div class="TreeViewItem">");
> > stream.write("<div class="Label">)
> > stream.write(getLabel());
> > stream.write("</div">
> > if(hasChilds())
> > {
> > stream.write("<div class="Childs>");
> >
> > for(it=childs().iteartor();it!=childs().end();it++)
> > {
> > TreeViewItem item=new
> > TreeViewItem(*it);
> > item.render(stream);
> > }
> > stream.write("</div>");
> > }
> >}
> >
> >my code is only a example of what i have in mind
> >
> >On 5/24/05, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
> >
> >
> >>I'm not exactly sure what you mean. Is your question about container A
> >>(which is a wicket component) containing itself. That would create an
> >>endless loop and thus is prohibited. What is the use case you have in
> >>mind which you think you can solve with recursivity best?
> >>
> >>Juergen
> >>
> >>On 5/24/05, pepone pepone <[EMAIL PROTECTED]> wrote:
> >>
> >>
> >>>Hello list
> >>>
> >>>I new user of wicket and i intersting in know if wicket components
> >>>suport recursivity
> >>>
> >>>
> >>>-------------------------------------------------------
> >>>This SF.Net email is sponsored by Oracle Space Sweepstakes
> >>>Want to be the first software developer in space?
> >>>Enter now for the Oracle Space Sweepstakes!
> >>>http://ads.osdn.com/?ad_idt12&alloc_id344&opclick
> >>>_______________________________________________
> >>>Wicket-user mailing list
> >>>[email protected]
> >>>https://lists.sourceforge.net/lists/listinfo/wicket-user
> >>>
> >>>
> >>>
> >>-------------------------------------------------------
> >>This SF.Net email is sponsored by Oracle Space Sweepstakes
> >>Want to be the first software developer in space?
> >>Enter now for the Oracle Space Sweepstakes!
> >>http://ads.osdn.com/?ad_idt12&alloc_id344&opclick
> >>_______________________________________________
> >>Wicket-user mailing list
> >>[email protected]
> >>https://lists.sourceforge.net/lists/listinfo/wicket-user
> >>
> >>
> >>
> >
> >
> >-------------------------------------------------------
> >This SF.Net email is sponsored by Oracle Space Sweepstakes
> >Want to be the first software developer in space?
> >Enter now for the Oracle Space Sweepstakes!
> >http://ads.osdn.com/?ad_idt12&alloc_id344&op=click
> >_______________________________________________
> >Wicket-user mailing list
> >[email protected]
> >https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> >
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by Oracle Space Sweepstakes
> Want to be the first software developer in space?
> Enter now for the Oracle Space Sweepstakes!
> http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12&alloc_id344&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user