A few months ago I've post this question for 3.0 version. Now on 4.0 I'm
having same kind of problem :(
I need to pass an array of Strings to a component as a parameter
So I have:

<page-specification class="org.apache.tapestry.html.BasePage">
<component id="secured" type="tupiniquim:AcegiComponentWrapper">
<binding name="roles" value="ognl:{'ROLE_ADMIN','ROLE_USER'}"></binding>
</component>
</page-specification>


The AcegiComponentWrapper has this abstract property:
public abstract String[] getRoles();

That's generating an Binding Exception:
Error converting value for parameter roles: No type converter for type
java.lang.String[] is available.

Could someone help me?

Regards
--
Vinicius Caldeira Carvalho
Arquiteto de Sistemas
[EMAIL PROTECTED]
www.synos.com.br <http://www.synos.com.br>

"Everything should be made as simple as possible, but not simpler."
Albert Einstein

Reply via email to