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/
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to