Re: IChoiceRenderer: RadioGroup CheckBoxMultipleChoice

2008-05-18 Thread Johan Compagner
[mailto:[EMAIL PROTECTED] Sent: Friday, May 16, 2008 11:47 AM To: users@wicket.apache.org Subject: Re: IChoiceRenderer: RadioGroup CheckBoxMultipleChoice if you use an ldm in choice/choicegroup then you should have instance equality available since you will probably load the objects from

Re: IChoiceRenderer: RadioGroup CheckBoxMultipleChoice

2008-05-18 Thread Igor Vaynberg
To: users@wicket.apache.org Subject: Re: IChoiceRenderer: RadioGroup CheckBoxMultipleChoice if you use an ldm in choice/choicegroup then you should have instance equality available since you will probably load the objects from the same place, so during request processing they are consistent. as far

Re: IChoiceRenderer: RadioGroup CheckBoxMultipleChoice

2008-05-16 Thread Igor Vaynberg
PROTECTED] Sent: Thursday, May 15, 2008 7:16 PM To: users@wicket.apache.org Subject: Re: IChoiceRenderer: RadioGroup CheckBoxMultipleChoice On Thu, May 15, 2008 at 3:12 PM, Hoover, William [EMAIL PROTECTED] wrote: It's strange that that kind of functionality is provided when multiple

RE: IChoiceRenderer: RadioGroup CheckBoxMultipleChoice

2008-05-16 Thread Hoover, William
yes, that will work in my example, but what if MyObjectOption is not part of my namespace? -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Friday, May 16, 2008 10:14 AM To: users@wicket.apache.org Subject: Re: IChoiceRenderer: RadioGroup CheckBoxMultipleChoice why

RE: IChoiceRenderer: RadioGroup CheckBoxMultipleChoice

2008-05-16 Thread Hoover, William
:[EMAIL PROTECTED] Sent: Friday, May 16, 2008 11:12 AM To: users@wicket.apache.org Subject: Re: IChoiceRenderer: RadioGroup CheckBoxMultipleChoice then use loadable detachable models that will ensure instance equality. we can let the group take a comparator, but its yet another complication. i see

Re: IChoiceRenderer: RadioGroup CheckBoxMultipleChoice

2008-05-16 Thread Igor Vaynberg
the issue. Could you elaborate? -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Friday, May 16, 2008 11:12 AM To: users@wicket.apache.org Subject: Re: IChoiceRenderer: RadioGroup CheckBoxMultipleChoice then use loadable detachable models that will ensure instance

RE: IChoiceRenderer: RadioGroup CheckBoxMultipleChoice

2008-05-16 Thread Hoover, William
a LoadableDetachableModel to solve the issue. Could you elaborate? -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Friday, May 16, 2008 11:12 AM To: users@wicket.apache.org Subject: Re: IChoiceRenderer: RadioGroup CheckBoxMultipleChoice then use loadable detachable models

Re: IChoiceRenderer: RadioGroup CheckBoxMultipleChoice

2008-05-16 Thread Igor Vaynberg
IClusterable { String getIdValue(Object object, int index); } -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Friday, May 16, 2008 11:47 AM To: users@wicket.apache.org Subject: Re: IChoiceRenderer: RadioGroup CheckBoxMultipleChoice if you use an ldm in choice

RE: IChoiceRenderer: RadioGroup CheckBoxMultipleChoice

2008-05-16 Thread Hoover, William
: Friday, May 16, 2008 12:16 PM To: users@wicket.apache.org Subject: Re: IChoiceRenderer: RadioGroup CheckBoxMultipleChoice afaik value is not used in checkbox or radio, not even sure that its valid to have it. iidentfierrenderer is a bad name since the id isnt actually rendered... -igor On Fri, May

IChoiceRenderer: RadioGroup CheckBoxMultipleChoice

2008-05-15 Thread Hoover, William
For consistency sake, wouldn't it be wise to use IChoiceRenderer for RadioGroup and CheckBoxMultipleChoice? Seems like a natural solution to override IChoiceRenderer#getIdValue(...) to infer IDs for selection comparison the same way that it is being done in DropDownChoice. Otherwise, how else can

Re: IChoiceRenderer: RadioGroup CheckBoxMultipleChoice

2008-05-15 Thread Igor Vaynberg
checkboxmultiplechoice uses ichoicerenderer afaik, did you mean checkgroup? radiogroup/checkgroup work differently, they leave all text generation up to the user so no choice renderer is required. -igor On Thu, May 15, 2008 at 1:01 PM, Hoover, William [EMAIL PROTECTED] wrote: For consistency

RE: IChoiceRenderer: RadioGroup CheckBoxMultipleChoice

2008-05-15 Thread Hoover, William
: Thursday, May 15, 2008 4:47 PM To: users@wicket.apache.org Subject: Re: IChoiceRenderer: RadioGroup CheckBoxMultipleChoice checkboxmultiplechoice uses ichoicerenderer afaik, did you mean checkgroup? radiogroup/checkgroup work differently, they leave all text generation up to the user so no choice

RE: IChoiceRenderer: RadioGroup CheckBoxMultipleChoice

2008-05-15 Thread Hoover, William
Subject: Re: IChoiceRenderer: RadioGroup CheckBoxMultipleChoice well, the whole point of radio/check group is to allow user complete control over markup. the whole point of choice renderer is to automate markup generation, so there is just a big mismatch. eg i always use radio/check group when using

Re: IChoiceRenderer: RadioGroup CheckBoxMultipleChoice

2008-05-15 Thread Igor Vaynberg
/Check, not the Radio/Check instance itself... -igor -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Thursday, May 15, 2008 5:50 PM To: users@wicket.apache.org Subject: Re: IChoiceRenderer: RadioGroup CheckBoxMultipleChoice well, the whole point of radio/check