You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Petit Pas De Lune <pe...@gmail.com> on 2007/05/03 10:55:38 UTC

[S2] Tree lazy loading

Hello.

Is it possible (and  how) to have lazy loading with <s:tree> tag?
Just want to load subtree when user expand a node.

Thanks.

PPDL

Re: [S2] Tree lazy loading

Posted by Petit Pas De Lune <pe...@gmail.com>.
Ok.
I'm going to load Struts 2.1 and work on it.

Thanks a lot.

PPDL.

On 5/6/07, Musachy Barroso <mu...@gmail.com> wrote:
>
> Following up on this:
>
> https://issues.apache.org/struts/browse/WW-1910
>
> implemented for 2.1
>
> musachy
>
> On 5/5/07, Musachy Barroso <mu...@gmail.com> wrote:
> >
> > I'm planning to implement this next week.
> >
> > musachy
> >
> > On 5/5/07, Petit Pas De Lune <petitpasdelune@gmail.com > wrote:
> > >
> > > On 5/3/07, Musachy Barroso <musachy@gmail.com > wrote:
> > > >
> > > > That dynamic. I don't think the tree supports that, although it
> > > wouldn't
> > > > be
> > > > hard to implement, using the collaped topics (heads up, the
> > > notification
> > > > topics were broken in 2.0.6), and adding the nodes "by hand",
> > >
> > >
> > > It was my idea, but i'm stucked. I'm stil testing.
> > > Thanks for your help Musachy.
> > >
> > > PPDL.
> > >
> > > http://willcode4beer.com/ware.jsp?set=dojoRpcTree
> > > >
> > > > musachy
> > > >
> > > > On 5/3/07, Petit Pas De Lune <pe...@gmail.com> wrote:
> > > > >
> > > > > On 5/3/07, Musachy Barroso <mu...@gmail.com> wrote:
> > > > > >
> > > > > > Did you take a look at showcase? I think there is an example
> > > there.
> > > > > >
> > > > > > musachy
> > > > >
> > > > >
> > > > > Yes I did.
> > > > > But in the dynamic tree example, tree is loaded as a whole thing.
> > > > > I'm trying to implement a dynamic tree where only the subtree
> > > > > first level is loaded when user expands a node.
> > > > >
> > > > > PPDL.
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > "Hey you! Would you help me to carry the stone?" Pink Floyd
> > > >
> > >
> >
> >
> >
> > --
> > "Hey you! Would you help me to carry the stone?" Pink Floyd
> >
>
>
>
> --
> "Hey you! Would you help me to carry the stone?" Pink Floyd
>

Re: [S2] Tree lazy loading

Posted by Musachy Barroso <mu...@gmail.com>.
Following up on this:

https://issues.apache.org/struts/browse/WW-1910

implemented for 2.1

musachy

On 5/5/07, Musachy Barroso <mu...@gmail.com> wrote:
>
> I'm planning to implement this next week.
>
> musachy
>
> On 5/5/07, Petit Pas De Lune <petitpasdelune@gmail.com > wrote:
> >
> > On 5/3/07, Musachy Barroso <musachy@gmail.com > wrote:
> > >
> > > That dynamic. I don't think the tree supports that, although it
> > wouldn't
> > > be
> > > hard to implement, using the collaped topics (heads up, the
> > notification
> > > topics were broken in 2.0.6), and adding the nodes "by hand",
> >
> >
> > It was my idea, but i'm stucked. I'm stil testing.
> > Thanks for your help Musachy.
> >
> > PPDL.
> >
> > http://willcode4beer.com/ware.jsp?set=dojoRpcTree
> > >
> > > musachy
> > >
> > > On 5/3/07, Petit Pas De Lune <pe...@gmail.com> wrote:
> > > >
> > > > On 5/3/07, Musachy Barroso <mu...@gmail.com> wrote:
> > > > >
> > > > > Did you take a look at showcase? I think there is an example
> > there.
> > > > >
> > > > > musachy
> > > >
> > > >
> > > > Yes I did.
> > > > But in the dynamic tree example, tree is loaded as a whole thing.
> > > > I'm trying to implement a dynamic tree where only the subtree
> > > > first level is loaded when user expands a node.
> > > >
> > > > PPDL.
> > > >
> > >
> > >
> > >
> > > --
> > > "Hey you! Would you help me to carry the stone?" Pink Floyd
> > >
> >
>
>
>
> --
> "Hey you! Would you help me to carry the stone?" Pink Floyd
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

Re: [S2] Tree lazy loading

Posted by Musachy Barroso <mu...@gmail.com>.
I'm planning to implement this next week.

musachy

On 5/5/07, Petit Pas De Lune <pe...@gmail.com> wrote:
>
> On 5/3/07, Musachy Barroso <mu...@gmail.com> wrote:
> >
> > That dynamic. I don't think the tree supports that, although it wouldn't
> > be
> > hard to implement, using the collaped topics (heads up, the notification
> > topics were broken in 2.0.6), and adding the nodes "by hand",
>
>
> It was my idea, but i'm stucked. I'm stil testing.
> Thanks for your help Musachy.
>
> PPDL.
>
> http://willcode4beer.com/ware.jsp?set=dojoRpcTree
> >
> > musachy
> >
> > On 5/3/07, Petit Pas De Lune <pe...@gmail.com> wrote:
> > >
> > > On 5/3/07, Musachy Barroso <mu...@gmail.com> wrote:
> > > >
> > > > Did you take a look at showcase? I think there is an example there.
> > > >
> > > > musachy
> > >
> > >
> > > Yes I did.
> > > But in the dynamic tree example, tree is loaded as a whole thing.
> > > I'm trying to implement a dynamic tree where only the subtree
> > > first level is loaded when user expands a node.
> > >
> > > PPDL.
> > >
> >
> >
> >
> > --
> > "Hey you! Would you help me to carry the stone?" Pink Floyd
> >
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

Re: [S2] Tree lazy loading

Posted by Petit Pas De Lune <pe...@gmail.com>.
On 5/3/07, Musachy Barroso <mu...@gmail.com> wrote:
>
> That dynamic. I don't think the tree supports that, although it wouldn't
> be
> hard to implement, using the collaped topics (heads up, the notification
> topics were broken in 2.0.6), and adding the nodes "by hand",


It was my idea, but i'm stucked. I'm stil testing.
Thanks for your help Musachy.

PPDL.

http://willcode4beer.com/ware.jsp?set=dojoRpcTree
>
> musachy
>
> On 5/3/07, Petit Pas De Lune <pe...@gmail.com> wrote:
> >
> > On 5/3/07, Musachy Barroso <mu...@gmail.com> wrote:
> > >
> > > Did you take a look at showcase? I think there is an example there.
> > >
> > > musachy
> >
> >
> > Yes I did.
> > But in the dynamic tree example, tree is loaded as a whole thing.
> > I'm trying to implement a dynamic tree where only the subtree
> > first level is loaded when user expands a node.
> >
> > PPDL.
> >
>
>
>
> --
> "Hey you! Would you help me to carry the stone?" Pink Floyd
>

Re: [S2] Tree lazy loading

Posted by Musachy Barroso <mu...@gmail.com>.
That dynamic. I don't think the tree supports that, although it wouldn't be
hard to implement, using the collaped topics (heads up, the notification
topics were broken in 2.0.6), and adding the nodes "by hand",

http://willcode4beer.com/ware.jsp?set=dojoRpcTree

musachy

On 5/3/07, Petit Pas De Lune <pe...@gmail.com> wrote:
>
> On 5/3/07, Musachy Barroso <mu...@gmail.com> wrote:
> >
> > Did you take a look at showcase? I think there is an example there.
> >
> > musachy
>
>
> Yes I did.
> But in the dynamic tree example, tree is loaded as a whole thing.
> I'm trying to implement a dynamic tree where only the subtree
> first level is loaded when user expands a node.
>
> PPDL.
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

Re: [S2] Tree lazy loading

Posted by Petit Pas De Lune <pe...@gmail.com>.
On 5/3/07, Musachy Barroso <mu...@gmail.com> wrote:
>
> Did you take a look at showcase? I think there is an example there.
>
> musachy


Yes I did.
But in the dynamic tree example, tree is loaded as a whole thing.
I'm trying to implement a dynamic tree where only the subtree
first level is loaded when user expands a node.

PPDL.

Re: [S2] Tree lazy loading

Posted by Musachy Barroso <mu...@gmail.com>.
Did you take a look at showcase? I think there is an example there.

musachy

On 5/3/07, Petit Pas De Lune <pe...@gmail.com> wrote:
>
> Hello.
>
> Is it possible (and  how) to have lazy loading with <s:tree> tag?
> Just want to load subtree when user expand a node.
>
> Thanks.
>
> PPDL
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd