ajax=false commandButton not working in a dialog in IE7

UI Components for JSF
Post Reply
Alex
Posts: 256
Joined: 16 Dec 2010, 14:24
Location: Germany

09 Dec 2011, 16:21

yet another strange issue which just occurs in IE7

when you have a commandButton which has ajax="false" and an action which should navigate to another view inside a dialog everything works fine as long as you do not use IE7 (or IE8 compatibility mode).
In that case the button simply does nothing.

Of course I can remove the ajax="false" and everything is also working in IE7, but this issue should be rechecked for any sideeffects on other components.
I remember having problems with filedownloads on buttons which did not work inside dialogs, but i have not tested this any more.
PrimeFaces 3.2
Mojarra 2.0.2
Glassfish 3.0.1

Alex
Posts: 256
Joined: 16 Dec 2010, 14:24
Location: Germany

09 Dec 2011, 16:27

because I was worring bout that I retested this in our application and in fact .. downloads out of dialogs do not work. Those buttons need ajax=false for the filedownload component but on click simply nothing seems to happen.

We need a solution for that, because our application has to support IE7.. strange that nobody found this bug yet while testing :D


*edit*

found a very simple solution for now by using h:commandlink elements.. downloads do work with this component in ever browser and also inside a dialog.. just had to do some styling tricks to gain the same look..
so a quick hotfix is not needed, but you should really have a look into this
PrimeFaces 3.2
Mojarra 2.0.2
Glassfish 3.0.1

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

09 Dec 2011, 17:41

We'll look into this.

User avatar
leventgny
Posts: 238
Joined: 24 May 2011, 16:49
Contact:

09 Dec 2011, 17:51

Can you post your related view codes ?
PrimeFaces Team Member

Alex
Posts: 256
Joined: 16 Dec 2010, 14:24
Location: Germany

12 Dec 2011, 10:04

i'm sorry, but this issue is not primefaces related.

I messed up with z-index in IE7 specific styles.
Strange thing was, that the button was displayed as being clicked, but in fact it never was because it was overlayed by another element.

sorry for that.
PrimeFaces 3.2
Mojarra 2.0.2
Glassfish 3.0.1

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: eeveez and 28 guests