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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to