You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by "Vladimir Olenin (JIRA)" <ji...@apache.org> on 2006/04/26 00:39:45 UTC

[jira] Created: (WW-1298) FreeMarker, WW2 tags and Java primitive values as tag parameters

FreeMarker, WW2 tags and Java primitive values as tag parameters
----------------------------------------------------------------

         Key: WW-1298
         URL: http://issues.apache.org/struts/browse/WW-1298
     Project: Struts Action 2
        Type: Bug

    Versions: WW 2.2.2    
    Reporter: Vladimir Olenin


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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org