You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacopo Cappellato (JIRA)" <ji...@apache.org> on 2006/06/17 07:05:29 UTC

[jira] Created: (OFBIZ-29) Small refactoring of the way stylesheets are defined in global screens.

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


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


[jira] Updated: (OFBIZ-29) Small refactoring of the way stylesheets are defined in global screens.

Posted by "Jacopo Cappellato (JIRA)" <ji...@apache.org>.
     [ 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


[jira] Closed: (OFBIZ-29) Small refactoring of the way stylesheets are defined in global screens.

Posted by "David E. Jones (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/OFBIZ-29?page=all ]
     
David E. Jones closed OFBIZ-29:
-------------------------------

    Fix Version: SVN trunk
     Resolution: Fixed
      Assign To: Jacopo Cappellato

Thanks Jacopo, this is in SVN rev 7808.

> 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
>     Assignee: Jacopo Cappellato
>     Priority: Minor
>      Fix For: SVN trunk
>  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