• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

dropDownMenu z-index IE bug with RichFaces

 
Ranch Hand
Posts: 99
MyEclipse IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi

There is a famous IE z-index bug affecting some elements generated by richFaces, like dropDownMenu for ex. when some elements (comboBox, fixed calendar, etc.) overlaps the drop-down menus. Officially RichFaces recognizes the bug and says to screw ourselves. I also know how to solve this in a normal html environment when I have access to every element. The problem is RichFaces which generates tons of additional stuff to render its components and direct CSS alteration through the template doesn't work.

Is there any proven jQuery/JS/CSS solution to this for RichFaces?
 
Akaine Harga
Ranch Hand
Posts: 99
MyEclipse IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Suddenly after hours of experiments I've solved my problem just by wrapping the menu inside div with CSS params typical for this bug solution.

<div style="position: relative; z-index: 50;">

Thanks
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I fixed the problem by adding following attributes to these two CSS classes

.rf-ddm-unsel {
position: relative;
z-index: 0;
}

.rf-ddm-sel {
position: relative;
z-index: 99;
}
reply
    Bookmark Topic Watch Topic
  • New Topic