[jboss-user] [JBoss Seam] - Re: How can I pass parameters to action methods

monkeyden do-not-reply at jboss.com
Fri Mar 9 10:55:40 EST 2007


Can you define variable argument EL functions in tld files, as in:

  | <function-signature>
  |             java.lang.String concat(java.lang.String...)
  | </function-signature>

public static String concat(String... strings) {
  |     StringBuilder sb = new StringBuilder();
  |     for (int j = 0; j < strings.length; j++)
  |         sb.append(strings[j]);
  |     return sb.toString();
  | }

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026638#4026638

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026638



More information about the jboss-user mailing list