Hi, I try to use a4j:mediaOutput to pre-view objects. However, it does not render object correctly while the html object tag works fine.
<rich:panel id="previewPanel">
<object data="#{fileUploadBean.uri}" type="text/html" style="width:500px; height:200px;"/>
<a4j:mediaOutput element="object" mimeType="text/html"
createContent="#{fileUploadBean.paint}" value="#{row}"
style="width:500px; height:200px;"
uriAttribute="#{fileUploadBean.uri}">
</a4j:mediaOutput>
</rich:panel>