ICEfaces
  1. ICEfaces
  2. ICE-1938

New component resource registration and loading API

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: 1.7DR#1, 1.7
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      ICEfaces

      Description

      ICEfaces and third party components often require additional resources, such as image, JavaScript, CSS, and other types of files. To allow the component to provide bundled resources to the browser, it would be useful to have an API for registering the resources for publication.
      1. ICE-1938.patch
        24 kB
        Mircea Toma
      2. ICE-1938.patch
        21 kB
        Mircea Toma

        Activity

        Ted Goddard created issue -
        Hide
        Ted Goddard added a comment -

        Assigning to Mircea since the other JIRA is image-specific and need not be tackled at this time.

        Show
        Ted Goddard added a comment - Assigning to Mircea since the other JIRA is image-specific and need not be tackled at this time.
        Ted Goddard made changes -
        Field Original Value New Value
        Assignee Mircea Toma [ mircea.toma ]
        Hide
        Mircea Toma added a comment -

        Attach fix.

        Show
        Mircea Toma added a comment - Attach fix.
        Mircea Toma made changes -
        Attachment ICE-1938.patch [ 10645 ]
        Hide
        Ted Goddard added a comment -

        Does registerImage() take an arbitrary mime-type, such as for .swf, .mov, etc? (In that case, maybe it could be called registerResource()?)

        Can a directory of resources also be registered? There are security implications to this, but this could be mitigated by logging the complete list of resources registered by the call (under DEBUG).

        Show
        Ted Goddard added a comment - Does registerImage() take an arbitrary mime-type, such as for .swf, .mov, etc? (In that case, maybe it could be called registerResource()?) Can a directory of resources also be registered? There are security implications to this, but this could be mitigated by logging the complete list of resources registered by the call (under DEBUG).
        Hide
        Mircea Toma added a comment -

        Yes, registerResource() name is better.
        The attached patch doesn't allow for directory of resources registration....but it's definitely possible.

        Show
        Mircea Toma added a comment - Yes, registerResource() name is better. The attached patch doesn't allow for directory of resources registration....but it's definitely possible.
        Hide
        Mircea Toma added a comment -

        Attach new version.

        Show
        Mircea Toma added a comment - Attach new version.
        Mircea Toma made changes -
        Attachment ICE-1938.patch [ 10646 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #14798 Fri Sep 07 14:54:20 MDT 2007 mircea.toma Implement resource registration and loading -- ICE-1938 .
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/MainSessionBoundServlet.java
        Commit graph ADD /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/JarResource.java
        Commit graph ADD /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/FileResource.java
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/DOMResponseWriter.java
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/core/SingleViewServer.java
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/BridgeFacesContext.java
        Commit graph ADD /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/ResourceRegistry.java
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/DOMContext.java
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/core/MultiViewServer.java
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/View.java
        Commit graph ADD /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/Resource.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #14799 Fri Sep 07 15:56:45 MDT 2007 mircea.toma Add caching strategy -- ICE-1938 .
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/BridgeFacesContext.java
        Hide
        Mircea Toma added a comment -

        Implemented resource registration and loading.

        Show
        Mircea Toma added a comment - Implemented resource registration and loading.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #14808 Tue Sep 11 11:39:13 MDT 2007 mircea.toma Refactor -- ICE-1938
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/MainSessionBoundServlet.java
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/DOMResponseWriter.java
        Commit graph ADD /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/core/ResourceDispatcher.java
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/core/SingleViewServer.java
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/BridgeFacesContext.java
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/core/MultiViewServer.java
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/View.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #14809 Tue Sep 11 11:45:29 MDT 2007 mircea.toma Refactor -- ICE-1938
        Files Changed
        Commit graph ADD /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/StringResource.java
        Ken Fyten made changes -
        Fix Version/s 1.7DR#1 [ 10100 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #14859 Mon Sep 24 15:51:40 MDT 2007 mircea.toma Implement multiple resource registration -- ICE-1938 .
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/MainSessionBoundServlet.java
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/MainServlet.java
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/JarResource.java
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/FileResource.java
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/core/ResourceDispatcher.java
        Commit graph ADD /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/ByteArrayResource.java
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/StringResource.java
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/common/standard/FixedSizeContentHandler.java
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/BridgeFacesContext.java
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/ResourceRegistry.java
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/Resource.java
        Ken Fyten made changes -
        Summary component resource registration and loading New component resource registration and loading API
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #14967 Tue Oct 16 16:45:21 MDT 2007 mircea.toma ICE-1938
        Refactor how relative resources are registered.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/inputrichtext/InputRichText.java
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/DOMResponseWriter.java
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/core/ResourceDispatcher.java
        Commit graph ADD /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/inputrichtext/fckeditor.js
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/inputrichtext/InputRichTextRenderer.java
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/BridgeFacesContext.java
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/ResourceRegistry.java
        Commit graph MODIFY /icefaces/trunk/icefaces/bridge/src/script.js
        Commit graph ADD /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/ResourceLinker.java
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/inputrichtext/fckeditor.zip
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #14968 Tue Oct 16 16:48:44 MDT 2007 mircea.toma ICE-1938
        Refactor how relative resources are registered.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/inputrichtext/InputRichTextRenderer.java
        Ken Fyten made changes -
        Fix Version/s 1.7 [ 10080 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Mircea Toma [ mircea.toma ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: