Thanks Jason. I got your hint ;-). I downloaded tdk-1.1a10 and mysql,

after lots of frustrations, I managed to get the "login" sample working. 

For newbies like me, you need to change the line
template.homepage=/Index.vm to
template.homepage=/Login.vm
in the TR.properties. Otherwise it can be confusing, at least to me.

> 
> Your best bet to get something working is to use a generated
> app produced by the scripts that come with the TDK. You
> will then have a fully working example. There's a couple
> problems with what you have above:
> 
> 1) The use of ECS is deprecated inside Screen classes, it
>    is recommended that you use Velocity. So your Screen classes
>    should extend VelocityScreen. The default sample app in
>    the TDK will produce a Screen based on VelocityScreen
>    so you can see this in action.
> 
> 2) If you actually want to look at a particular screen then
>    the URL for your screen above would be:
> 
>    http://localhost:8080/test/servlet/test/template/HelloWorld
>    
>    Turbine internally translates the /template/ into
>    PATH_TO_TEMPLATES/screens
> 
> If you generate a sample app with the TDK then you can
> see a working example and this is the recommended way
> to go. Just use the newapp.[sh|bat] script provided:
> 
> ../newapp.sh
> or
> newapp.bat
> 
> And it will produced the sample application.
> 
> jvz.
> 
> 
> 
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]



------------------------------------------------------------
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