> If you map your PlatformModule to "core" then your components and
> pages can be accessed without a prefix. Your page classes would live
> in x.y.platform.pages.
> 
> In PlatformModule.java
> public static void
> contributeComponentClassResolver(Configuration<LibraryMapping>
> configuration) {
>        configuration.add(new LibraryMapping("core", "x.y.platform"));
> }
> 
> Your cust/support/eng projects would just include the PlatformModule
> and by default would all be the same.
> 
> 
> The key is mapping your module to "core" which is special. This won't
> work the same for other modules.

  Ah, I never would have gotten that bit, thanks. 

  Another gotcha:

@InjectPage
private Index index;

 Has to change to:


@InjectPage("Index")
private Object index;

Pierce


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to