struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4165) Form attribute "includeContext" is being inserted as a dynamicAttribute
Date Tue, 29 Jul 2014 23:34:40 GMT

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

Hudson commented on WW-4165:
----------------------------

SUCCESS: Integrated in Struts-JDK6-develop #67 (See [https://builds.apache.org/job/Struts-JDK6-develop/67/])
WW-4165 Excludes attributes marked with @StrutsTagAttribute (lukaszlenart: rev 935cd33f7e5731e92f114062e7bfdd5a63139a59)
* core/src/test/java/org/apache/struts2/views/jsp/ui/RadioTest.java
* core/src/main/java/org/apache/struts2/views/jsp/ui/AbstractUITag.java
* core/src/test/java/org/apache/struts2/views/jsp/ui/ComponentTest.java
* core/src/main/java/org/apache/struts2/components/Component.java
* core/src/test/java/org/apache/struts2/views/jsp/ui/AnchorTest.java


> 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
>            Assignee: Lukasz Lenart
>              Labels: form, freemarker, tags
>             Fix For: 2.3.18
>
>
> 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 was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message