#12: Make stylesheet and javascript requirements dynamic ---------------------------------------------------------+------------------ Reporter: sakhmechet | Owner: sakhmechet Type: enhancement | Status: new Priority: high | Milestone: 0.1 Component: weblocks | Version: pre-0.1 Keywords: harcoded stylesheet javascript requirements | ---------------------------------------------------------+------------------ Currently stylesheet and javascript requirements are hardcoded in the 'with-page' function. The only way for users to override this is to redefine the function. We need to make these requirements configurable, and widgets should be able to register files that they require. Additionally, some form of dependecy graph or priority system needs to be implemented (order matters since some stylesheets override others).
#12: Make stylesheet and javascript requirements dynamic --------------------------+------------------------------------------------- Reporter: sakhmechet | Owner: sakhmechet Type: enhancement | Status: closed Priority: high | Milestone: 0.1 Component: weblocks | Version: pre-0.1 Resolution: fixed | Keywords: harcoded stylesheet javascript requirements --------------------------+------------------------------------------------- Changes (by sakhmechet):
* resolution: => fixed * status: new => closed
Comment:
Fixed. When each widget is rendered, weblocks determines the resources it depends on via 'widget-public-dependencies' (by default widget's name is used to find a common sense 'magick' location of the resources). Additionally, application-wide resources can be passed via *application- public-dependencies*.
cl-weblocks-ticket@common-lisp.net