Hmm... that's very odd -- it should work. I recommend you muck around with select.vm and see what you can cause to print out. Try using things like $top for the key and see what you get. Also, you might want to step through the SelectTag code to see if anything tricky is going on there. Let me know if you can't get this worked out.
Patrick > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > [EMAIL PROTECTED] > Sent: Friday, February 13, 2004 1:03 AM > To: [EMAIL PROTECTED] > Subject: [OS-webwork] ww:select listKey > > 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 ------------------------------------------------------- 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