hi folks,

i want to check if the user is authentificated if he request a page.
i use the RequestEvent-Method "String onActivate()" looks like this:

String onActivate()
{
   VisitStateObject visitStateObject = getVisitStateObject();

   if (this instanceof IRestrictedPage)
   {
if (visitStateObject != null && visitStateObject.getUserEntity() == null)
           return "Login";
   }

   return null;
}

but if this method returns the pagename "Login" tapestry renders an empty screen to browser.
no exceptions, no warnings.

where is my "brain leak"

--
Mit freundlichem Gruss

homburg Softwaretechnik
S.Homburg
21220 Seevetal / GERMANY
Fon: +49-4105-669746
Fax: +49-4105-668947



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

Reply via email to