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 16:30:56 GMT
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?
Thanks

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


> Ok - commit is in, and I actually tested that.
>
> We will catch these when we get servlet testing into the testbed using
> J2EEUnit or something.
>
> Thanks, and apologies.
>
> You will need to update your o.a.v.servlet.VelocityServlet.java file and
> rebuild the jar.
>
> geir
>
>
>
> ??sta? Ste????? wrote:
> >
> > OK, I agree. I am using turbine and you are correct that this is
> > a servlet property. BUT:
> > Turbine is setting this property correctly but still my Velocity
> > template are not correct...
> >
>
> --
> Geir Magnusson Jr.                               geirm@optonline.net
> Developing for the web?  See http://jakarta.apache.org/velocity/


Mime
View raw message