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
        21 kB
        Mircea Toma
      2. ICE-1938.patch
        24 kB
        Mircea Toma

        Activity

        Hide
        Mircea Toma added a comment -

        Implemented resource registration and loading.

        Show
        Mircea Toma added a comment - Implemented resource registration and loading.
        Hide
        Mircea Toma added a comment -

        Attach new version.

        Show
        Mircea Toma added a comment - Attach new version.
        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
        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 -

        Attach fix.

        Show
        Mircea Toma added a comment - Attach fix.
        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: