yes, a few minutes ago i came back to this issue and was thinking
about rolling my own component (based on a DropDownChoice/
AjaxEditableChoiceLabel mix). if i come up with something interesting
i'll keep you posted.

thanks

francisco

On Fri, Mar 21, 2008 at 5:03 PM, Timo Rantalaiho <[EMAIL PROTECTED]> wrote:
> On Thu, 20 Mar 2008, francisco treacy wrote:
>  > i already tried with lots of suggestions, mostly looking at
>  > DropDownChoice documentation, but this doesn't seem to be in the same
>  > hierarchy as AjaxEditableChoiceLabel. for instance there is no
>  > setNullValid method...
>
>  Have you looked at how AjaxEditableChoiceLabel is
>  implemented?
>
>
>  > i used a custom Converter and a ChoiceRenderer and it has partially
>  > done the trick. what i would like to know is:  how can i "labelize" /
>  > internationalize the labels and options itselves in a tidy/ best
>  > practice manner? i mean, a simple way to map  null <-> Unknown, true
>  > <-> Yes, false <-> No
>  >
>  > and most important where do i set nullValid(), as it was with 
> DropDownChoice ?
>
>  I'm not  familiar with AjaxEditableChoiceLabel, but it
>  sounds like you might have to roll your own component with
>  DropDownChoice and Label or something such, maybe using
>  AjaxEditableChoiceLabel as a starting point.
>
>  However, it might be that you are almost there with the
>  ready-made component? Custom Converter and Choicerenderer
>  sound OK for showing the values you want, and you can easily
>  make them return getString("my.resource.key") for
>  localizable strings.
>
>  You should look at the source code to see how nullValid
>  handling is done in AjaxEditableChoiceLabel, if there is a
>  suitable hook for settting that, a method to override or
>  something such.
>
>  You are developing with Wicket sources attached in your IDE,
>  right?
>
>  Best wishes,
>  Timo
>
>  --
>  Timo Rantalaiho
>  Reaktor Innovations Oy    <URL: http://www.ri.fi/ >
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to