Re: Map-backed form property and multi-select

2004-11-04 Thread Salvador Morant
Not if it will be useful to you but when I generate dynamic forms I do
the following thing:

The form definition:

   
   ...


And then

The select:
 
 
 

If option is selected String[] contains the Value else contains null.
The String[] size is the select options size.

I hope to have helped for you!! 


On Thu, 4 Nov 2004 20:22:45 +0200, Radu Badita <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I'm using a map-backed property to get the data from a run-time
> generated form. If one of the controls in the form is a multi-select,
> I only get the first selected option.
> 
> The form definition:
> 
> 
> ...
> 
> 
> Setter method:
> public void setParamValue(String paramId, Object value)
> 
> The select:
>   
>labelProperty="value"/>
>   
> 
> The setter is called only once having a String for value, even if  I
> select multiple options.
> Can anyone please give me a hint?
> 
> Thanks
> --
> Radu
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Map-backed form property and multi-select

2004-11-04 Thread Radu Badita
Hi,

I'm using a map-backed property to get the data from a run-time
generated form. If one of the controls in the form is a multi-select,
I only get the first selected option.

The form definition:


...


Setter method:
public void setParamValue(String paramId, Object value)

The select:
  
  
  

The setter is called only once having a String for value, even if  I
select multiple options.
Can anyone please give me a hint?

Thanks
-- 
Radu

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]