The only reason in your case where it might make sense to use Ajax is
when you're tree is really large and you want to load parts of it
lazily. If that's not the case, don't use Ajax.
Eelco
On 3/20/07, Michel Wichers <[EMAIL PROTECTED]> wrote:
> Hi Igor,
>
> you're right - we really do not need any AJAX stuff here - i just used
> the extension tree and the ajax stuff is there out of the box (if not
> explicitely disabled).
>
> As you can see I'm still in a learning phase ;-)
>
> I will switch that tree to use regular links instead and use
> bookmarkable links + attribute modifier for target!
>
> Thanks for all your help guys, i really appreciate that!
>
> Cheers,
>
> Michel
>
> Zitat von Igor Vaynberg <[EMAIL PROTECTED]>:
>
> > but why use ajax if you are using frames?
> >
> > all you have to do is make those links bookmarkable and append a target
> > attribute to them via an attribute modifier
> >
> > -igor
> >
> >
> > On 3/20/07, Michel Wichers <[EMAIL PROTECTED]> wrote:
> >>
> >> Hi guys,
> >>
> >> I'm currently developing a page with two frames. The left frame
> >> "SelectionFrame" contains an extensions Tree and the right frame "Main"
> >> contains any Contents.
> >>
> >> What i now want to do is to respond to the Contents Frame by clicking on
> >> some special tree nodes.
> >>
> >> e.g.:
> >> ...
> >> @Override
> >> protected void onNodeLinkClicked(AjaxRequestTarget target,
> >> TreeNode node)
> >> {
> >> IConfigurationPage userObj = (IConfigurationPage)
> >> ((DefaultMutableTreeNode) node).getUserObject();
> >> setResponsePage(new ConfigMainPage(userObj));
> >> }
> >> ...
> >>
> >> If you know any easy solution it would be great to share that with me.
> >> Any help would be appreciated.
> >>
> >>
> >> cheers!
> >>
> >> Michel
> >>
> >>
> >>
> >> -------------------------------------------------------------------------
> >> Take Surveys. Earn Cash. Influence the Future of IT
> >> Join SourceForge.net's Techsay panel and you'll get the chance to share
> >> your
> >> opinions on IT & business topics through brief surveys-and earn cash
> >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> >> _______________________________________________
> >> Wicket-user mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/wicket-user
> >>
>
>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user