RE: IChoiceRenderer: RadioGroup CheckBoxMultipleChoice

2008-05-18 Thread Hoover, William
Does anyone think that this warrants an rfe? -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Sunday, May 18, 2008 9:24 AM To: users@wicket.apache.org Subject: Re: IChoiceRenderer: RadioGroup CheckBoxMultipleChoice it is used for radios, for checkbox its "o

Re: IChoiceRenderer: RadioGroup CheckBoxMultipleChoice

2008-05-18 Thread Igor Vaynberg
gt; >> -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/c

Re: IChoiceRenderer: RadioGroup CheckBoxMultipleChoice

2008-05-18 Thread Johan Compagner
> 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/choicegroup then you should have instance > equality availabl

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

Re: IChoiceRenderer: RadioGroup CheckBoxMultipleChoice

2008-05-16 Thread Igor Vaynberg
sterable > { >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 CheckBoxMultiple

RE: IChoiceRenderer: RadioGroup CheckBoxMultipleChoice

2008-05-16 Thread Hoover, William
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 Igor Vaynberg
t sure I understand what you mean by using 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 Ch

RE: IChoiceRenderer: RadioGroup CheckBoxMultipleChoice

2008-05-16 Thread Hoover, William
[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 equality. we can let the group take a comparator, but its yet another complication.

Re: IChoiceRenderer: RadioGroup CheckBoxMultipleChoice

2008-05-16 Thread Igor Vaynberg
et.apache.org > Subject: Re: IChoiceRenderer: RadioGroup CheckBoxMultipleChoice > > why dont you just implement equals/hashcode on MyObjectOption??? > > -igor > > > On Fri, May 16, 2008 at 5:14 AM, Hoover, William <[EMAIL PROTECTED]> > wrote: >> Here is an example of what

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 Igor Vaynberg
tances, and because there is > >> not IChoiceRenderer it is not possible to define an ID value to >> determine the equality of the two instances. > > Not really sure what you mean here. The selection is based on the model > object of Radio/Check, not the Radio/Check instance

RE: IChoiceRenderer: RadioGroup CheckBoxMultipleChoice

2008-05-16 Thread Hoover, William
h none of the choices are the same instance of A they can still >> determine equality for selection purposes using the ID value. >> >> -Original Message- >> From: Igor Vaynberg [mailto:[EMAIL PROTECTED] >> Sent: Thursday, May 15, 2008 4:47 PM >> To: us

Re: IChoiceRenderer: RadioGroup CheckBoxMultipleChoice

2008-05-15 Thread Igor Vaynberg
what you mean here. The selection is based on the model object of Radio/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 > Sub

RE: IChoiceRenderer: RadioGroup CheckBoxMultipleChoice

2008-05-15 Thread Hoover, William
e.org 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 us

Re: IChoiceRenderer: RadioGroup CheckBoxMultipleChoice

2008-05-15 Thread Igor Vaynberg
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 us

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 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

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 y