You have two chances:
* You can create an array using ognl syntax.
* You can have a method that returns Object[].

On 6/26/05, Vinicius Carvalho <[EMAIL PROTECTED]> wrote:
> 
> This one is stupid...
> How can I pass more than one paremeter using static-binding?
> 
> <component id="brazil" type="DirectLink">
> <binding name="listener" expression="listeners.changeLocale"/>
> <static-binding name="parameters" value="pt"/>
> <static-binding name="parameters" value="BR"/>
> </component>
> 
> String language = (String)cycle.getServiceParameters()[0];
> String country = (String)cycle.getServiceParameters()[1];
> Locale locale = new Locale(language,country);
> 
> Regards
> 
> Vinicius
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

Reply via email to