You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Paul Libbrecht <pa...@activemath.org> on 2005/03/21 09:35:16 UTC

Re: [JELLY]: ¿Is it possible to pass arguments wh =?iso-8859-1?q?ile_creating_an_object??=

<j:new className="java.io.File" var="myfile">
   <j:arg value="path/to/here"/>
   </j:new>

Note sure if it works for useBean.
hope that helps.

paul



Le 21 mars 05, à 08:44, Oscar Guadilla a écrit :

> Hello,
>
>      ¿Is it possible to create an object which needs arguments in the 
> constructor?
>
>      For example, ¿how could I create a java.io.File instance?
>        ¿<j:useBean var="instanceName" class="java.io.File" ... />?
>
> Best Regards,
>      Oscar Guadilla
> -- 
> ___________________________________________________________
> Sign-up for Ads Free at Mail.com
> http://promo.mail.com/adsfreejump.htm
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org