Why do you need to build the url? What Tapestry version are you using?

Ivano Pagano.

Gerald Schöffel wrote:

Hi, it is me again :)

Again with some 'service trouble' ...

An IExternalPage is called from the browser.

in pageValidate (defined in MyBasePage only, all other pages are extending this 
page), I notice, that a login is required an therefor I redirect to the Login 
page:

throw new PageRedirectException(getLoginPage()) ;

-> now the pageValidate of Login.page is called and

logger.info("service:"+getRequestCycle().getService().getName()) ;

writes 'external' into the log (or an exception is thrown stating Login.page 
did not implement IExternalPage :) ).

In my understanding this should be 'page' ? Or is PageRedirectException(login) 
internally forwarding to the new page without refreshing the requestCycle() 
(also tried event.getRequestCycle(), getPage().getRequestCycle()).

I need the actual service the login-page is rendered with because I want to 
build a url using the services getLink() method.


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

Reply via email to