You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Wes Wannemacher (JIRA)" <ji...@apache.org> on 2008/02/09 22:37:39 UTC

[jira] Created: (WW-2477) tags declaring dynamic-attributes=true but not implementing DynamicAttributes

tags declaring dynamic-attributes=true but not implementing DynamicAttributes
-----------------------------------------------------------------------------

                 Key: WW-2477
                 URL: https://issues.apache.org/struts/browse/WW-2477
             Project: Struts 2
          Issue Type: Bug
          Components: Other
    Affects Versions: 2.1.x
         Environment: any
            Reporter: Wes Wannemacher
         Attachments: first_commit.patch

When a tag is declared having <dynamic-attributes>true</dynamic-attributes>, the tag-class must implement the javax.servlet.jsp.tagext.DynamicAttributes interface. If the tag's class does not implement this interface, then the application server will throw a 500 any time a page is accessed that contains the "unsafe" tag.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (WW-2477) tags declaring dynamic-attributes=true but not implementing DynamicAttributes

Posted by "Wes Wannemacher (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wes Wannemacher reassigned WW-2477:
-----------------------------------

    Assignee: Wes Wannemacher

> tags declaring dynamic-attributes=true but not implementing DynamicAttributes
> -----------------------------------------------------------------------------
>
>                 Key: WW-2477
>                 URL: https://issues.apache.org/struts/browse/WW-2477
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Other
>    Affects Versions: 2.1.x
>         Environment: any
>            Reporter: Wes Wannemacher
>            Assignee: Wes Wannemacher
>         Attachments: first_commit.patch
>
>
> When a tag is declared having <dynamic-attributes>true</dynamic-attributes>, the tag-class must implement the javax.servlet.jsp.tagext.DynamicAttributes interface. If the tag's class does not implement this interface, then the application server will throw a 500 any time a page is accessed that contains the "unsafe" tag.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (WW-2477) tags declaring dynamic-attributes=true but not implementing DynamicAttributes

Posted by "Wes Wannemacher (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wes Wannemacher resolved WW-2477.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.1

Tags updated, updated test added.

> tags declaring dynamic-attributes=true but not implementing DynamicAttributes
> -----------------------------------------------------------------------------
>
>                 Key: WW-2477
>                 URL: https://issues.apache.org/struts/browse/WW-2477
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Other
>    Affects Versions: 2.1.x
>         Environment: any
>            Reporter: Wes Wannemacher
>            Assignee: Wes Wannemacher
>             Fix For: 2.1.1
>
>         Attachments: first_commit.patch
>
>
> When a tag is declared having <dynamic-attributes>true</dynamic-attributes>, the tag-class must implement the javax.servlet.jsp.tagext.DynamicAttributes interface. If the tag's class does not implement this interface, then the application server will throw a 500 any time a page is accessed that contains the "unsafe" tag.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WW-2477) tags declaring dynamic-attributes=true but not implementing DynamicAttributes

Posted by "Wes Wannemacher (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wes Wannemacher updated WW-2477:
--------------------------------

    Attachment: first_commit.patch

I will try to commit this myself.

> tags declaring dynamic-attributes=true but not implementing DynamicAttributes
> -----------------------------------------------------------------------------
>
>                 Key: WW-2477
>                 URL: https://issues.apache.org/struts/browse/WW-2477
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Other
>    Affects Versions: 2.1.x
>         Environment: any
>            Reporter: Wes Wannemacher
>         Attachments: first_commit.patch
>
>
> When a tag is declared having <dynamic-attributes>true</dynamic-attributes>, the tag-class must implement the javax.servlet.jsp.tagext.DynamicAttributes interface. If the tag's class does not implement this interface, then the application server will throw a 500 any time a page is accessed that contains the "unsafe" tag.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.