Hi All,
In my primefaces application I show pdf files. In order to do it, inside a jsf page I use <object> tag.
The problem is that the pdf viewer in IE (default acrobat) is shown on top of all other components. In other words, the pdf file hides all popups, dialogs, etc...
I have played with z-index but with no success. It seems that no matter what I do, the z-index of the pdf object is just ignored. The same problem exists if I use <iframe>, or <embed> instead of <object>, for embedding a pdf.
In Firefox everything works like a charm, but not in IE (I have tried versions 8, and 9)
Any ideas?
Thank you,
Mathias
z-index problem with showing pdf in IE
-
- Posts: 5
- Joined: 21 Dec 2011, 12:35
PrimeFaces 3.2-snapshot | Glassfish 2.1.1 | Mojarra 2.1.4
IE 9, Firefox 8.0
IE 9, Firefox 8.0
-
- Posts: 5
- Joined: 21 Dec 2011, 12:35
Yes, you are right. I didn't formulate the question correctly.
The question should go:
Is there a way to use any primefaces component like p:lightBox or p:media in order to show pdf content below a p:dialog.
Or, even better, is there a way to specify p:dialog z-index to be shown on top of a pdf?
The question should go:
Is there a way to use any primefaces component like p:lightBox or p:media in order to show pdf content below a p:dialog.
Or, even better, is there a way to specify p:dialog z-index to be shown on top of a pdf?
PrimeFaces 3.2-snapshot | Glassfish 2.1.1 | Mojarra 2.1.4
IE 9, Firefox 8.0
IE 9, Firefox 8.0
-
- Posts: 5
- Joined: 21 Dec 2011, 12:35
Hi,
Thank you for the reply.
Can you, please, give me some guidelines how to use a frame for this purpose.
I have tried inline frame (<iframe... >) with the same result: p:dialog is always partially hidden behind the pdf.
Thanks
Thank you for the reply.
Can you, please, give me some guidelines how to use a frame for this purpose.
I have tried inline frame (<iframe... >) with the same result: p:dialog is always partially hidden behind the pdf.
Thanks
PrimeFaces 3.2-snapshot | Glassfish 2.1.1 | Mojarra 2.1.4
IE 9, Firefox 8.0
IE 9, Firefox 8.0
-
- Posts: 5
- Joined: 11 Feb 2012, 07:15
Help!!!!
I have a seemed problem, I want to show an xml in html format through an xsl file, so I am using a iframe which points out to XML file inside a main p:dialog.
<iframe src="#{comprobanteClienteBean.detalleComprobanteBean.rutaRelativaDetalleComprobante}" height="300px"></iframe>
the problem happens when I click on a button (inside the main p:dialog) which shows an p:confirmDialog, so it is hidden by the iframe,
and the worst part is that only happens in IE.
Is there some way to show an xml in html format (through xsl) in primefaces.
Any advice ??????????????? please!!!!!!!!!
I have a seemed problem, I want to show an xml in html format through an xsl file, so I am using a iframe which points out to XML file inside a main p:dialog.
<iframe src="#{comprobanteClienteBean.detalleComprobanteBean.rutaRelativaDetalleComprobante}" height="300px"></iframe>
the problem happens when I click on a button (inside the main p:dialog) which shows an p:confirmDialog, so it is hidden by the iframe,
and the worst part is that only happens in IE.
Is there some way to show an xml in html format (through xsl) in primefaces.
Any advice ??????????????? please!!!!!!!!!
-
- Posts: 6144
- Joined: 10 Sep 2011, 21:10
Easy. Search stackoverflow.com for questions like these. Huge community there, with most-likely an answer for any/all your (non-PrimeFaces) questions.
stackoverflow display xml xsl html
stackoverflow display xml xsl html
Howard
PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome
Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache
PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome
Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache
-
- Posts: 5
- Joined: 21 Dec 2011, 12:35
You can check out this link:
http://groups.google.com/group/microsof ... +pdf&pli=1
It helped me to solve my problem.
http://groups.google.com/group/microsof ... +pdf&pli=1
It helped me to solve my problem.
PrimeFaces 3.2-snapshot | Glassfish 2.1.1 | Mojarra 2.1.4
IE 9, Firefox 8.0
IE 9, Firefox 8.0
-
- Information
-
Who is online
Users browsing this forum: No registered users and 53 guests