I haven't tried using a # in the list attribute actually. What's the proper syntax for that? Honestly I don't know if I came across a bug or if I simply haven't come across the right documentation.
Thanks, Bryan -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Fred Lamuette Sent: Wednesday, October 15, 2003 9:58 AM To: [EMAIL PROTECTED] Subject: [OS-webwork] Converters and <ui:select> It seems that converters are not called whithin <ui:select> tag when the value is read. Cheers. R. -----Message d'origine----- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Patrick Lightbody Envoye : mercredi 15 octobre 2003 17:16 A : [EMAIL PROTECTED] Objet : RE: [OS-webwork] Webwork tablib syntax for Velocity question Bryan, Shouldn't the list attribute have a # in it if you're trying to do a mapping? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bryan White Sent: Tuesday, October 14, 2003 2:57 PM To: WebWork Subject: [OS-webwork] Webwork tablib syntax for Velocity question Hello all, I've got a velocity template that uses a webwork select tag. I want to inline the select <option> values/labels in the tag itself. I found an example of how to do this in JSP instead of velocity: <webwork:select label="Answer" name="answer" list="{'Yes' : 'false', 'No', : 'true'}" /> Going from that as an example, I have this for velocity right now: #tag( Select "label=Answer" "name=answer" "list={'Yes', 'No'}" ) This *mostly* works. My problem is, the same thing is being used for the option tag's value as well as label: <option value="Yes">Yes</option> <option value="No">No</option> Whereas, I'm trying to get: <option value="yes">Yes</option> <option value="no">No</option> If I try the syntax used in the JSP example (ex: 'Yes' : 'yes') the select object doesn't even render. Any ideas how I can do this? Thanks, Bryan White ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork