On Fri, Nov 6, 2009 at 9:33 AM, Bertrand Mansion <[email protected]> wrote:
> <select multiple="multiple" name="values[]">
You can do this with Cosmo:
cosmo.fill('$join{$dog} cat',
{
dog={'one','two'},
join=function(args) return table.concat(args[1],',') end
}
)
==>
one,two cat
The 'gotcha' is that any such function is passed its arguments as a table.
steve d.
_______________________________________________
Kepler-Project mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/