Details
Description
I know velocity can only introspect Methods, not member variables, but
perhaps you could make an exception for arrays?
Arrays are basically suported with foreach iteration.
Now it would be great if I could also say "$myarray.length items displayed".
Is this possible somehow now?
If not, does someone agree this could be implemented?
I think .length support should be possible only IF the passed variable is an
array, and for nothing else.
Attachments
Issue Links
- duplicates
-
VELOCITY-365 handle Lists & arrays similarly
- Closed