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
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
> 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
: 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
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
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
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
[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.
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
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
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
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
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
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
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
: 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
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
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
18 matches
Mail list logo