Hi
What good works is :
(running all browsers with the same code):
<a4j:mediaOutput element="#{mediaBean.element}" cacheable="false" session="true" createContent="#{mediaBean.publish}" mimeType="#{mediaBean.mimeType}" />
- images (image/....) with FireFox, IE and Opera works correct
- text (text/plain) with FireFox, Opera works correct (IE does nothing, no call is made to #{mediaBean.publish} )
- html (text/html) with FireFox, Opera works correct (IE does nothing, no call is made to #{mediaBean.publish})
- mp3, mp4 (audio/mpeg) works with no browser;
( i think, for all video-formats a call with mime-type 'application/x-shockwave-flash' is made, what is not correct ) ,
so a separate servlet that uses mime-type 'audio/mpeg' works correct
To write a separate servlet is not a problem,
but that there is no text and html to see in IE , with the same code,
remains a mysterium for me.
Have somewhere an idea, what it can be?
Another problem that i found is, if the element-tag 'img' , 'object' or 'applet' there are no problems with mediaOutput.
With element-tag's 'a' or 'link', mediaOutput does nothing.
With element-tag 'script' mediaOutput crashes with exeption 'Required attribute uriAttribute for component .... is null'