That should be how it works and a blank page is really odd. I'll check to make sure I have an integration test that proves it works.
On 3/29/07, Sven Homburg <[EMAIL PROTECTED]> wrote:
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]
-- Howard M. Lewis Ship TWD Consulting, Inc. Independent J2EE / Open-Source Java Consultant Creator and PMC Chair, Apache Tapestry Creator, Apache HiveMind Professional Tapestry training, mentoring, support and project work. http://howardlewisship.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]