But then you have to use custom javascript, because you want to both
update the tree and the right frame.

-Matej

On 10/16/07, Kevin Liu <[EMAIL PROTECTED]> wrote:
> Thank Igor :-)
>   But if I wanna change the tree behavior, such as expanding the Node when 
> the node is clicked as the junction link is clicked. So  I have to invoke 
> updateTree(target); The ajaxLink seems to be the only choice.:-(
>
>
>
> Igor Vaynberg <[EMAIL PROTECTED]> wrote:
>   you have to override the method that generates the link and replace it with
> a BookmarkablePageLink
>
> -igor
>
>
> On 10/15/07, Kevin Liu wrote:
> >
> > The question may be how ajaxLink be bookmarkable:
> > the code below absolutely does not work fine:
> >
> > pageLink = new AjaxLink(id){
> > private static final long serialVersionUID = 3332246227467032288L;
> > public void onClick(AjaxRequestTarget target){
> > //..
> > setResponsePage(Destination.class);
> > updateTree(target);
> >
> > }
> >
> > };
> > pageLink.add(new AttributeModifier("target",true,new
> > Model("right")));
> >
> > Kevin Liu wrote:
> > Could someone tell me how to use LinkTree in the left frame and the
> > target of the links in the tree is the right frame??
> > Thanks a lot~
> >
> >
> > -Kevin Liu
> >
> > ---------------------------------
> > Be a better Heartthrob. Get better relationship answers from someone who
> > knows.
> > Yahoo! Answers - Check it out.
> >
> >
> > -Kevin Liu
> >
> > ---------------------------------
> > Looking for a deal? Find great prices on flights and hotels with Yahoo!
> > FareChase.
>
>
>
> -Kevin Liu
>
> ---------------------------------
> Building a website is a piece of cake.
> Yahoo! Small Business gives you all the tools to get online.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to