API to retrieve an ArrayList from an array of objects
-----------------------------------------------------

                 Key: XWIKI-1680
                 URL: http://jira.xwiki.org/jira/browse/XWIKI-1680
             Project: XWiki Platform
          Issue Type: New Feature
          Components: APIs
    Affects Versions: 1.1 RC1
            Reporter: Jerome Velociter
             Fix For: Future
         Attachments: list_from_array.patch

usefull in velocity where you cannot access arrays elements

with this API you could do :

#set($myArray = $xwiki.split($someString))
#set($myList = $xwiki.getList($myArray))

$myList.get(0) ...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.xwiki.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
notifications mailing list
notifications@xwiki.org
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to