struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jasper Rosenberg (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4165) Form attribute "includeContext" is being inserted as a dynamicAttribute
Date Thu, 01 Aug 2013 19:21:49 GMT

    [ https://issues.apache.org/jira/browse/WW-4165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13726774#comment-13726774
] 

Jasper Rosenberg commented on WW-4165:
--------------------------------------

A third option would be to change UIBean.getStandardAttributes() to leverage the @StrutsTagAttribute
annotations to get the standard tag names.
                
> Form attribute "includeContext" is being inserted as a dynamicAttribute
> -----------------------------------------------------------------------
>
>                 Key: WW-4165
>                 URL: https://issues.apache.org/jira/browse/WW-4165
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Other
>    Affects Versions: 2.3.15.1
>         Environment: Freemarker
>            Reporter: Jasper Rosenberg
>              Labels: form, freemarker, tags
>
> If you use the "includeContext" attribute on the Form element, it shows up as an attribute
on the rendered html form.  This is because UIBean.getStandardAttributes() only includes "String"
and list type attributes, but includeContext is a boolean.  
> {code}
> <@s.form action="myAction" includeContext=false>
> {code}
> Can either fix by making includeContext a String (like validate is in Form), or having
UIBean.getStandardAttributes() correctly detect it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message