Clustering with tomcat - design consideration

2008-09-28 Thread itayh
Hi, We plan to run our servers on a cluster environment. We are using Tomcat. I looked and tried to see how is the best way to configure cluster wicket but all I could find was to use the default. Is there any paper that say what are the benefits/problems of any option? Also in case I use the

Re: ListMultipleChoice Defalut Selection

2008-09-28 Thread Eyal Golan
If you use PropertyModel or CompoundPropertyModel you can set the field(s) that your component is attached to. A DropDown example (I'm not experienced with multiple choice lists): private String name; .. DropDownChoice ddc = new DropDownChoice(name, new PropertyModel(this, name), choicesModel);

Page Navigation - order of items

2008-09-28 Thread eyalbenamram
Hi, I have a DataView object holding items, and a PagingNavigator object (customized) that enables paging. When the page is first loaded, the items are displayed from begining to end (if there are 5 items per page, 1-5 are displayed). I need them to be displayed from last to first, without me

Re: Page Navigation - order of items

2008-09-28 Thread Phil Grimm
Eyal, As part of setting up the columns, I call SortableDataProvider.setSort() ie., - dataProvider.setSort(publishDate, false); to define the initial sort column (and ascending/descending order). Phil On Sun, Sep 28, 2008 at 9:57 AM, eyalbenamram [EMAIL PROTECTED]wrote: Hi, I have

Re: Page Navigation - order of items

2008-09-28 Thread eyalbenamram
Hi again, I do not think I need to sort the list of items. think of 5 messages sent by the user, 3 items per page are displayed. I need it to show items 3,4,5 on the current page (in this order), and when pressing previous page, show items 1,2. Any solution? phil59 wrote: Eyal, As part of

Re: Page Navigation - order of items

2008-09-28 Thread Phil Grimm
Seems to me you'd want to sort the messages in the order they were received. Like by timestamp or ID. On Sun, Sep 28, 2008 at 10:32 AM, eyalbenamram [EMAIL PROTECTED]wrote: Hi again, I do not think I need to sort the list of items. think of 5 messages sent by the user, 3 items per page are

Re: Page Navigation - order of items

2008-09-28 Thread eyalbenamram
no.. I recieve the list and it is sorted from oldest to newest.. any suggestion about how to sort it? I coulnt think of a way.. phil59 wrote: Seems to me you'd want to sort the messages in the order they were received. Like by timestamp or ID. On Sun, Sep 28, 2008 at 10:32 AM,

Re: Page Navigation - order of items

2008-09-28 Thread Igor Vaynberg
you dont need to sort it, just write an iterator that iterates from the end of the list to the front and return that from the databprovider. -igor On Sun, Sep 28, 2008 at 9:03 AM, eyalbenamram [EMAIL PROTECTED] wrote: no.. I recieve the list and it is sorted from oldest to newest.. any

Re: The Wicket Reflex Game Post thoughts?

2008-09-28 Thread Timo Rantalaiho
On Fri, 26 Sep 2008, Nino Saturnino Martinez Vazquez Wael wrote: This is a potential pitfall if you ever will have two Ajax components that can remove the ones behavior, if the user clicks the other while loading then it's gonna complain. On the other hand im not sure what wicket can do

Re: The Wicket Reflex Game Post thoughts?

2008-09-28 Thread Johan Compagner
sync doesnt help in the area one bit Because wicket already does that for you The problem is that just after 1 ajax call that replaces/removes/what ever a component another 1 is already waiting and want to execute. in 1.5 we have to have a hash instead of the id i guess and silent failure when

Re: WANG–Wicket Ajax Next Generation–being based on YUI (MD)

2008-09-28 Thread Jörn Zaefferer
There is something new to consider when choosing a JavaScript library as Wicket's base: http://www.jondavis.net/blog/post/2008/09/jQuery-Has-Won-The-3-Year-Javascript-Framework-Battle-As-Far-As-Im-Concerned.aspx http://www.hanselman.com/blog/jQuerytoshipwithASPNETMVCandVisualStudio.aspx Jörn On

Re: WANG–Wicket Ajax Next Generation–being based on YUI (MD)

2008-09-28 Thread Scott Swank
And Nokia http://www.s60.com/life/thisiss60/s60indetail/technologiesandfeatures/webruntime http://www.s60.com/life/thisiss60/s60indetail/technologiesandfeatures/webruntime/webruntimedetail On Sun, Sep 28, 2008 at 7:01 PM, Jörn Zaefferer [EMAIL PROTECTED] wrote: There is something new to

Re: WANG–Wicket Ajax Next Generation–being based on YUI (MD)

2008-09-28 Thread Igor Vaynberg
im not sure why you guys are making such a big deal out of this. we are talking about javascript that is entirely internal to wicket. you never see it, you never touch it. it is completely namespaced in wicket's namespace. we have chosen a library that we are comfortable working with. if we can