It's not just related to that one issue - where a template is not
already set. In TDK 1.1b1, I have the following on login.vm:
<FORM method="POST"
action="$link.setPage("index.vm").setAction("LoginUser")">
In LoginUser.java, I have the following:
catch ( TurbineSecurityException e )
{
System.out.println(e.getMessage());
data.setMessage(TurbineResources.getString("login.error"));
// Retrieve an anonymous user.
data.setUser (TurbineSecurity.getAnonymousUser());
setTemplate (data, TurbineResources.getString("template.login",
"login.vm"));
}
When I put in a bad userID or password, I STILL get the index.vm
template instead of login.vm.
So it wasn't just related to not setting a template to begin with.
Any other ideas?
Will Stranathan
Diethelm Guallar, Gonzalo wrote:
> I'm using code from CVS as of Nov 29, around 6pm
> (18 hours old). Risking the wrath from the powers
> that be, I'm not using the TDK, since I have an
> app already in development for a couple of months,
> and all I do is a cvs update every few days.
>
> This thing runs on WinNT 4.0, Sun JDK 1.3, Resin
> 1.2. The same symptom shows up with Tomcat 3.2.
>
> I would appreciate any hints regarding where to
> start debugging and looking for this problem.
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]