Hello,

I have a problem with the ui:radio tag. I would like to reuse the "list"
result multiple times as shown in the example below.

 <webwork:action name="'YesNoMap'" id="yesNoMap"/>
 <ui:radio  label="Show Text 1" name="'showTxt1'" list="@yesNoMap/yesNo" />
 <ui:radio  label="Show Text 2" name="'showTxt2'" list="@yesNoMap/yesNo" />
 <ui:radio  label="Show Text 3" name="'showTxt3'" list="@yesNoMap/yesNo" />


The class YesNoMap genereates a map the similar to the GenderMap.java
example but returns "yes" and "no" instead of "male" and "female"


Now for the first time (showTxt1) it works correct and my radio control is
labeled "yes" and "no" as wished. But the second and third radio control
(showTxt2, showTxt3) only show the radio control itself without the label. 

Of course I swaped "showTxt2" with "showTxt1" and as expected, again the
first time (now "showTxt2") it works but then failes on "showTxt1" and
"showTxt3".


Has anyone an idea ?


Thanks

Patrick

_______________________________________________
Webwork-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webwork-user

Reply via email to