-
1. Re: Richfaces 4.2.0 Drop Down Menu Style Problem in IE7
ppitonak Feb 28, 2012 8:39 AM (in response to ozkansari)Hi,
unfortunately, IE7 is not supported in RichFaces 4.2.0.Final (unlike 4.1.0.Final). The list of all supported browsers is in Developer Guide [1]. Could you investigate more what causes the error?
Regards,
Palo
-
2. Re: Richfaces 4.2.0 Drop Down Menu Style Problem in IE7
ozkansari Feb 28, 2012 11:01 AM (in response to ppitonak)Thanks. I haven't read Client Requirements before asking the question. Sorry.
In Richfaces 4.1.0 a menuItem is rendered as :
<div class="rf-ddm-itm rf-ddm-itm-unsel" id="j_idt1141:j_idt1147">
<span class="rf-ddm-itm-ic "><img height="16" src="/images/icons/create_doc.gif" width="16" /> </span>
<span class="rf-ddm-itm-lbl ">New</span>
<script type="text/javascript"> ... </script>
</div>
In Richfaces 4.2.0 a menuItem is rendered as :
<div class="rf-ddm-itm rf-ddm-itm-unsel" id="j_idt1141:j_idt1147"><div class="rf-ddm-itm-ic "><img height="16" src="/images/icons/create_doc.gif" width="16" /> </div>
<span class="rf-ddm-itm-lbl ">New</span>
<script type="text/javascript"> .... </script>
</div>
The problem looks to be caused from "span" to "div" change when rendering icon.
-
3. Re: Richfaces 4.2.0 Drop Down Menu Style Problem in IE7
mcmurdosound Feb 28, 2012 2:29 PM (in response to ozkansari)you could alter the style for the div:
div.rf-ddm-itm-ic{
display: inline-block;
}
-
4. Re: Richfaces 4.2.0 Drop Down Menu Style Problem in IE7
sabya113 Feb 29, 2012 12:22 AM (in response to mcmurdosound)Hi
I am using IE8.
I have a dropdown menu that is working fine in my system.
But when i am using my ip(instead of localhost) i.e, accessing from a remote system while server is on my system
i am facing the same problem as pointed out by @Ozkan above.
Also sometimes the <div> used below the dropdown is overlapping the dropdownMenu inspite of giving z-indexes.
Any suggestions on how to overcome the problem will be highly appreciated
-
5. Re: Richfaces 4.2.0 Drop Down Menu Style Problem in IE7
ozkansari May 8, 2012 4:27 AM (in response to mcmurdosound)1 of 1 people found this helpfulThe div style is already "display: inline-block;" as specified in line 84 of dropdownmenu.ecss.
I have added following styles in my css file as a work-around :
*:first-child+html div.rf-ddm-itm-ic {
float: left !important;
}
*:first-child+html span.rf-ddm-itm-lbl {
float: left !important;
}
NOTE: "first-child+html" is a css hack which only applies to IE7 : http://www.dynamicsitesolutions.com/css/filters/first-child-plus-html/
[UPDATE May 2012] For Richfaces 4.2.1 Menu Style Problems persist. I've added following css styles to fix style problems :
.rf-ddm-itm-ic {
float: left !important;
}
-
6. Re: Richfaces 4.2.0 Drop Down Menu Style Problem in IE7
ppitonak Feb 29, 2012 5:27 AM (in response to ozkansari)Thank you for your information.