on 11/20/2000 10:15 AM, "Diethelm Guallar, Gonzalo"
<[EMAIL PROTECTED]> wrote:

>> Also, it would probably be better if your FORM tag said something to
>> the effect of:
>> 
>> <FORM method="POST" action="$link.setPage("index.vm")"> instead of
>> specifying the complete path.  Then, add the 'action' parameter as a
>> hidden element:
>> <INPUT type="hidden" name="action" value="LoginUser">
> 
> Just out of curiosity, why would you want to use a hidden element
> with the action, instead of specifying it with setAction()?

Some people like cleaner URI's. Also, after the submit, someone could
bookmark the page. Therefore, you want to make sure that when the go back,
that the LoginUser action deals with the possibility of not having any
information passed to it (because the rest would have been in <input
type="text"> fields and the method was POST).

For Scarab, I'm going to have to copy Bugzilla's system of doing things and
use entirely GET method with nothing hidden at all in the URI's because
there are people who like the ability to edit the URI on the "command
line"...

-jon

-- 
twice of not very much is still a lot more than not very much



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to