Re: [Wicket-user] Working with Tree - onClick() different frame target?

2007-03-22 Thread Michel Wichers
Hi Igor all, i implemented it the suggested way by using BookmarkablePageLink + attribute modifier. For this i havee sub classed the extension tree and have overwritten the populateTreeItem as followed: //

[Wicket-user] Working with Tree - onClick() different frame target?

2007-03-20 Thread Michel Wichers
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.: ...

Re: [Wicket-user] Working with Tree - onClick() different frame target?

2007-03-20 Thread Marc-Andre Houle
Maybe this can help you. At least, I hope... http://cwiki.apache.org/WICKET/using-frames.html Marc 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

Re: [Wicket-user] Working with Tree - onClick() different frame target?

2007-03-20 Thread Michel Wichers
Hello Marc, thanks for the quick response. I've read that and also scanned the wicket examples for frames where a base frame class is used which holds the target frames... But i was wondering if there is a easier way to solve this since i do not need to refresh the top page which holds the

Re: [Wicket-user] Working with Tree - onClick() different frame target?

2007-03-20 Thread Marc-Andre Houle
Now I understand what you mean. Not sure it is possible, maybe someone with more frame and PageMap experience will be able to answer you In our application, instead of using real frame, we use Dojo which let you display a page with resizable panel that look like frame. So we display one

Re: [Wicket-user] Working with Tree - onClick() different frame target?

2007-03-20 Thread James McLaughlin
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

Re: [Wicket-user] Working with Tree - onClick() different frame target?

2007-03-20 Thread Eelco Hillenius
In your case: don't use 'internal' links but use bookmarkable links and call setPageMap(PageMap.forName(Main)) on them. Also, if your tree is not too large, consider just using some javascript based tree you your selection frame doesn't have to make round trips. Eelco On 3/20/07, Michel Wichers

Re: [Wicket-user] Working with Tree - onClick() different frame target?

2007-03-20 Thread Michel Wichers
Hello Marc, thanks for the Dojo information i will check that out for our requirements. Have you used any Dojo-Wicket framework stuff for this? Thanks! Michel Zitat von Marc-Andre Houle [EMAIL PROTECTED]: Now I understand what you mean. Not sure it is possible, maybe someone with more

Re: [Wicket-user] Working with Tree - onClick() different frame target?

2007-03-20 Thread Marc-Andre Houle
Nope, we started before the wicket-stuf/dojo project So we ad the JS and make the stuff directly... (In fact, it is just making div look correctly for Dojo) On 3/20/07, Michel Wichers [EMAIL PROTECTED] wrote: Hello Marc, thanks for the Dojo information i will check that out for our

Re: [Wicket-user] Working with Tree - onClick() different frame target?

2007-03-20 Thread Marc-Andre Houle
You got an example here even if the code is missing, maybe there is a way of using it... http://www.demay-fr.net:8080/WCD13/app/?wicket:bookmarkablePage=wicket-0%3Awicket.contrib.dojo.examples.SplitContainerSample Marc On 3/20/07, Marc-Andre Houle [EMAIL PROTECTED] wrote: Nope, we started

Re: [Wicket-user] Working with Tree - onClick() different frame target?

2007-03-20 Thread Michel Wichers
Thanks Marc! I will check that tomorrow and call it a day ;-) Thanks for all your Help to Eelco jim as well - will check that out. cheers! Michel Zitat von Marc-Andre Houle [EMAIL PROTECTED]: You got an example here even if the code is missing, maybe there is a way of using it...

Re: [Wicket-user] Working with Tree - onClick() different frame target?

2007-03-20 Thread Igor Vaynberg
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

Re: [Wicket-user] Working with Tree - onClick() different frame target?

2007-03-20 Thread Michel Wichers
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

Re: [Wicket-user] Working with Tree - onClick() different frame target?

2007-03-20 Thread Eelco Hillenius
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