[Checkins] SVN: plone.z3cform/trunk/ Use view action instead of request URL; the default view action returns exactly this same URL.
Malthe Borch
mborch at gmail.com
Fri Jan 13 07:21:47 UTC 2012
Log message for revision 124036:
Use view action instead of request URL; the default view action returns exactly this same URL.
Changed:
U plone.z3cform/trunk/docs/HISTORY.txt
U plone.z3cform/trunk/plone/z3cform/templates/macros.pt
-=-
Modified: plone.z3cform/trunk/docs/HISTORY.txt
===================================================================
--- plone.z3cform/trunk/docs/HISTORY.txt 2012-01-11 23:31:02 UTC (rev 124035)
+++ plone.z3cform/trunk/docs/HISTORY.txt 2012-01-13 07:21:46 UTC (rev 124036)
@@ -4,6 +4,8 @@
0.7.9 - unreleased
------------------
+* Use form action URL as given by the view, instead of implementing it
+ in the template as a call to the ``getURL`` method of the request.
0.7.8 - 2011-09-24
------------------
Modified: plone.z3cform/trunk/plone/z3cform/templates/macros.pt
===================================================================
--- plone.z3cform/trunk/plone/z3cform/templates/macros.pt 2012-01-11 23:31:02 UTC (rev 124035)
+++ plone.z3cform/trunk/plone/z3cform/templates/macros.pt 2012-01-13 07:21:46 UTC (rev 124036)
@@ -28,7 +28,7 @@
</div>
<form action="." method="post"
- tal:attributes="action request/getURL; enctype view/enctype">
+ tal:attributes="action view/action; enctype view/enctype">
<metal:block define-slot="formtop" />
More information about the checkins
mailing list