on 11/29/2000 5:37 AM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have been having problems accessing a vector of objects stored in the
> context. I am able to make a vector of strings, put this in the context and
> then access each with #foreach in the vm template, but when I try to add a
> vector of objects and access the different get methods on that object I get
> the following error in the velocity log:
>
> Wed Nov 29 13:30:04 GMT+00:00 2000 [warn]
> org.apache.velocity.runtime.exception.ReferenceException: reference:
> $prod.getName() is not a valid reference. [line 39,column 21]
>
> Do I need to put the prod class in any particular place?
>
> I am using tdk1.1a9 and have also tried using the velocity nightly build
> from 29 Nov.
>
> Many thanks for any help.
>
> Jon
With Velocity, you have to pretty much stay up to date with the CVS version
as there has been a lot of bugs fixed. So, if you have problems, try
building it from CVS and seeing if that fixes things. All you have to
replace is your velocity.jar.
Also, please turn off that stupid disclaimer at the bottom of your email or
get another mail account, thanks.
thanks,
-jon
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]