Hi Sean, Why don't you go ahead and open a ticket for this (component: javascript). I think you're right that this is a mess, and a ticket will give us a place to work through a better solution.
Steve On Thu, Aug 25, 2011 at 1:45 PM, Sean Upton <[email protected]> wrote: > Okay, so I am trying to figure my way through this one with my sanity > intact: > > I am writing add-ons that depend on scripts that plone.app.jquerytools > ships but disables by default (e.g. dateinput, validator). So I > figure, not a problem -- my jsregistry.xml enables and orders them. > But installing ANY other add-on that depends on plone.app.jquerytools > (like Dexterity or anything depending on it -- half the known universe > soon) stomps on my registry settings and restores the default. > > It seems I (and any other product author) who wants to safely enable > these jquery tools plugins will be forced to bundle our own copies to > ensure they are always enabled in the respective resource registry, > which yields the possibility of multiple products installing > (duplicate or incompatible) versions of the same script. So we trade > one problem for another. > > This seems an intractable problem for every possible type of add-on > (including site-specific policy products). It effectively means you > have to re-install the js registry profile bits for your specific > product in portal_setup manually after the installation of almost any > other add-on. > > Ideas? > > Sean > _______________________________________________ > Product-Developers mailing list > [email protected] > https://lists.plone.org/mailman/listinfo/plone-product-developers >
_______________________________________________ Product-Developers mailing list [email protected] https://lists.plone.org/mailman/listinfo/plone-product-developers
