You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by "Scott Wilson (JIRA)" <ji...@apache.org> on 2013/03/20 16:19:16 UTC

[jira] [Created] (WOOKIE-408) Add a "default feature" for injecting scripts and CSS

Scott Wilson created WOOKIE-408:
-----------------------------------

             Summary: Add a "default feature" for injecting scripts and CSS
                 Key: WOOKIE-408
                 URL: https://issues.apache.org/jira/browse/WOOKIE-408
             Project: Wookie
          Issue Type: Improvement
          Components: Feature Management, Server
            Reporter: Scott Wilson


Currently, scripts and CSS are injected into widgets on request using Features; however, the set of scripts injected by default is coded into a number of strings within the StartPageProcessor class.

This makes it more difficult to modify the default scripts injected.

I suggest to remedy this we make a "default" feature that specifies the core scripts. You can then modify /features/default/feature.xml to add whatever scripts you like as part of the default setup for new widgets. 

For example, you could add a live debugging js during testing, or a HTML5 shim library, or some monitoring tools.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira