Hi, I have a RadioGroup with options based on an enum (Language).
*.tml* <t:radiogroup t:value="selectedLanguage"> <t:loop t:source="languages" t:value="loopLanguage"> <t:radio t:value="language" /> ${format:labeled=language.description} </t:loop> </t:radiogroup> *.class* @Property private Language selectedLanguage; @Property private Language loopLanguage; public Language[] getLanguages() { return new Language[] { Language.NL, Language.FR, Language.DE }; } Now I want to add a radio option representing a null value (no language selected); So I added this to my radiogroup (after the loop): <t:radio t:value="null" /> ${message:unknown} Then I get this exception: /org.apache.tapestry5.ioc.util.UnknownValueException Input 'on' does not identify a value from enumerated type be.pensionarchitects.admindb.model.language.Language. availableValues be.pensionarchitects.admindb.model.language.Language enum constants: DE EN FR NL/ I understand the problem here. But seeing my use case, is the only solution to use a String and the Language enum String representations as values for my radiogroup? Or can this be solved in an other way? Nathan -- View this message in context: http://tapestry.1045711.n5.nabble.com/Radiogroup-with-Enum-value-and-option-with-NULL-value-tp5719355.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org