You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "James Holmes (JIRA)" <ji...@apache.org> on 2007/07/10 21:19:27 UTC

[jira] Created: (WW-2037) add a clearErrors() and clearMessages() method to ActionSupport

add a clearErrors() and clearMessages() method to ActionSupport
---------------------------------------------------------------

                 Key: WW-2037
                 URL: https://issues.apache.org/struts/browse/WW-2037
             Project: Struts 2
          Issue Type: Improvement
          Components: API
    Affects Versions: 2.1.0
            Reporter: James Holmes
            Priority: Minor


Currently ActionSupport has a clearErrorsAndMessages() method. I think it will be useful to be able to clear errors and/or messages individually. It's not always the case that you want to clear both. See the message thread below:

http://www.nabble.com/-s2--no-result-defined-error-after-failed-validation---can-someone-help--tf4030311.html

I believe the user wants to be able to clear errors and not necessarily messages. I have found a need for this myself recently and would like to implement or see it implemented by someone else.

I would commit the code myself to do this, but it requires an update to the XWork code. Not sure what the process is to get XWork code updated.

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


[jira] Resolved: (WW-2037) add a clearErrors() and clearMessages() method to ActionSupport

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

James Holmes resolved WW-2037.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.0

This has been committed in XWork and will be part of the XWork 2.1 release.

See:
http://jira.opensymphony.com/browse/XW-541

> add a clearErrors() and clearMessages() method to ActionSupport
> ---------------------------------------------------------------
>
>                 Key: WW-2037
>                 URL: https://issues.apache.org/struts/browse/WW-2037
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: API
>    Affects Versions: 2.1.0
>            Reporter: James Holmes
>            Assignee: James Holmes
>            Priority: Minor
>             Fix For: 2.1.0
>
>
> Currently ActionSupport has a clearErrorsAndMessages() method. I think it will be useful to be able to clear errors and/or messages individually. It's not always the case that you want to clear both. See the message thread below:
> http://www.nabble.com/-s2--no-result-defined-error-after-failed-validation---can-someone-help--tf4030311.html
> I believe the user wants to be able to clear errors and not necessarily messages. I have found a need for this myself recently and would like to implement or see it implemented by someone else.
> I would commit the code myself to do this, but it requires an update to the XWork code. Not sure what the process is to get XWork code updated.

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


[jira] Assigned: (WW-2037) add a clearErrors() and clearMessages() method to ActionSupport

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

James Holmes reassigned WW-2037:
--------------------------------

    Assignee: James Holmes

> add a clearErrors() and clearMessages() method to ActionSupport
> ---------------------------------------------------------------
>
>                 Key: WW-2037
>                 URL: https://issues.apache.org/struts/browse/WW-2037
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: API
>    Affects Versions: 2.1.0
>            Reporter: James Holmes
>            Assignee: James Holmes
>            Priority: Minor
>
> Currently ActionSupport has a clearErrorsAndMessages() method. I think it will be useful to be able to clear errors and/or messages individually. It's not always the case that you want to clear both. See the message thread below:
> http://www.nabble.com/-s2--no-result-defined-error-after-failed-validation---can-someone-help--tf4030311.html
> I believe the user wants to be able to clear errors and not necessarily messages. I have found a need for this myself recently and would like to implement or see it implemented by someone else.
> I would commit the code myself to do this, but it requires an update to the XWork code. Not sure what the process is to get XWork code updated.

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


[jira] Assigned: (WW-2037) add a clearErrors() and clearMessages() method to ActionSupport

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

James Holmes reassigned WW-2037:
--------------------------------

    Assignee:     (was: James Holmes)

Just realized that ActionSupport is part of XWork and not Struts 2 and I can't commit changes to XWork so I'm unassigning this to myself.

> add a clearErrors() and clearMessages() method to ActionSupport
> ---------------------------------------------------------------
>
>                 Key: WW-2037
>                 URL: https://issues.apache.org/struts/browse/WW-2037
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: API
>    Affects Versions: 2.1.0
>            Reporter: James Holmes
>            Priority: Minor
>
> Currently ActionSupport has a clearErrorsAndMessages() method. I think it will be useful to be able to clear errors and/or messages individually. It's not always the case that you want to clear both. See the message thread below:
> http://www.nabble.com/-s2--no-result-defined-error-after-failed-validation---can-someone-help--tf4030311.html
> I believe the user wants to be able to clear errors and not necessarily messages. I have found a need for this myself recently and would like to implement or see it implemented by someone else.
> I would commit the code myself to do this, but it requires an update to the XWork code. Not sure what the process is to get XWork code updated.

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


[jira] Assigned: (WW-2037) add a clearErrors() and clearMessages() method to ActionSupport

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

James Holmes reassigned WW-2037:
--------------------------------

    Assignee: James Holmes

> add a clearErrors() and clearMessages() method to ActionSupport
> ---------------------------------------------------------------
>
>                 Key: WW-2037
>                 URL: https://issues.apache.org/struts/browse/WW-2037
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: API
>    Affects Versions: 2.1.0
>            Reporter: James Holmes
>            Assignee: James Holmes
>            Priority: Minor
>
> Currently ActionSupport has a clearErrorsAndMessages() method. I think it will be useful to be able to clear errors and/or messages individually. It's not always the case that you want to clear both. See the message thread below:
> http://www.nabble.com/-s2--no-result-defined-error-after-failed-validation---can-someone-help--tf4030311.html
> I believe the user wants to be able to clear errors and not necessarily messages. I have found a need for this myself recently and would like to implement or see it implemented by someone else.
> I would commit the code myself to do this, but it requires an update to the XWork code. Not sure what the process is to get XWork code updated.

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