Ok, let's go into details.

I want to create a macro which build a <select> with its <option> tag.
Let call them {{buildSelect values=.. /}}
For the option items I need a list of string values
calling
{{buildSelect values=["a","b","c"] /}}
does not work. Display values in the macro just shows "[".

OK, there is a workaround. Passing a string

{{buildSelect values=["a|b|c"] /}}
and applying $util.split works

I guess this is a bug.
-- 
View this message in context: 
http://n2.nabble.com/macros-and-lists-tp4611119p4617554.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to