dgraham 2003/12/07 11:11:10 Modified: src/share/org/apache/struts/actions LookupDispatchAction.java Log: Use "method" instead of "action" in javadoc example for PR# 23348. Revision Changes Path 1.19 +7 -8 jakarta-struts/src/share/org/apache/struts/actions/LookupDispatchAction.java Index: LookupDispatchAction.java =================================================================== RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/actions/LookupDispatchAction.java,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- LookupDispatchAction.java 27 Nov 2003 19:20:31 -0000 1.18 +++ LookupDispatchAction.java 7 Dec 2003 19:11:10 -0000 1.19 @@ -80,7 +80,6 @@ /** * <p> - * * An abstract <strong>Action</strong> that dispatches to the subclass mapped * <code>execute</code> method. This is useful in * cases where an HTML form has multiple submit buttons with the same name. The @@ -92,10 +91,10 @@ * name="MyForm" * scope="request" * input="/test.jsp" - * parameter="action"/> + * parameter="method"/> * </pre> <p> * - * which will use the value of the request parameter named "action" to locate + * which will use the value of the request parameter named "method" to locate * the corresponding key in ApplicationResources. For example, you might have * the following ApplicationResources.properties:</p> <pre> * button.add=Add Record @@ -104,10 +103,10 @@ * * And your JSP would have the following format for submit buttons:</p> <pre> * <html:form action="/test"> - * <html:submit property="action"> + * <html:submit property="method"> * <bean:message key="button.add"/> * </html:submit> - * <html:submit property="action"> + * <html:submit property="method"> * <bean:message key="button.delete"/> * </html:submit> * </html:form>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]