Hi,

I maybe doing too much in my template  ;-)  , but I have code like
this

<select name="mi_issuer">
$htmlutils.getDropDown($object.getByAlias("Issuer"), $all_orgs)
</select>

where htmlutils is a utility class for generating the <option> html,
given a value and a collection.  all_orgs is a collection of orgs. 
object is the current object we are working with.

This works fine on an update screen as all the above is well defined.

But on a new object screen, the $object reference is valid - but the
value returned by the getByAlias method is null.

This is causing velocity to give an invalid reference error - I was
hoping that it would call my getDropDown routine, passing a null for
the first parameter.

Is this to be expected - I guess there might be reasons for not
passing the null on.

We are using the velocity-1.2-dev build that is included with
jetspeed - which is probably a patched version of velocity as of 16th
August.

Regards,
Chris

=====
Need somewhere to Live in London - http://freeflats.com

__________________________________________________
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to