[ 
http://jira.xwiki.org/jira/browse/XWIKI-1680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_18008
 ] 

Vincent Massol commented on XWIKI-1680:
---------------------------------------

One thought: we should stop putting Velocity-related stuff in the XWiki object 
and instead create Java Beans for Velocity and add them to the Velocity 
Context. Same as what is done by Velocity tools.


> 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
>         Assigned To: 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