Hi Evan,

> I guess its just a usability thing.  To be able to pass a single string
> would avoid careless errors, that's all. I may settle for what you suggest
> though.

You can make a custom Uberspect to get what you want.  :)
   
http://jakarta.apache.org/velocity/api/org/apache/velocity/util/introspection/Uberspect.html#getIterator(java.lang.Object,%20org.apache.velocity.util.introspection.Info)

ie. getIterator returns a one-item iterator for non-iterative objects.

Best regards,
-- Shinobu

--
Shinobu Kawai <[EMAIL PROTECTED]>

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

Reply via email to