ICEfaces
  1. ICEfaces
  2. ICE-11519

ice:graphicImage, mimeType attribute not working with value binding

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P08
    • Fix Version/s: EE-3.3.0.GA_P09
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Any

      Description

      The mimeType attribute of the ice:graphicImage component works as expected when the value is specified literally on the markup (e.g. mimeType="image/png"). This means that when the value of the ice:graphicImage component is a byte array, this causes the response to contain the 'Content-Type' header with the value specified in the mimeType attribute. However, if the value of this attribute is bound to a bean property, then there's no 'Content-Type' header in the response. Closer examination of the ice:graphicImage component code reveals that the getMimeType() method is a simple getter that doesn't check for a possible ValueBinding value.

        Activity

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arturo Zambrano
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: