ICEfaces
  1. ICEfaces
  2. ICE-8919

Add Dynamic Resource support to Compat ice:graphicImage component

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 3.3
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 3.x Compat ice:graphicImage component.

      Description

      The ICEfaces 1.8.2 ice:graphicImage component supports the use of dynamic resources to provision the image data to the component:

      The 1.8 component "value" attribute can use any of these resources:
      String
      byte[]
      com.icesoft.faces.context.Resource
      com.icesoft.faces.context.JarResource
      com.icesoft.faces.context.FileResource
      com.icesoft.faces.context.ByteArrayResource

      The original work for the 1.8 component was done under ICE-4857.

      This JIRA is to add the same dynamic resource support to the ICEfaces 3.x compat ice:graphicImage component.

      The compat library APIs should contain similar dynamic resource APIs as those found in 1.8 as well.

        Activity

        Hide
        Arturo Zambrano added a comment -

        Committed fix to trunk at revision 33258.

        The code from ICEfaces 1.8 was initially ported to ICEfaces 2.0 in May 2009, while Resource support and other fixes were added to the 1.8 trunk in August 2009, so they never made it to ICEfaces 2.0. Those fixes have now been added to the ICEfaces 3 trunk.

        Show
        Arturo Zambrano added a comment - Committed fix to trunk at revision 33258. The code from ICEfaces 1.8 was initially ported to ICEfaces 2.0 in May 2009, while Resource support and other fixes were added to the 1.8 trunk in August 2009, so they never made it to ICEfaces 2.0. Those fixes have now been added to the ICEfaces 3 trunk.
        Hide
        Arturo Zambrano added a comment -

        Added test app. It is meant to go under the samples folder. Then just type 'ant' to build.

        Testing notes: Just run this test app or integrate it to existing tests for this component.

        Show
        Arturo Zambrano added a comment - Added test app. It is meant to go under the samples folder. Then just type 'ant' to build. Testing notes: Just run this test app or integrate it to existing tests for this component.
        Hide
        Arturo Zambrano added a comment -

        Added demo to ICEfaces showcase at revision 33276.

        Show
        Arturo Zambrano added a comment - Added demo to ICEfaces showcase at revision 33276.

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Ken Fyten
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: