DM> Thanks for your quick reply, Walter.

Bartek, actually... Walter is my last name.

Some ideas:

DM> class Login extends VelocityScreen

make the class public ;))

DM> {

DM>   public Login()
DM>   {
DM>   }

remove the constructor - you don't need it

DM>   public void doBuildTemplate(RunData data, Context context)
DM>   {
DM>     context.put("haba", "This is a haba string");
DM>     System.out.println("Login.doBuildTemplate(RunData data, 
DM>                                                 Context context)");

off-topic: maybe some Log.debug("") would be more convenient... it logs to
turbine.log

DM>   }
DM> }

DM> In my TR.properties I have:
DM> .........
DM> module.packages=ro.level7.cms.modules,org.apache.turbine.flux.modules
DM> .........
DM> template.homepage=/Index.vm
DM> screen.homepage=
DM> template.login=/Login.vm
DM> screen.login=
    ^^^^^^^^^^^^
try to set here your screen class (fully qualified name) in order to
override default turbine log-in mechanism.

If it all doesn't help, try to rename the template and screen to an
unique name (last-chance idea). I am not sure if turbine matches packages in the 
module.packages list from
left to right (though it seems reasonable).

btw. do your really want to override the login or just have ANY
template running?

Bartek



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to