I wouldn't minding being able to override any module mapping. Your (Pierce's) example is very reasonable. A more general example might be a CMS module that you want to deploy for several clients. It includes a complete working site but needs to be tweaked a bit for clients. Perhaps there is a Login component that you want to extend without having to recreate all the pages that include the component.
As an aside: For your extended pages you can add a link transformer so that links pointing to the old page are redirected to the extended page... Josh On Mon, Jun 14, 2010 at 10:44 AM, Pierce Wetter <pie...@paceap.com> wrote: > > On Jun 12, 2010, at 9:54 PM, Josh Canfield wrote: > >>> But I think there should be a mechanism for overriding core components, >>> even if you had to do each one explicitly. >> >> Thiago is right. Currently the way this works is an implementation >> detail and not a documented feature so you end up setting yourself up >> for much pain if it stops working that way in the future... Maybe we >> can document the order libraries are loaded, or something to make this >> a supported feature.... > > I was thinking more along the lines of some method where you would > contribute an explicit override: > > > overrideCoreComponent("GridPager", "com.mydomain.components.GridPager"); > > Since core is already "special" it seems like it makes sense to have the > ability to do specific overrides. Sure its not as general as being able to > say "everything in this package is also in core", but I think overly general > is dangerous for core anyways. > > Just my $.02. > > Pierce > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- -- http://www.bodylabgym.com - a private, by appointment only, one-on-one health and fitness facility. -- http://www.ectransition.com - Quality Electronic Cigarettes at a reasonable price! -- TheDailyTube.com. Sign up and get the best new videos on the internet delivered fresh to your inbox. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org