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


--------------------------------------------------
DISCLAIMER: This message contains proprietary
information some or all of which may be
confidential and/or legally privileged. It is for
the intended recipient only who may use and apply
the information only for the intended purpose.
Internet communications are not secure and
therefore the British Biotech group does not
accept legal responsibility for the contents of
this message. Any views or opinions presented are
only those of the author and not those of the
British Biotech group. If you are not the intended
recipient please delete this e-mail and notify the
author immediately by calling ++44 (0)1865 748747;
do not use, disclose, distribute, copy, print or
rely on this e-mail.


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to