Re: Overriding HomeService (this works)

2006-11-05 Thread Kevin Whitley
Thanks for the help. Just to complete the loop for anybody who is interested in doing something similar... This configuration worked for me (added to my hivemodule.xml): model="singleton"> value="infrastructure:responseRenderer" /> va

Re: Overriding HomeService

2006-11-03 Thread James Carman
You might have to inject the same things that the regular home service has injected. Take a look at the HiveDoc for HomeService. On 11/3/06, Kevin Whitley <[EMAIL PROTECTED]> wrote: Thanks - that gets the service instantiated. However, I discover that my service doesn't get initialized the sam

Re: Overriding HomeService

2006-11-03 Thread Kevin Whitley
Thanks - that gets the service instantiated. However, I discover that my service doesn't get initialized the same way that the regular HomeService does. Without my implementation xml in place the standard HomeService gets initialized (calls to setResponseRenderer() and setPageName()) when

Re: Overriding HomeService

2006-11-03 Thread James Carman
Try this: On 11/3/06, Kevin Whitley <[EMAIL PROTECTED]> wrote: In Tapestry 4.0 I'd like to override the HomeService (varying the home page depending on the user - unfortunately not as simple as merely changing the home page name). Javadoc comments in HomeService make it sound like th