[ http://issues.apache.org/jira/browse/VELOCITY-232?page=all ] Will Glass-Husain resolved VELOCITY-232: ----------------------------------------
Resolution: Won't Fix Eventually, we'll do all List operations on arrays as noted in Velocity-365 > Add support for array.length > ---------------------------- > > Key: VELOCITY-232 > URL: http://issues.apache.org/jira/browse/VELOCITY-232 > Project: Velocity > Type: Improvement > Components: Source > Versions: 1.4 > Environment: Operating System: other > Platform: Other > Reporter: Gernot Hüller > Priority: Minor > Fix For: 1.6 > > 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. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]