27 Feb
2012
27 Feb
'12
3:36 p.m.
On 02/27/2012 08:50 AM, acaserop wrote:
I have a multiple select,
<select multiple="multiple" style="height:180px;" id="sourceArea" name="area" /> <displayType>select</displayType> #foreach($prop in $areasTecnologias) <option> $prop</option> #end
But, when I'm going to get the results
#if("$!{request.xcreate}" == 'source') ## ======================================================= ## Processing the creation form
#set($area = "$!request.area")
I only get the first value, only my first of mu group of options...
What I am missing?
This is normal. $request.getParameterValues('area') will give you a list with the selected values.
Thanks
-- Sergiu Dumitriu http://purl.org/net/sergiu/