Thanks for responding, Tim.

I was getting reference errors. It turns out the method call wasn't working because the object in question was an array and not a map. I have since been able to use a variety of method calls, method chaining, etc., without issue.

On Sep 8, 2005, at 2:06 AM, Tim Colson ((tcolson)) wrote:
contains a specific key (i.e., use the map's containsKey() method).
Can this method be used in Velocity?

Any public methods should just work.


I tried various syntactical
combinations of the following...
#if ($status.errorMessages.containsKey("foo"))
...but they all throw an error.

Pray tell -- what's the error? :-)

I just tried it out...works for me.

S     |\_._/|     .-.
E     | o o |_   / /
S   _.(  T  ) `./ /
---(((-`-(((---------

Reply via email to