RichFaces
  1. RichFaces
  2. RF-1568

Insert scripts and styles for a components as a one aggregatet library, instead of small separated for a each component.

    Details

    • Type: Feature Request Feature Request
    • Status: Closed Closed (View Workflow)
    • Priority: Major Major
    • Resolution: Done
    • Affects Version/s: 3.1.2
    • Fix Version/s: 3.1.3, 3.2.0
    • Component/s: None
    • Security Level: Public (Everyone can see)
    • Labels:
      None
    • Similar Issues:
      Show 10 results 

      Description

      For a performance reason, in the prodaction environment make sence to include one JavaScript library and one CSS file for a all pages.
      It can reduce number of the network requests for a page loading.
      Also, for a portal environment, there files must be loaded by portal engine, to avoid dublicates in the every portlet instance.

        Activity

        Hide
        Alexander Smirnov
        added a comment -

        For a implementation of the this feature, 2 additional context init parameters added.
        org.richfaces.LoadStyleStrategy - to select JavaScript loading strategy.
        org.richfaces.LoadScriptStrategy - same for a CSS files.
        Possible values :
        DEFAULT - load separate small files.
        ALL - load aggregated libraries.
        NONE - do not load any JavaScript or CSS files. It allow application developer to create custom files, or place static files outside of default location.

        Build for a aggregated files not yet implemented.

        Show
        Alexander Smirnov
        added a comment - For a implementation of the this feature, 2 additional context init parameters added. org.richfaces.LoadStyleStrategy - to select JavaScript loading strategy. org.richfaces.LoadScriptStrategy - same for a CSS files. Possible values : DEFAULT - load separate small files. ALL - load aggregated libraries. NONE - do not load any JavaScript or CSS files. It allow application developer to create custom files, or place static files outside of default location. Build for a aggregated files not yet implemented.

          People

          • Assignee:
            Alexander Smirnov
            Reporter:
            Alexander Smirnov
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: