[Zope3-dev] re: ApproveJobs.pt, use of <form action="">
Steve Alexander
steve@cat-box.net
Sat, 23 Mar 2002 12:47:58 +0000
In this checkin, Guido wrote:
http://lists.zope.org/pipermail/zope-cvs/2002-March/000724.html
Log Message:
Get rid of the "cancel" button; a "back to summary" button is enough.
Also, action="" works just as well and doesn't show an annoying "/."
at the end of the URL.
=== Packages/JobBoardEx/ApproveJobs.pt 1.2 => 1.3 ===
<body>
- <form action="." method="post">
+ <form action="" method="post">
<table border=0>
<tr><th colspan=3>Action</th>
<th rowspan=2>Summary</th>
There was a discussion on zpoe3-dev a couple of weeks ago when some
folks at Zope Corp recalled problems with some browsers when using <form
action="">.
Here are the messages:
http://lists.zope.org/pipermail/zope3-dev/2002-March/000823.html
http://lists.zope.org/pipermail/zope3-dev/2002-March/000826.html
http://lists.zope.org/pipermail/zope3-dev/2002-March/000828.html
http://lists.zope.org/pipermail/zope3-dev/2002-March/000829.html
This was prompted by a checkin of mine where I used <form action="">.
I don't think this issue has been resolved yet, and I think that using
<form action=""> where possible throughout Zope3 would be a good idea,
provided it does not confuse browsers.
It is certainly neater than <form action="."> or <form action="./"> or
<form tal:attributes="action here/url;view">
--
Steve Alexander