Hello,
     In my application all my screens extends from SecureScreen where i have
overriden isAuthorized(Rundata data) method. On this returning false i set
the template to

data.getTemplateInfo().setScreenTemplate("Login.vm").

In Login.java(in Screens directory) some db specific operations has to be
done or i need to load some values on showing the Login.vm file. What
happens is when the isAuthorized() returns false, the vm is displayed but
the Login.java file in screens directory doesnt get executed.

Is isAuthorized(rundata data) method special so that it doesnt execute the
java file corresponding to vm file in screens directory??

this is my tr.prop file (for templates of velocity service)...

template.homepage=/Login.vm
default.doctype=Html40Transitional
action.sessionvalidator=sessionvalidator.TemplateSessionValidator
session.timeout=18000
action.accesscontroller=AccessController



--
To unsubscribe, e-mail:   <mailto:turbine-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:turbine-user-help@;jakarta.apache.org>

Reply via email to