Will Stranathan wrote:
> Doh! I actually misspelled the parameter in my TR.props file. When I
> put in the incorrect eventSubmit_ information, I get the login screen
> with the message that it couldn't find that button - which is correct.
> And when I put in the incorrect user ID or password, I get the login
> screen, which is also correct. Not sure what the root of your problem
> might be. I've got the following in my login.vm:
>
> <FORM method="POST"
> action="$link.setPage("index.vm").setAction("LoginUser")">
>
> And it only goes to index.vm when the Action succeeds. I don't have an
> Index class to verify that the user is logged in.
>
> Hmmm....
my form tag looks equal ... i removed my Index.java ... here is my index.vm
$page.setTitle("This is the index title")
$page.setBgColor("#ffffff")
<font face="verdana,geneva,helvetica">
<h2>Welcome to the Turbine TDK!</h2>
</font>
This is your very first Turbine webapp using Velocity! Congratulations!
</p>
#if( $data.getMessage() )
<h2>Message: $data.getMessage()</h2>
#end
still the same problem ...
i get the following screen ...
------------------------------------------------------------------------------------
Welcome to the Turbine TDK!
This is your very first Turbine webapp using Velocity! Congratulations!
Message: Sorry your username or password is incorrect!
------------------------------------------------------------------------------------
the message is right ... but on the wrong screen ... :-<
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]