java - How to create a list inside Freemarker template -


i have set of functions_names generate while iterating list of values. want capture these values "functions_names" in list , use further processing. how can that?

thanks

freemarker doesn't support modifying collections. if want in freemarker (as opposed in java), can use sequence concatenation: <#assign mylist = mylist + [newitem]>. here create new sequence wraps 2 other sequences. aware resulting sequence slow if try indexed access in long list constructed way.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -