What servlet container are you using? From the description, with it failing on the second and beyond instance of ui:radio, it sounds like it might be a tag handler reuse issue.
> -----Original Message----- > From: Graf Patrick [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, April 24, 2002 5:05 AM > To: 'Matt Baldree' > Cc: WebWork-User (E-Mail) > Subject: AW: [Webwork-user] ui:radio > > > Hi Matt, > > > thanks for your answer. Yes, I can duplicate the error with > the test pages. > I have inserted the code you sent in your email. But the same stange > behaviour occurs. > It fills in the label and the control name but does not add > the value or the > description (male/female) for the second and third time. > > Here the html source (I removed the blanks and spaces) > > <tr> > <td align="right" valign="top"> > <span class="label">Gender1:</span> > </td> > <td> > <label>Male <input type="radio" name="male" value="true"></label> > <label>Female <input type="radio" CHECKED name="male" > value="false"></label> > </td> > </tr> > <tr> > <td align="right" valign="top"> > <span class="label">Gender2:</span> > </td> > <td> > <label><input type="radio" name="male" value=""></label> > <label><input type="radio" name="male" value=""></label> > </td> > </tr> > <tr> > <td align="right" valign="top"> > <span class="label">Gender3:</span> > </td> > <td> > <label><input type="radio" name="male" value=""></label> > <label><input type="radio" name="male" value=""></label> > </td> > </tr> > > > > cheers > -patrick > > > > > -----Ursprüngliche Nachricht----- > > Von: Matt Baldree [mailto:[EMAIL PROTECTED]] > > Gesendet: Dienstag, 23. April 2002 02:40 > > An: Graf Patrick > > Cc: WebWork-User (E-Mail) > > Betreff: Re: [Webwork-user] ui:radio > > > > > > You can take the ui:radio in the form test and duplicate it > > and it works > > fine. Can you duplicate the error with one of the test pages > > or submit some > > code? > > > > <webwork:action name="'GenderMap'" id="genders"/> > > <ui:radio label="'Gender1'" name="'male'" > list="@genders/genders"/> > > <ui:radio label="'Gender2'" name="'male'" > list="@genders/genders"/> > > <ui:radio label="'Gender3'" name="'male'" > list="@genders/genders"/> > > > > ----- Original Message ----- > > From: "Graf Patrick" <[EMAIL PROTECTED]> > > To: "'Matt Baldree'" <[EMAIL PROTECTED]> > > Cc: "WebWork-User (E-Mail)" <[EMAIL PROTECTED]> > > Sent: Monday, April 22, 2002 4:24 AM > > Subject: AW: [Webwork-user] ui:radio > > > > > > thanks for the suggestion but that doesn't help. > > It's actually written with quotes. > > > > Here the example again: > > > > <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" /> > > > > > > Any other suggestions from anyone? > > > > -patrick > > > > > > > -----Ursprüngliche Nachricht----- > > > Von: Matt Baldree [mailto:[EMAIL PROTECTED]] > > > Gesendet: Samstag, 20. April 2002 13:16 > > > An: Graf Patrick; WebWork-User (E-Mail) > > > Betreff: Re: [Webwork-user] ui:radio > > > > > > > > > Try quoting the label. Without the quote, WW is looking for a > > > method with > > > that name. > > > > > > <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" /> > > > > > > ----- Original Message ----- > > > From: "Graf Patrick" <[EMAIL PROTECTED]> > > > To: "WebWork-User (E-Mail)" <[EMAIL PROTECTED]> > > > Sent: Thursday, April 18, 2002 8:42 AM > > > Subject: [Webwork-user] ui:radio > > > > > > > > > > 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 > > > > > > > > > > > > > > > > > > _______________________________________________ > > Webwork-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/webwork-user > > > > > > > > > > _______________________________________________ > Webwork-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/webwork-user > _______________________________________________ Webwork-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webwork-user