struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (WW-4165) Form attribute "includeContext" is being inserted as a dynamicAttribute
Date Mon, 22 Sep 2014 07:01:34 GMT


ASF subversion and git services commented on WW-4165:

Commit 4f4f5260029f2074de6c925ae97c5cd6a6bc2a55 in struts's branch refs/heads/develop from
[;h=4f4f526 ]

WW-4165 Checks if dynamic attributes don't overlap tag attributes
This can be done only in a component as when dynamic attributes are set
by a container on the tag, the component wasn't instantiated yet - it
will be created in doStartTag method which is called after all
attributes were set

> Form attribute "includeContext" is being inserted as a dynamicAttribute
> -----------------------------------------------------------------------
>                 Key: WW-4165
>                 URL:
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Other
>    Affects Versions:
>         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

View raw message