ICEfaces
  1. ICEfaces
  2. ICE-2528

Improved ice:graphicImage component (support byte[] and URL to file)

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.1
    • Fix Version/s: 1.7.1
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      All

      Description

      It would be nice if ICEfaces could either support Seam's s:graphicImage component or make improvements to the ice:graphicImage component (and have similar features). I especially want the ability to value bind to not just a path string, but also a byte array, a Java File, InputStream, or URL.

        Issue Links

          Activity

          zzzz8 zzzz8 created issue -
          Hide
          zzzz8 zzzz8 added a comment -
          Show
          zzzz8 zzzz8 added a comment - Another forum link: http://www.icefaces.org/JForum/posts/list/3310.page
          Michael Thiem made changes -
          Field Original Value New Value
          Support Case References https://www.icesoft.ca:4443/supportilla/show_bug.cgi?id=4755
          Ken Fyten made changes -
          Link This issue blocks ICE-1451 [ ICE-1451 ]
          Ken Fyten made changes -
          Fix Version/s 1.7.1 [ 10122 ]
          Assignee Priority P2
          Assignee Yip Ng [ yip.ng ]
          Ken Fyten made changes -
          Assignee Priority P2 P1
          Assignee Yip Ng [ yip.ng ] Arturo Zambrano [ artzambrano ]
          Hide
          Ken Fyten added a comment -

          First step is to compile a list of specific requirements for this enhancement. Suggest reviewing the forum thread and the s:graphicImage component for ideas.

          Show
          Ken Fyten added a comment - First step is to compile a list of specific requirements for this enhancement. Suggest reviewing the forum thread and the s:graphicImage component for ideas.
          Arturo Zambrano made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #16632 Mon May 12 15:48:41 MDT 2008 art.zambrano ICE-2528 added to the trunk modifications and additions to support dynamic images in ice:graphicImage
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/renderkit/dom_html_basic/ImageRenderer.java
          Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/ext/HtmlGraphicImage.java
          Commit graph ADD /icefaces/trunk/icefaces/core/src/com/icesoft/faces/util/ImageResource.java
          Commit graph MODIFY /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/ice_properties/ice-graphicImage-props.xml
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #16633 Mon May 12 16:44:07 MDT 2008 art.zambrano ICE-2528 dynamic images in ice:graphicImage, made some refactoring to the previously committed code
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/renderkit/dom_html_basic/ImageRenderer.java
          Commit graph DEL /icefaces/trunk/icefaces/core/src/com/icesoft/faces/util/ImageResource.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #16634 Mon May 12 16:54:28 MDT 2008 art.zambrano ICE-2528 dynamic images in ice:graphicImage, fixed a minor syntax mistake and added comments
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/renderkit/dom_html_basic/ImageRenderer.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #16639 Tue May 13 13:08:41 MDT 2008 art.zambrano ICE-2528 dynamic images in ice:graphicImage, added this functionality to the 1.7 branch
          Files Changed
          Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/component/src/com/icesoft/faces/component/ext/HtmlGraphicImage.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/component-metadata/src/main/resources/conf/ice_properties/ice-graphicImage-props.xml
          Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/renderkit/dom_html_basic/ImageRenderer.java
          Arturo Zambrano made changes -
          Attachment ICE-2528.zip [ 10972 ]
          Arturo Zambrano made changes -
          Attachment icefaces.jar [ 10973 ]
          Arturo Zambrano made changes -
          Attachment icefaces-comps.jar [ 10974 ]
          Hide
          Arturo Zambrano added a comment -

          test app added...
          open the netbeans project and resolve reference problems if any (i.e. mysql connector)...
          MyBean.java reads a file from your local disk, so specify a location...
          MyOtherBean.java reads a blob from a database, specify necessary arguments...
          build and deploy, then replace the icefaces and icefaces-comps jars with the ones attached to this issue...

          Show
          Arturo Zambrano added a comment - test app added... open the netbeans project and resolve reference problems if any (i.e. mysql connector)... MyBean.java reads a file from your local disk, so specify a location... MyOtherBean.java reads a blob from a database, specify necessary arguments... build and deploy, then replace the icefaces and icefaces-comps jars with the ones attached to this issue...
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #16714 Tue May 27 11:41:55 MDT 2008 art.zambrano ICE-2528 corrected implementation, committed to 1.7 branch
          Files Changed
          Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/component/conf/META-INF/faces-config.xml
          Commit graph ADD /icefaces/branches/icefaces-1.7/icefaces/component/src/com/icesoft/faces/component/ext/renderkit/ImageRenderer.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/renderkit/dom_html_basic/ImageRenderer.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #16716 Tue May 27 12:15:54 MDT 2008 art.zambrano ICE-2528 re-factored code, committed to 1.7 branch
          Files Changed
          Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/component/src/com/icesoft/faces/component/ext/renderkit/ImageRenderer.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #16723 Tue May 27 13:33:47 MDT 2008 art.zambrano ICE-2528 corrected implementation, committed to the trunk
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/renderkit/dom_html_basic/ImageRenderer.java
          Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/component/src/com/icesoft/faces/component/ext/renderkit/ImageRenderer.java
          Commit graph ADD /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/ext/renderkit/ImageRenderer.java
          Commit graph MODIFY /icefaces/trunk/icefaces/component/conf/META-INF/faces-config.xml
          Arturo Zambrano made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Summary Improved ice:graphicImage component Improved ice:graphicImage component (support byte[] and URL to file)
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Assignee Priority P1
          Assignee Arturo Zambrano [ artzambrano ]
          Hide
          Ondrej Bozek added a comment -

          Totally awesome!!! I love you. I've spent whole day trying figure out how to do this using phaseListener (icefaces freezes or needs page reload to refresh images). Sorry for my english.

          Show
          Ondrej Bozek added a comment - Totally awesome!!! I love you. I've spent whole day trying figure out how to do this using phaseListener (icefaces freezes or needs page reload to refresh images). Sorry for my english.

            People

            • Assignee:
              Unassigned
              Reporter:
              zzzz8 zzzz8
            • Votes:
              8 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: