myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raj .G. Narasimhan" <gopal...@gmail.com>
Subject Re: [Tobago] Intercepting TreeExpansion event
Date Fri, 15 Feb 2008 15:02:11 GMT
Thanks Zied and Stojan for your input!!  Currently, I am loading using the
'action' event...I will give a try on Zied's idea...today...

thanks again!
-R

On Fri, Feb 15, 2008 at 5:19 AM, Stojan Peshov <goodusername@gmail.com>
wrote:

> Hi all,
>
> I had similar problem with loading the whole tree, and the only solution I
> managed to find
> is by using the action on the nodes:
> I first load the tree with the first level nodes,
> and after clicking on a particular node I then append the sub tree for
> that node.
>
> Could not find any solution with clicking on the  '+'
>
> Hope this was helpful
>
> Regards,
> Stojan
>
>
>
> On Fri, Feb 15, 2008 at 11:09 AM, Zied Hamdi <javahamdi@gmail.com> wrote:
>
> > Hi Raj,
> >
> > This is surely a bad idea, but as a workaround it could be helpful:
> >
> > You could add fictive subnodes (ex with label: "loading...") in the
> > closed nodes. In the onload event, just call in ajax mode a load for each
> > 'fictive' node to get its parent real content. This can be embedded in a
> > componenent to avoid manual coding each time.
> >
> > I didn't try that but I hope the idea helps.
> >
> > Regards,
> > Zied
> >
>
>


-- 
Thanks,

Raj .G. Narasimhan

Mime
View raw message