struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (WW-3276) Convention plugin fails to resolve action/method correctly
Date Mon, 25 Mar 2013 19:33:15 GMT

     [ https://issues.apache.org/jira/browse/WW-3276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lukasz Lenart resolved WW-3276.
-------------------------------

    Resolution: Not A Problem

Thanks [~jeffblack360]!
                
> Convention plugin fails to resolve action/method correctly
> ----------------------------------------------------------
>
>                 Key: WW-3276
>                 URL: https://issues.apache.org/jira/browse/WW-3276
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Convention
>    Affects Versions: 2.1.6
>         Environment: Eclipse IDE on both Windows & OpenSuse 11.2 with Tomcat 2.0.18
>            Reporter: Roger Rached
>             Fix For: 3.0
>
>         Attachments: demo.war
>
>
> Each button has the URL - action:deletegroup?deleteId=x where x is the index of the list.
If action DemoDelete has the @Annotation @Action("deletegroup") then Struts throws a no action
fund. Change the @Annotation to @Action("deletegroup?deleteId=2") and press the appropriate
button then the delete method gets called. However, Struts then throws No result defined for
action com.blackbox.actions.DemoDelete and result sucess The error thrown doesn't seem to
relate to what can't be found. I've noticed that once I start using @Action notations, Struts
seems to get confused and the error messages are misleading. For example, remove entry-input.jsp
and Struts error message throws No result defined for action com.blackbox.actions.DemoDelete
and result input which is extemely confusing when what it seems to be looking for is entry-input.jsp.
> I have a demo.war file available if ou can tell me where to send/upload

--
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