velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "??sta? Ste?????" <cst...@aias.gr>
Subject Re: What happened to 'default.contentType' property?
Date Thu, 22 Mar 2001 17:01:24 GMT
Thanks,
it worked just fine.

----- Original Message -----
From: "Geir Magnusson Jr." <geirm@optonline.net>
To: <velocity-user@jakarta.apache.org>
Sent: Thursday, March 22, 2001 7:40 PM
Subject: Re: What happened to 'default.contentType' property?


> ??sta? Ste????? wrote:
> >
> > OK, thanks.
> > Just another question (something that is also seem broken from the 0.71
> > ver).
> >
> > I have a method that accepts an Object[] as an argument. (e.g.
do(Object[]
> > param))
> > When I use VTL to access this method, I write:
> >
> > $someobject.do(["astring", "onemore"])
> > or
> > $someobject.do([])
> > to pass an empty Object array.
> > This does not seem to work with ver. 1.0 byt with 0.71 it was ok.
> >
> > Any thoughts?
>
> I am going to document this and put up a FAQ :)
>
> Yes - the Range Operator [1..10] and Object Array ["a","b"]
>
> are ArrayList objects, not Object[]
>
> geir
>
> --
> Geir Magnusson Jr.                               geirm@optonline.net
> Developing for the web?  See http://jakarta.apache.org/velocity/


Mime
View raw message