Re: Making Home page implement IExternalPage problem.
activateExternalPage(...) won't be invoked unless the ExternalService is used to access the page. Which service is used for a certain url depends on which ServiceEncoders are in use. If you're using the standard "friendly urls" ServiceEncoders, the correct url would be: http://localhost:8080/your-site/external.svc?page=Home or with params: http://localhost:8080/your-site/external.svc?page=Home&sp=x&sp=y You can configure your ServiceEncoders any way you want so that all urls look just like you want them to. There's a good example on the bottom of this page: http://tapestry.apache.org/tapestry4.1/usersguide/friendly-urls.html Martin On Tue, 14 Nov 2006 00:07:03 +0100, Leo Sakhvoruk <[EMAIL PROTECTED]> wrote: Hi, I'm trying to make the Home page in my application implement the IExternalPage interface and am running into an issue where the public void activateExternalPage(Object[] parameters, IRequestCycle cycle) doesn't get called when the Home page loads. Is there a known limitation where the Home service doesn't allow for the page which uses to implement the IExternalPage interface? I'm using Tap-4.1.1-SNAPSHOT. Thanks, Leo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Making Home page implement IExternalPage problem.
Hi, I'm trying to make the Home page in my application implement the IExternalPage interface and am running into an issue where the public void activateExternalPage(Object[] parameters, IRequestCycle cycle) doesn't get called when the Home page loads. Is there a known limitation where the Home service doesn't allow for the page which uses to implement the IExternalPage interface? I'm using Tap-4.1.1-SNAPSHOT. Thanks, Leo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Making Home page implement IExternalPage problem.
Oops, Color me dorky, I wasn't calling the page using the external service ;) Good to go! Leo Sakhvoruk wrote: Hi, I'm trying to make the Home page in my application implement the IExternalPage interface and am running into an issue where the public void activateExternalPage(Object[] parameters, IRequestCycle cycle) doesn't get called when the Home page loads. Is there a known limitation where the Home service doesn't allow for the page which uses to implement the IExternalPage interface? I'm using Tap-4.1.1-SNAPSHOT. Thanks, Leo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]