This content has been marked as final.
Show 2 replies
-
1. Re: Is it possible to parse a String array as parameter in EL
sjmenden Aug 15, 2008 2:02 PM (in response to jorg1)It should just work, change your download method to (String arg1, String arg2) then try #{downloadBean.download('seismic_surveys', 'another_arg')}
-
2. Re: Is it possible to parse a String array as parameter in EL
jorg1 Aug 15, 2008 4:20 PM (in response to jorg1)Thanks, but that just takes 2 strings as argument instead of one. My component should be able to take any number of strings so the method signature should be:
download(String[] str)
A workaround would be to have the string array returned from a bean method like
<a4j:form> <a4j:htmlCommandLink action="#{downloadBean.download(bean.getStringArray())}/> </a4j:form>
but isn't it possible to pass the String array directly EL ?