2 Replies Latest reply on Sep 3, 2009 5:21 AM by Nick Belaevski

    a4j:mediaOutput doesn't work for MediaData with byte array (

    Dmitry Shultz Novice

      Hi,

      I'm experiencing some hard time with the a4j:mediaOutput component.

      After copy/pasting the MediaBean, MediaData and related mark up code from the RichFaces demo i can see the method paint() is invoked and the image is generated.
      But, after adding the byte[] data as a member of the MediaData class (I'm planning to use the image raw bytes from db in the paint method) the paint() in never invoked.
      Is it expected behavior?

      Thanks in advance for help!