[ http://issues.apache.org/jira/browse/OFBIZ-29?page=all ]
Jacopo Cappellato updated OFBIZ-29:
-----------------------------------
Attachment: stylesheets.patch
> Small refactoring of the way stylesheets are defined in global screens.
> -----------------------------------------------------------------------
>
> Key: OFBIZ-29
> URL: http://issues.apache.org/jira/browse/OFBIZ-29
> Project: The Open For Business Project
> Type: Improvement
> Components: framework, workeffort
> Reporter: Jacopo Cappellato
> Priority: Minor
> Attachments: stylesheets.patch
>
> With the attached patch the global stylesheets definition is moved from the
> header.ftl template to the <actions/> section of the GlobalDecorator:
> the list that contains all the stylesheets is called
> "layoutSetting.styleSheets".
> If a component (or screen) needs to add a new stylesheet to this list it
> should simply add it to the "layoutSetting.styleSheets" list: in the patch,
> the WorkEffort's main-decorator adds the calendar's stylesheet in this way.
> The "layoutSetting.extraStyleSheet" (that was only used by the WorkEffort
> component) has been removed from the header-ftl template.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira