struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Musachy Barroso (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (WW-1298) FreeMarker, WW2 tags and Java primitive values as tag parameters
Date Wed, 15 Apr 2009 20:10:06 GMT

     [ https://issues.apache.org/struts/browse/WW-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Musachy Barroso resolved WW-1298.
---------------------------------

    Resolution: Fixed

I just verified that this works with: <@s.url action="login" namespace="/chat" method="POST"
encode=true/>

> FreeMarker, WW2 tags and Java primitive values as tag parameters
> ----------------------------------------------------------------
>
>                 Key: WW-1298
>                 URL: https://issues.apache.org/struts/browse/WW-1298
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Plugin - Tags
>    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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message