DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=32358>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=32358 Summary: Having one LookupDispatchAction mapping two Submit buttons with different actionKeys to two different Methods having equal Discription in Application.resources - always the first key ist used Product: Struts Version: 1.1RC2 Platform: PC OS/Version: Windows 95 Status: NEW Severity: normal Priority: P5 Component: Controller AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] $Id: README,v 1.16 2002/03/21 02:57:24 craigmcc Exp $ Having one LookupDispatchAction mapping two Submit buttons with different actionKeys to two different Methods having equal Description in Application.resources - always the first key ist used <<< struts_conf.xml>>> <action name="DummyForm" path="/backwardActionType" parameter="action" type="de.i2dm.action.BackwardDispatchAction" > <forward name="SuccessBasic" path="/page1.jsp" /> <forward name="SuccessEdit" path="/page2.jsp" /> </action> <<<SUBMIT on different pages>>> <html:form action="backwardActionType" > <html:submit property="action"> <bean:message key="button.one"/> </html:submit> </html:form> AND <html:form action="backwardActionType" > <html:submit property="action"> <bean:message key="button.two"/> </html:submit> </html:form> <<<ApplicationResource>>> button.one=back button.two=back <<<LookupDispatchAction>>> map.put("button.one","proc_one"); map.put("button.two","proc_two"); Submit takes alway button.one because button.one and button.two have the same desciption in Application.resources and button.one stands first in the list. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
