> Has anyone done it with a jsp template?
Yes, I did that for a client a while back, with 1.3a1, except I put the
logon in a portlet, not in a navigation.
To put a logon form in the jsp top navigation:
Edit the file /WEB-INF/templates/jsp/navigations/html/en/top_default.jsp
or /WEB-INF/templates/jsp/navigations/html/de/top_default.jsp (for
german)
Insert the form below into top_default.jsp, and then convert all the
velocity variables to jsp tags:
<form method="POST" action="$link"
enctype="application/x-www-form-urlencoded">
<input name="$jlink.ActionKey" type="hidden"
value="$config.getString("action.login")" />
<table border="0" cellspacing="2" cellpadding="1">
<tr>
<td><small>Username:</small></td>
<td><small><input size="10"
value="$!data.Parameters.getString("username")" name="username"
maxlength="25" type="text" /></small></td>
</tr>
<tr>
<td><small>Password:</small></td>
<td><small><input size="10" value="" name="password" maxlength="25"
type="password" /></small></td>
</tr>
<tr>
<td colspan="2" align="center">
<small><input name="submit" type="submit" value="Login" /></small>
</td>
</tr>
</table>
</form>
-------------------------------------
David Sean Taylor
[EMAIL PROTECTED]
-------------------------------------
http://jakarta.apache.org/jetspeed
-------------------------------------
> -----Original Message-----
> From: Gerd Klevesaat [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 26, 2001 8:20 AM
> To: '[EMAIL PROTECTED]'
> Subject: AW: Login
>
>
> Thanks for your answer David,
>
> that's true for vm-based templates.
> I use jsp. The default jsp templates still use login as a screen
> (my last cvs download was on Wednesday).
>
> Has anyone done it with a jsp template?
>
>
> -----Urspr�ngliche Nachricht-----
> Von: David Sean Taylor [mailto:[EMAIL PROTECTED]]
> Gesendet am: Dienstag, 24. Juli 2001 18:00
> An: [EMAIL PROTECTED]
> Betreff: RE: Login
>
> The current cvs does exactly that.
>
> You can see it at:
>
> http://www.bluesunrise.com/jetspeed
>
> or checkout the latest jetspeed from cvs
>
> > -----Original Message-----
> > From: Gerd Klevesaat [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, July 24, 2001 3:46 AM
> > To: [EMAIL PROTECTED]
> > Subject: Login
> >
> >
> > Hi,
> >
> > I would like to place the login form into the header jsp template.
> > How do I have to do this? What do I have to declare as form action?
> >
> > Thanks for any help.
> >
> > Bye
> > Gerd
> >
> >
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]