on 11/21/2000 11:55 AM, "Martin Poeschl" <[EMAIL PROTECTED]> wrote:
> so, what is the 'right' way??
> i'm writing a little login example (to be added to tdk)
>
> is my login form correct now???
>
> <form method="POST" action="$link.setPage("index.vm").setAction("LoginUser")">
> Username <input size="16" value="" name="username" maxlength="25" type="text">
>
> Password <input size="16" value="" name="password" maxlength="25"
> type="password">
> <input class="button" value="Login" name="submit" type="submit">
> </form>
there is no "right" way. all of them work transparently.
that is the beauty and dream of the ParameterParser class. :-) to treat
GET/POST/PATH_INFO as one big name/value pair.
however, if you are using the ActionEvent class, like you should be <smile>,
it would be:
<input class="button" value="Login" name="eventSubmit_doSubmit"
type="submit">
-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]