1 2 Previous Next 20 Replies Latest reply on Apr 6, 2008 11:38 PM by modoc

    Stumped on ModalPanel

      I have been using 3.1.3GA for some time now. I tried updating to 3.1.4 but had a problem with ModalPanels working in that version. I am now trying to update to the latest version of 3.2.0 and still having the same problem. I have tried the simple examples in the documentation and can't even get those to display. I have no idea whats going on here. I am using firefox 1.5. Whenever I click on a link to show a modal it just freezes up my browser window. No matter what I do I cant get a modalpanel to display. I would post some code, but its just the same as the examples in the docs.

        • 1. Re: Stumped on ModalPanel
          todd.nash

          We have had the same problem with our modal panels in 3.1.4. We have experienced similar problems with some of the other components that worked in 3.1.3 but not in 3.1.4.

          We were not able to get any solutions to our problems from this forum. The responses were that since the simple examples work, it must be your code.

          We backed out the 3.1.4 upgrade and stuck with 3.1.3.

          Good luck to you.

          • 2. Re: Stumped on ModalPanel

            I dont see how this component can be working for anyone. I just created a new webapp in Netbeans 6.0. Using glassfish v2 as my app server. I downloaded the latest commons dependencies from the web and just tried to create one page to display the modalpanel. Still freezes up my browser. This is the most basic modalpanel I can create and it still does not work. Here is the code:

            <html>
             <head>
             <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
             <title>JSP Page</title>
             </head>
             <body>
             <f:view>
             <h:form>
             <a4j:commandButton value="showPopup" onclick="Richfaces.showModalPanel('myPopup')" />
             </h:form>
            
             <rich:modalPanel id="myPopup">
             <h:form>
             <h:outputText value="Test Value" />
             </h:form>
             </rich:modalPanel>
            
             </f:view>
             </body>
            </html>


            • 3. Re: Stumped on ModalPanel

              And just so everyone knows. The demos on the website freeze my browser also.

              • 4. Re: Stumped on ModalPanel
                jbpringuey

                I am running into the same issue . Are you on MAC/OS or windows?
                On windows, it works for me but on MAC/OS it does not work at all...

                step to reproduce:

                go to http://livedemo.exadel.com/richfaces-demo/richfaces/modalPanel.jsf?c=modalPanel

                with FF and window -> it works
                with FF and MAC/OS -> freeze
                with safari and MAC/OS -> booom safari is not reponding...

                Is there a bug filed for this?

                • 5. Re: Stumped on ModalPanel

                  I am running on a MAC/OS. Havent tried it in windows. Kind of a big deal if it doesn't work in MAC/OS

                  • 6. Re: Stumped on ModalPanel
                    jbpringuey

                    I have open a critical ticket (blocker for us):
                    http://jira.jboss.com/jira/browse/RF-2919

                    • 7. Re: Stumped on ModalPanel
                      oneilltg

                      We had to make a small tweak after upgrading to a previous version, though I don't remember if it was when we upgraded to 3.1.4. Previously, the id of the modal panel did not have to match the show modal panel statement. We had to make sure that the "xxxx" in the show modal panel matches the id in the rich:modalPanel.


                      page which uses the modal panel:

                      <a4j:commandButton oncomplete="Richfaces.showModalPanel('xxxx)"


                      modal panel code:

                      <rich:modalPanel id="xxxx" minHeight="580" minWidth="410"
                      height="580" width="410" >

                      • 8. Re: Stumped on ModalPanel

                         

                        with FF and window -> it works
                        with FF and MAC/OS -> freeze
                        with safari and MAC/OS -> booom safari is not reponding...


                        How about Safari and Windows?

                        What the Safari version, BTW?

                        • 9. Re: Stumped on ModalPanel

                           

                          "oneilltg" wrote:
                          Previously, the id of the modal panel did not have to match the show modal panel statement.

                          What does it mean?

                          P.S. The Richfaces.showModalPanel is depricated (but still works). There are two recommended methods to launch. See:
                          http://livedemo.exadel.com/richfaces-demo/richfaces/modalPanel.jsf

                          • 10. Re: Stumped on ModalPanel
                            jbpringuey

                             


                            How about Safari and Windows?

                            What the Safari version, BTW?


                            I have not tried Safari and Windows. The safari version I am using on mac is the latest 3.1.

                            • 11. Re: Stumped on ModalPanel

                               

                              "jbpringuey" wrote:

                              How about Safari and Windows?

                              What the Safari version, BTW?


                              I have not tried Safari and Windows. The safari version I am using on mac is the latest 3.1.


                              We tested against Safari 3.1 for windows. Works perfect. So, looks like pure MacOs problem.

                              • 12. Re: Stumped on ModalPanel

                                Does this seem like a problem that could be easily fixed? The only reason I am wondering is because I would like to use some of the new components in the new version.

                                • 13. Re: Stumped on ModalPanel
                                  jbpringuey

                                  Yes it is happenning only on MAC OS but it was working well before, this is a regression that has been introduced between 3.1.2 and 3.1.3. (so it is on 3.1.4 and 3.2.0)

                                  • 14. Re: Stumped on ModalPanel

                                    if it does not work on your side since 3.1.2 why you kept it in secret for such a long period of time?

                                    1 2 Previous Next