11 Replies Latest reply on Sep 8, 2008 8:32 AM by marinew

    Problem with Firefox 3.0.1

    moshstef

      We are developing an application using:
      MyFaces 1.1.5
      RichFaces 3.1.5
      Facelets 1.1.14

      This problem occurs in Firefox 3.0.1 (maybe in FF 3.x generally but not tested).
      The problem does not occur in FF 2.0.x and IE 6 and 7.

      Problem Description:
      We are using a rich:panelMenu as below:

      <rich:panelMenu id="testMenu" >
       <rich:panelMenuGroup label="TEST">
       <rich:panelMenuItem id="something_creation" value="something_creation"
      label="something_creation" action="#{menuBean.selectMenuOption}"></rich:panelMenuItem>
       </rich:panelMenuGroup>
      </rich:panelMenu>


      The problem is that the MenuBean::selectMenuOption action is never fired.

      Please advise.

        • 1. Re: Problem with Firefox 3.0.1
          ilya_shaikovsky

          provide both logs from phasetracker and from a4j:log component

          • 2. Re: Problem with Firefox 3.0.1
            moshstef

            Nothing is logged from the a4j:log component. Probably because there are no ajax requests involved.

            This is the log from the phasetracker (the gibberish characters are localized date messages, because of my machine's greek locale):

            This is the log when accessing the page containing the menu.

            28 ╔??? 2008 4:41:40 ?? org.exadel.jsf.PhaseTracker beforePhase
            INFO: BEFORE RESTORE_VIEW(1)
            28 ╔??? 2008 4:41:40 ?? org.exadel.jsf.PhaseTracker beforePhase
            INFO: BEFORE RESTORE_VIEW(1)
            28 ╔??? 2008 4:41:40 ?? org.exadel.jsf.PhaseTracker afterPhase
            INFO: AFTER RESTORE_VIEW(1)
            28 ╔??? 2008 4:41:40 ?? org.exadel.jsf.PhaseTracker afterPhase
            INFO: AFTER RESTORE_VIEW(1)
            28 ╔??? 2008 4:41:40 ?? org.exadel.jsf.PhaseTracker beforePhase
            INFO: BEFORE RENDER_RESPONSE(6)
            08/07/28 16:41:40 Initializing UsersessionBean
            28 ╔??? 2008 4:41:40 ?? org.exadel.jsf.PhaseTracker beforePhase
            INFO: BEFORE RENDER_RESPONSE(6)
            28 ╔??? 2008 4:41:40 ?? org.exadel.jsf.PhaseTracker afterPhase
            INFO: AFTER RENDER_RESPONSE(6)
            28 ╔??? 2008 4:41:40 ?? org.exadel.jsf.PhaseTracker afterPhase
            INFO: AFTER RENDER_RESPONSE(6)



            This is the log when hitting on the PanelMenuItem:

            28 ╔??? 2008 4:42:21 ?? org.exadel.jsf.PhaseTracker beforePhase
            INFO: BEFORE RESTORE_VIEW(1)
            28 ╔??? 2008 4:42:21 ?? org.exadel.jsf.PhaseTracker beforePhase
            INFO: BEFORE RESTORE_VIEW(1)
            28 ╔??? 2008 4:42:21 ?? org.exadel.jsf.PhaseTracker afterPhase
            INFO: AFTER RESTORE_VIEW(1)
            28 ╔??? 2008 4:42:21 ?? org.exadel.jsf.PhaseTracker afterPhase
            INFO: AFTER RESTORE_VIEW(1)
            28 ╔??? 2008 4:42:21 ?? org.exadel.jsf.PhaseTracker beforePhase
            INFO: BEFORE APPLY_REQUEST_VALUES(2)
            28 ╔??? 2008 4:42:21 ?? org.exadel.jsf.PhaseTracker beforePhase
            INFO: BEFORE APPLY_REQUEST_VALUES(2)
            28 ╔??? 2008 4:42:21 ?? org.exadel.jsf.PhaseTracker afterPhase
            INFO: AFTER APPLY_REQUEST_VALUES(2)
            28 ╔??? 2008 4:42:21 ?? org.exadel.jsf.PhaseTracker afterPhase
            INFO: AFTER APPLY_REQUEST_VALUES(2)
            28 ╔??? 2008 4:42:21 ?? org.exadel.jsf.PhaseTracker beforePhase
            INFO: BEFORE PROCESS_VALIDATIONS(3)
            28 ╔??? 2008 4:42:21 ?? org.exadel.jsf.PhaseTracker beforePhase
            INFO: BEFORE PROCESS_VALIDATIONS(3)
            28 ╔??? 2008 4:42:21 ?? org.exadel.jsf.PhaseTracker afterPhase
            INFO: AFTER PROCESS_VALIDATIONS(3)
            28 ╔??? 2008 4:42:21 ?? org.exadel.jsf.PhaseTracker afterPhase
            INFO: AFTER PROCESS_VALIDATIONS(3)
            28 ╔??? 2008 4:42:21 ?? org.exadel.jsf.PhaseTracker beforePhase
            INFO: BEFORE UPDATE_MODEL_VALUES(4)
            28 ╔??? 2008 4:42:21 ?? org.exadel.jsf.PhaseTracker beforePhase
            INFO: BEFORE UPDATE_MODEL_VALUES(4)
            28 ╔??? 2008 4:42:21 ?? org.exadel.jsf.PhaseTracker afterPhase
            INFO: AFTER UPDATE_MODEL_VALUES(4)
            28 ╔??? 2008 4:42:21 ?? org.exadel.jsf.PhaseTracker afterPhase
            INFO: AFTER UPDATE_MODEL_VALUES(4)
            28 ╔??? 2008 4:42:21 ?? org.exadel.jsf.PhaseTracker beforePhase
            INFO: BEFORE INVOKE_APPLICATION(5)
            28 ╔??? 2008 4:42:21 ?? org.exadel.jsf.PhaseTracker beforePhase
            INFO: BEFORE INVOKE_APPLICATION(5)
            28 ╔??? 2008 4:42:21 ?? org.exadel.jsf.PhaseTracker afterPhase
            INFO: AFTER INVOKE_APPLICATION(5)
            28 ╔??? 2008 4:42:21 ?? org.exadel.jsf.PhaseTracker afterPhase
            INFO: AFTER INVOKE_APPLICATION(5)
            28 ╔??? 2008 4:42:21 ?? org.exadel.jsf.PhaseTracker beforePhase
            INFO: BEFORE RENDER_RESPONSE(6)
            28 ╔??? 2008 4:42:21 ?? org.exadel.jsf.PhaseTracker beforePhase
            INFO: BEFORE RENDER_RESPONSE(6)
            28 ╔??? 2008 4:42:22 ?? org.exadel.jsf.PhaseTracker afterPhase
            INFO: AFTER RENDER_RESPONSE(6)
            28 ╔??? 2008 4:42:22 ?? org.exadel.jsf.PhaseTracker afterPhase
            INFO: AFTER RENDER_RESPONSE(6)
            



            • 3. Re: Problem with Firefox 3.0.1
              moshstef

              The same problem with the Panel Menu appears on the Live Demo of 3.1.6:

              http://livedemo.exadel.com/richfaces-demo-3.1.6.GA/richfaces/panelMenu.jsf?c=panelMenu

              When can we expect a fix for this?

              • 4. Re: Problem with Firefox 3.0.1
                marinew

                Hi,

                I meet the same problem, which is really blocking.
                I'm migrating my webapp to Firefox 3, as I was told that RichFaces isn't anymore supported on Firefox 2...
                When clicking on a panelMenuItem, the bean action is never fired. I see no JS or Java error. The samed page is just reloaded.

                I found an issue titled "PanelMenu: action is not fired in FF3" here : https://jira.jboss.org/jira/browse/RF-4239
                Probably the one that is discussed here.
                When can we expect a fix or a workaround for this problem, please ?

                Thanks in advance.

                • 5. Re: Problem with Firefox 3.0.1
                  nbelaevski

                  Hi,

                  No that's not true. Firefox 2.x versions are still supported. We have no planned releases for 3.1.x branch for now so I cannot say anything. Please watch for JIRA issue, I'll post workaround there if any.

                  • 6. Re: Problem with Firefox 3.0.1
                    marinew

                    Hi Nick,

                    Thanks for your reply.

                    Concerning Firefox support, that's not what I was told here http://www.jboss.com/index.html?module=bb&op=viewtopic&t=138462#4163041 :

                    dear marinew, have you tried FireFox 3.x? Unfortunately, we don't support FireFox 2.x after 3.x has been released.


                    About the panelMenu problem, even if 3.1.x release is not yet planned, did you find the origin of the problem ? Could it be possible for us to correct this problem manually in RichFaces sources and then build it ?

                    I have to upgrade to FF3, as I have other constraints in the webapp.

                    Thanks in advance.

                    • 7. Re: Problem with Firefox 3.0.1
                      ilya_shaikovsky

                      about support FF 2 - our guys was mistaken. It's still supported for sure.

                      • 8. Re: Problem with Firefox 3.0.1
                        nbelaevski

                         

                        "marinew" wrote:
                        Hi Nick,

                        Thanks for your reply.

                        Concerning Firefox support, that's not what I was told here http://www.jboss.com/index.html?module=bb&op=viewtopic&t=138462#4163041 :
                        dear marinew, have you tried FireFox 3.x? Unfortunately, we don't support FireFox 2.x after 3.x has been released.


                        About the panelMenu problem, even if 3.1.x release is not yet planned, did you find the origin of the problem ? Could it be possible for us to correct this problem manually in RichFaces sources and then build it ?

                        I have to upgrade to FF3, as I have other constraints in the webapp.

                        Thanks in advance.


                        We're busy working for 3.2.2 release right now. I'll see what we can do with the problem after release.

                        • 9. Re: Problem with Firefox 3.0.1
                          marinew

                          Thanks for your reply, I'll wait....

                          • 10. Re: Problem with Firefox 3.0.1
                            nbelaevski

                            I've added patch file to the JIRA issue. After replacement of one line in panelMenu.js actions started working. I haven't tested the change thouroughly, but it should work ok.

                            • 11. Re: Problem with Firefox 3.0.1
                              marinew

                              Thanks a lot for your reactivity.
                              After changing the source and building RF, it seems to work.