Author: wsmoak Date: Sun May 7 00:20:09 2006 New Revision: 404737 URL: http://svn.apache.org/viewcvs?rev=404737&view=rev Log: Enable 'postback forms' for Struts EL by making <html-el:form>'s 'action' attribute optional. STR-2793
Modified: struts/action/trunk/el/src/main/resources/META-INF/tld/struts-html-el.tld Modified: struts/action/trunk/el/src/main/resources/META-INF/tld/struts-html-el.tld URL: http://svn.apache.org/viewcvs/struts/action/trunk/el/src/main/resources/META-INF/tld/struts-html-el.tld?rev=404737&r1=404736&r2=404737&view=diff ============================================================================== --- struts/action/trunk/el/src/main/resources/META-INF/tld/struts-html-el.tld (original) +++ struts/action/trunk/el/src/main/resources/META-INF/tld/struts-html-el.tld Sun May 7 00:20:09 2006 @@ -1647,14 +1647,16 @@ </description> <attribute> <name>action</name> - <required>true</required> + <required>false</required> <rtexprvalue>true</rtexprvalue> <description> <![CDATA[ <p>The URL to which this form will be submitted. This value is also used to select the ActionMapping we are assumed to be processing, from which we can identify - the appropriate form bean and scope.</p> + the appropriate form bean and scope. If a value is not + provided, the original URI (servletPath) for the request is + used.</p> <p>If you are using extension mapping for selecting the controller servlet, this value should be equal to the <code>path</code> attribute of the corresponding