[ http://mc4j.org/jira/browse/STS-424?page=all ]

Kai Grabfelder reopened STS-424:
--------------------------------

             
Hi Ben, 

I tried it an unfortunately it does not seem to work. I have:

<stripes:form beanclass="de.kinokai.web.stars.EditStarActionBean">
 <stripes:param name="id" value="${actionBean.id}"></stripes:param>
[...]
</stripes:form>
which renders to
<form enctype="multipart/form-data" action="/stars/edit/11181/index.htm" 
method="post">
which is correct as this is exactly the same url that was used for displaying 
the page.

But after submit I'm getting an stack overflow error:

2007-11-19 10:04:38.08::WARN:  /stars/edit/11181/index.htm
java.lang.StackOverflowError
        at 
net.sourceforge.stripes.controller.multipart.CommonsMultipartWrapper.getParameterNames(CommonsMultipartWrapper.java:116)
        at 
net.sourceforge.stripes.controller.StripesRequestWrapper.getParameterMap(StripesRequestWrapper.java:190)
        at 
net.sourceforge.stripes.controller.StripesRequestWrapper.getParameterValues(StripesRequestWrapper.java:155)
        at 
net.sourceforge.stripes.controller.StripesRequestWrapper.getParameterMap(StripesRequestWrapper.java:194)
        at 
net.sourceforge.stripes.controller.StripesRequestWrapper.getParameterValues(StripesRequestWrapper.java:155)
        at 
net.sourceforge.stripes.controller.StripesRequestWrapper.getParameterMap(StripesRequestWrapper.java:194)
        at 
net.sourceforge.stripes.controller.StripesRequestWrapper.getParameterValues(StripesRequestWrapper.java:155)
        at 
net.sourceforge.stripes.controller.StripesRequestWrapper.getParameterMap(StripesRequestWrapper.java:194)
        at 
net.sourceforge.stripes.controller.StripesRequestWrapper.getParameterValues(StripesRequestWrapper.java:155)
        at 
net.sourceforge.stripes.controller.StripesRequestWrapper.getParameterMap(StripesRequestWrapper.java:194)


> stripes:form should allow stripes:param tags
> --------------------------------------------
>
>                 Key: STS-424
>                 URL: http://mc4j.org/jira/browse/STS-424
>             Project: Stripes
>          Issue Type: New Feature
>          Components: Tag Library
>    Affects Versions: Release 1.5
>            Reporter: Ben Gunter
>         Assigned To: Ben Gunter
>             Fix For: Release 1.5
>
>
> The stripes:form tag currently does not play well in many cases with clean 
> URLs. It should accept stripes:param tags and append parameters to the action 
> attribute of the form tag it outputs.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://mc4j.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 2005.
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