Multi part requests to friendly URL's do not bind parameters to properties or
handlers.
---------------------------------------------------------------------------------------
Key: STS-439
URL: http://mc4j.org/jira/browse/STS-439
Project: Stripes
Issue Type: Bug
Affects Versions: Release 1.5
Environment: Built off trunk, rev 634
Reporter: Joseph Chan
Assigned To: Tim Fennell
A form posts to an Action Bean that is bound to a friendly URL. The form
specifies parameters through the use of nested <stripes:param> tags. These
parameters are not being bound to corresponding public properties of the Action
Bean and the HandlerResolution lifecycle stage does not identify the correct
handler based on the event parameter.
e.g:
In the following example, I would expect the ActionBean property 'profileName'
to be set to 'john_doe' and the handler method 'edit' to be invoked however
neither of these occur.
JSP:
<s:form action="/action/profiles">
<s:param name="profileName" value="john_doe"/>
<s:param name="$event" value="edit"/>
</s:form>
ActionBean binding:
@UrlBinding("/action/profiles/{profileName}/{$event}")
--
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