Groups
Groups
Sign in
Groups
Groups
mustache.java
Conversations
About
Send feedback
Help
access array item by index
911 views
Skip to first unread message
Jeff Thorn
unread,
Apr 9, 2013, 11:33:24 PM
4/9/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mustac...@googlegroups.com
Is it possible in Mustache Java to access an array item by index, as described here?
https://github.com/janl/mustache.js/issues/158
This seems pretty common in many mustache implementations but does not appear to work with mustache java.
Thanks!
Jeff
Sam
unread,
Apr 9, 2013, 11:37:32 PM
4/9/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mustac...@googlegroups.com
It is common but not supported by the specification. There is a way to do it if you absolutely need it for compatibility:
https://github.com/spullara/mustache.java/issues/68
But, I suggest that you instead name them something in your view class.
Sam
Reply all
Reply to author
Forward
0 new messages