Robert,
You're using the list and listValue attributes incorrectly. 

 * list is the collection of objects to iterator over (Map, List, etc)
 * listKey is the expression to evaluate to generate the key. If you are
iterating over a Map, each entry is Map.Entry, and thus a valid listKey
would be "key" (Map.Entry.getKey()).
 * listValue is the same thing as listKey, but for the display value.

-Pat

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Robert Douglass
Sent: Tuesday, October 21, 2003 12:16 PM
To: WebWork list
Subject: [OS-webwork] velocity radio tag

Still having a hard time with Velocity tags. It's kind of cool, in a
way,
because every time I check out the HEAD, I get slightly different
results.
Here's my problem. From the WW1 tag attribute docs that got posted here
yesterday, I constructed my radio tag like this (it is the i18n example
from
the WW1 distro):

#tag( Radio "label='Language'" "name='language'"
"listValue=languages.values()" "list=languages.keys()")

I'm trying to replicate the output that this tag got in WW1:
<webwork:action name="'i18n.LanguageList'">
   <ui:radio label="'Language'" name="'language'" list="languages"/>
</webwork:action>

The output that I'm getting is this:



-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork


-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to