[ http://issues.apache.org/struts/browse/WW-1298?page=all ]
Ted Husted updated WW-1298:
---------------------------
Issue Type: Improvement (was: Bug)
Fix Version/s: Future
> FreeMarker, WW2 tags and Java primitive values as tag parameters
> ----------------------------------------------------------------
>
> Key: WW-1298
> URL: http://issues.apache.org/struts/browse/WW-1298
> Project: Struts 2
> Issue Type: Improvement
> Affects Versions: WW 2.2.2
> Reporter: Vladimir Olenin
> Fix For: Future
>
>
> Currently there seems to be no way to pass 'primitive' java values as
> parameters to the WebWork tags, when tags are used from within FreeMarker
> templates. Eg:
> <@ww.url encode=true/>
> The 'encode' parameter would be ignored, because FM automatically wraps
> primitive 'true/false' values into TemplateBooleanModel and WebWork URL
> component doesn't have appropriate setter (URL component has only
> setEncode(boolean) setter).
> I think the same is valid for other WW tags that accept (other) primitive
> values...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira