You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/06/27 05:04:21 UTC
DO NOT REPLY [Bug 21134] New: -
LookupDispatchAction: Method map doesnt work for button labels with padded spaces
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21134>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21134
LookupDispatchAction: Method map doesnt work for button labels with padded spaces
Summary: LookupDispatchAction: Method map doesnt work for button
labels with padded spaces
Product: Struts
Version: 1.1 RC1
Platform: All
OS/Version: All
Status: NEW
Severity: Minor
Priority: Other
Component: Controller
AssignedTo: struts-dev@jakarta.apache.org
ReportedBy: apatil@vertex.co.in
For example,
In the JSP file.
<html:form......>
.....
<html:submit property="actionType">
<bean:message key="button.add" />
<html:submit>
<html:submit property="actionType">
<bean:message key="button.remove" />
<html:submit>
....
</html:form>
In Application Resources file.
# PLEASE NOTICE SPACES before and after Add/Remove.
button.add= Add
button.remove= Remove
During runtime, the error is as follows:
Request [/xxx/yyy] does not contain handler parameter named actionType
When the padded SPACES are removed from ApplicationResources.properties,
it works.
Please allow PADDED SPACES in ApplicationResources.properties.
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org