select tag list listKey and listValue usage

2008-06-11 Thread akash agrawal
Hi, 1. I have a list of objects which I use to populate select tag (using list attribute) 2. Use a property on that object for the listValue. How do I populate listKey with the object itself? Thx, -Akash - To unsubs

Re: select tag list listKey and listValue usage

2008-06-11 Thread Dave Newton
--- On Wed, 6/11/08, akash agrawal <[EMAIL PROTECTED]> wrote: > How do I populate listKey with the object itself? What would that mean? What are you expecting to see in the "value" attribute of the HTML element? Dave - To uns

Re: select tag list listKey and listValue usage

2008-06-11 Thread akash agrawal
set on the action. Does this clarify? Thx. --- On Wed, 6/11/08, Dave Newton <[EMAIL PROTECTED]> wrote: > From: Dave Newton <[EMAIL PROTECTED]> > Subject: Re: select tag list listKey and listValue usage > To: "Struts Users Mailing List" > Date: Wednesday, J

RE: select tag list listKey and listValue usage

2008-06-11 Thread Michael Gagnon
--- From: akash agrawal [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2008 3:59 PM To: Struts Users Mailing List Subject: Re: select tag list listKey and listValue usage In the value attribute I am expecting to see the name (name is a property on my bean) and I get that correctly by specifying

Re: select tag list listKey and listValue usage

2008-06-11 Thread Dave Newton
alue is sent as the value of the . The shorter answer is "you can't do that, that's not how web apps work". Dave --- On Wed, 6/11/08, akash agrawal <[EMAIL PROTECTED]> wrote: > From: akash agrawal <[EMAIL PROTECTED]> > Subject: Re: select tag list listKey and