On Nov 8, 2007 4:46 PM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > To be honest, these kind of page-to-page interactions may be better > implemented as ordinary Java methods, rather than events:
Right, so the events we are talking about are external, right? This seems to put a lot of power inside Tapestry5 to let us use in other forms like 'new age' web services :) > Page A injects page B and invokes arbitrary method m() on it. This > can be made cleaner by defining method m() in an interface, perhaps > ... hm, then you have to use @InjectPage("pageb") which is less > refactoring-safe than if you match PageB by type. Here Guice and all the dust around has shown the way to go... don't you? -- Massimo http://meridio.blogspot.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]