You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Oscar Guadilla <og...@mail.com> on 2005/03/21 11:23:29 UTC
Re: [JELLY]: ¿Is it possible to pass arguments wh =?iso-8859-1?q?ile creating an object??=
Thank you very much for your quick response Paul.
I'll probe it.
Best Regards,
Oscar Guadilla
----- Original Message -----
From: "Paul Libbrecht" <pa...@activemath.org>
To: "Jakarta Commons Users List" <co...@jakarta.apache.org>
Subject: Re: [JELLY]: ¿Is it possible to pass arguments wh =?iso-8859-1?q?ile creating an object??=
Date: Mon, 21 Mar 2005 09:35:16 +0100
>
> <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
--
___________________________________________________________
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