On Fri, 2007-04-06 at 14:03 -0400, Musachy Barroso wrote: > FreeMarker will replace ${X} fot the value of X anywhere on your ftl file,
sure, but in this case the ${X} is not in the ftl file, it's returned by <@s.url> - i never explictily write ${foo} anywhere, but FreeMarker expands it to "bar" because the generated URL includes that string. i find it hard to believe that having the Action wrap every string attribute with a "${" -> "$\{" replacement is a reasonable way to do this... other than being an enormous amount of effort to maintain, it seems very easy to make a mistake and introduce various security issues (where the user could embed arbitrary ftl code in GET attributes, or whatever). if this really is the case then i suppose i will go back to using JSP instead - any advantage of having a simple template language is negated by the amount of extra code required. - river. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]