I'm having problems getting the listKey in the ww:select to work.

<ww:select label="'Tag ID'" name="'tagid'" list="tagList" listKey="tagId"
listValue="title" />

The getTagList() is a method that returns a List of Tag objects
Tag object has set/getTagId() and set/getTitle()

Everything works ok except the listKey that is not returning any value.
I get the number of items from the list as well as the text rendered by
the listValue correctly.

getTagId() returns a long but I've tried returning a String and it still
didn't work. I'm using webwork2 on Tomcat 5, jdk1.4

Any idea?

Thanks


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to