Re: Problem with value attribute in select tag

2009-12-18 Thread Philipp Leusmann
Thanks Bill, this works fine. I am still wondering what the value-attribute is good for, then. Philipp Am 18.12.2009 um 17:48 schrieb Bill Bohnenberger: > I do not use the value attribute in my s:select tags & they work fine. > > I do always use the headerKey & headerValue attributes though. >

Re: Problem with value attribute in select tag

2009-12-18 Thread Bill Bohnenberger
I do not use the value attribute in my s:select tags & they work fine. I do always use the headerKey & headerValue attributes though. Incidentally, the preselected (user-selected) key value is taken (stored) using the name attribute so in your example your SelectAction should define "bla" and pro

Re: Problem with value attribute in select tag

2009-12-18 Thread Brian Thompson
I would try <@s.select name="bla" list=list listKey="id" listValue="str" value="%{ object.id}" /> -Brian On Fri, Dec 18, 2009 at 9:30 AM, Philipp Leusmann < philipp.leusm...@rwth-aachen.de> wrote: > Hi, > > what exactly does the value-attribute of the select tag require? Is it one > element o

Re: Problem with value attribute in select tag

2009-12-18 Thread Philipp Leusmann
The documentation says it is: But the examples are not really helpful. Philipp Am 18.12.2009 um 16:43 schrieb Gabriel Belingueres: > I believe that the "value" attribute is not used in this tag. > > 2009/12/18 Philipp Leusmann : >> Hi, >> >>

Re: Problem with value attribute in select tag

2009-12-18 Thread Gabriel Belingueres
I believe that the "value" attribute is not used in this tag. 2009/12/18 Philipp Leusmann : > Hi, > > what exactly does the value-attribute of the select tag require? Is it one > element of the list provided to the list-argument? Or is it the value which > eventually makes the value-attribute of

Problem with value attribute in select tag

2009-12-18 Thread Philipp Leusmann
Hi, what exactly does the value-attribute of the select tag require? Is it one element of the list provided to the list-argument? Or is it the value which eventually makes the value-attribute of the html-rendered select tag? I have something like the following and I do not find a way to work as