i need to use an AjaxEditableChoiceLabel. how would you achieve the following?
unknown value == null in model == "Unknown" as label *and* option in the dropdown affirmative value == Boolean.TRUE in model == "Yes" as label *and* option in the dropdown negative value == Boolean.FALSE in model == "No" as label *and* option in the dropdown 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... 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 ? thanks, francisco --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
