Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 1.6DR#2
    • Fix Version/s: None
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      any

      Description

      retrieve the image data as a collection of bytes.

      contribution from Bernhard Hurzeler:
      I have extended the ImageRenderer and have used the PhaseListener to deliver the actual image.
      This is quite neat as you just use the ice:graphicImage but put the Entity Image in the value attribute. The Image Entity contains an byte[] array with the image (field image). I am happy for you guys to use the code and allow people to display images out of their DBs. There are shortcomings to the proposed approach. The byte[] is held in memory. Ideally one would get a hold of a stream to stream the data directly out of the DB.
      1. Image.java
        3 kB
        Philip Breau
      2. test.xhtml
        0.3 kB
        Philip Breau

        Issue Links

          Activity

          Hide
          Philip Breau added a comment -

          Component source files

          Show
          Philip Breau added a comment - Component source files
          Hide
          Philip Breau added a comment -

          Image user class

          Show
          Philip Breau added a comment - Image user class
          Hide
          Philip Breau added a comment -

          example of JSF usage

          Show
          Philip Breau added a comment - example of JSF usage
          Hide
          Ken Fyten added a comment -

          Marking as Closed / Invalid as part of legacy ICEfaces ICE / Compat component JIRA cleanup.

          Note: This issue may be resolved in a newer ICEfaces release, available here: http://www.icesoft.org/java/downloads/icefaces-downloads.jsf

          If the issue persists with the current ICEfaces release, please create a new JIRA for it.

          Show
          Ken Fyten added a comment - Marking as Closed / Invalid as part of legacy ICEfaces ICE / Compat component JIRA cleanup. Note: This issue may be resolved in a newer ICEfaces release, available here: http://www.icesoft.org/java/downloads/icefaces-downloads.jsf If the issue persists with the current ICEfaces release, please create a new JIRA for it.

            People

            • Assignee:
              Unassigned
              Reporter:
              Philip Breau
            • Votes:
              5 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: