Hi,

Thanks Taha, I solved it in the following way:

I don't really want to add something to my Language enum. 
I replaced it with a "dummy" html radio input as you suggested. To make it a
part of the whole radiogroup I had to add the name attribute. Now I also had
to add the value attribute with an empty value, because else I got the same
error as I had initially. And with a condition I preselect the radio input
when needed.

<t:radiogroup t:id="grpLanguage" t:value="selectedLanguage">
      <t:loop t:source="languages" t:value="loopLanguage">
          <t:radio t:value="language" />
${format:labeled=language.description}
      </t:loop>
      <t:if t:test="selectedLanguage">
          <input type="radio" name="grpLanguage" value="" />
          <p:else>
                <input type="radio" checked="checked" name="grpLanguage" 
value="" />
          </p:else>
      </t:if>
      ${message:unknown}
</t:radiogroup>



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Radiogroup-with-Enum-value-and-option-with-NULL-value-tp5719355p5719379.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

Reply via email to