[ 
http://www.stripesframework.org/jira/browse/STS-507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11245#action_11245
 ] 

Qian Qiao commented on STS-507:
-------------------------------

It is indeed fixed in trunk. I should've tried it before I file the bug.

Thanks a lot Ben.

> StripesRuntimeException: Multiple event parameters are present with clean URL
> -----------------------------------------------------------------------------
>
>                 Key: STS-507
>                 URL: http://www.stripesframework.org/jira/browse/STS-507
>             Project: Stripes
>          Issue Type: Bug
>          Components: ActionBean Dispatching
>    Affects Versions: Release 1.5
>            Reporter: Qian Qiao
>            Assignee: Ben Gunter
>
> Here is a code snippet that will trigger the issue:
> foo.bar.SomeActionBean.java:
> @UrlBinding("/foo/bar/sa/{$event}")
> public class SomeActionBean implements ActionBean {
>   @DefaultHandler
>   public Resolution showAForm() {
>     return new forwardResolution("form.jsp");
>   }
>   @HandlesEvent("form_submit")
>   public Resolution processForm() {
>     ...
>   }
> }
> form.jsp:
> <s:form beanclass="foo.bar.SomeActionBean">
>   <s:submit name="form_submit"/>
> </s:form>
> HTML generated by the JSP:
> <form action="/foo/bar/sa/showAForm">
>   <input type="submit" name="form_submit">
> </form>
> Note the action portion, the showAForm part shouldn't be present

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to