-
1. Re: Overlay problem with dropdownmenu and tabpanel (4.0.0.Final)
ma.aqcon May 29, 2012 5:56 AM (in response to sebastian_goetz)Hi Sebastian,
have you ever solved this issue? I am facing the same issue but only in IE9 without compatibility mode using 4.2.2.Final (Firefox works). I think that this is a RichFaces problem as I can reproduce it with this simple code fragment:
<rich:dropDownMenu> <f:facet name="label"> Menu </f:facet> <rich:menuItem label="Item 1"/> <rich:menuItem label="Item 2"/> <rich:menuItem label="Item 3"/> </rich:dropDownMenu> <rich:tabPanel> <rich:tab header="Tab 1"/> </rich:tabPanel>
Item 1 is not displayed.
I couldn't find any open issue in JIRA for this.
Regards,
Michael
-
2. Re: Overlay problem with dropdownmenu and tabpanel (4.0.0.Final)
jpapouse May 30, 2012 8:36 AM (in response to ma.aqcon)If there is no issue describing the bug, please create a new one and attach as much as possible information to it.
-
3. Re: Overlay problem with dropdownmenu and tabpanel (4.0.0.Final)
ma.aqcon May 30, 2012 9:30 AM (in response to jpapouse)Thanks. I have created https://issues.jboss.org/browse/RF-12298.
-
4. Re: Overlay problem with dropdownmenu and tabpanel (4.0.0.Final)
true_mykola Jun 4, 2012 10:18 AM (in response to ma.aqcon)In my case this simple menu doesn't open at all in FF. I can see "Menu" but when i hover over it or click on it - nothing happens, menu doesn't appear. It correctly works in IE 8 and Chrome, but not in FF 12. Although example from richfaces showcase works without problem (well, actually it works only in showcase itself when i copy it to my page same thing happens) What can it be? (I'm using RF 4.2.2)
-
5. Re: Overlay problem with dropdownmenu and tabpanel (4.0.0.Final)
ma.aqcon Jun 4, 2012 10:21 AM (in response to true_mykola)Hi Nikolai,
you should provide some sample code...
-
6. Re: Overlay problem with dropdownmenu and tabpanel (4.0.0.Final)
true_mykola Jun 4, 2012 10:27 AM (in response to ma.aqcon)The code from your post . Oh, and IE, of course, menu is shown the way you described. But it's shown unlike in FF.
-
7. Re: Overlay problem with dropdownmenu and tabpanel (4.0.0.Final)
ma.aqcon Jun 4, 2012 10:34 AM (in response to true_mykola)Oh, that's strange. This works for me in FF12 and even in nightly build of FF15.
Which JSF implementation do you use? Is there any JS-Bug registered (e.g. in Firebug console)?
Can you provide your complete XHTML page code?
-
8. Re: Overlay problem with dropdownmenu and tabpanel (4.0.0.Final)
true_mykola Jun 4, 2012 10:41 AM (in response to ma.aqcon)I'm using JSF 2.0.4 (which is bundled with Weblogic 10.3.5). This is the code:
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:a4j="http://richfaces.org/a4j" xmlns:rich="http://richfaces.org/rich" > <ui:composition> <h:head> </h:head> <h:body> <h:form> <rich:dropDownMenu> <f:facet name="label"> Menu </f:facet> <rich:menuItem label="Item 1"/> <rich:menuItem label="Item 2"/> <rich:menuItem label="Item 3"/> </rich:dropDownMenu> <rich:tabPanel> <rich:tab header="Tab 1"/> </rich:tabPanel> </h:form> </h:body> </ui:composition> </html>
And these errors i have in Firebug:
uncaught exception: RichFaces.Event: empty selector RichFaces.ui.Popup is not a constructor attachToBody : this.options.attachToBody
-
9. Re: Overlay problem with dropdownmenu and tabpanel (4.0.0.Final)
true_mykola Jun 4, 2012 11:00 AM (in response to ma.aqcon)hmmm....
I've just tested it from another computer and it works. It seems like it's something wrong with my FF
It was adblock When i turned it off for localhost the menu appeared and when i turned it on again the problem repeated. The strange thing is that there's adblock on another computer too but it works correctly with it.