Hi
The implementation tries these keys:
getId() + ".nullValid"
"nullValid"

So you could also have a global 'nullValid' entry somewhere in your resources which would be the default for ALL AbstractSingleSelectChoices such as DropDownChoice and RadioChoice

Matt

Gatos wrote:
Is it possible to reuse existing translation - I like 'Choose one'?

If my app has 32 languages, then I should create 32 records in each file?


On Thu, Aug 27, 2009 at 3:58 PM, Dipu <[email protected]> wrote:

add this in your .properties file

yourForm.yourDropDownId.nullValid = Choose One (or what ever you want
to appear)

regards


On Thu, Aug 27, 2009 at 1:45 PM, Gatos<[email protected]> wrote:
After I choose something in DropDownChoice then 'Choose one' item is
removed
from the list.

If I will try to use "setNullValid(true)" then 'Choose one' string is
replaced with '' (emptry string).

How is it possible to display 'Choose one' if another item has been
selected?

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to