Hello, I've recently switch from old frame-based dialog to lightweight dialog, but there are some diferrences and problems.
Following steps are reproducible with current 1.2 trunk in SVN, trinidad-demo module, "Choose integer" demo, environment: Tomcat 6.0.18, JSF RI 1.2._08, Firefox 2 1) With old dialog, there are three request to facesServlet during "choose integer" iteraction: /demos/launchDialog.jspx -> /__ADFv__ -> /demos/chooseInteger.jspx But with lightweight, there are two request to /demos/launchDialog.jspx URL: /demos/launchDialog.jspx -> /demos/chooseInteger.jspx -> /demos/chooseInteger.jspx Dialog is displayed correctly, but is there any reason why is it requested twice? It leads to doubled execution of restore view phase and render response phase for chooseInteger.jspx, as we can see in log if debug is enabled. 2) There is some javascript/ppr timing issue: If lightweight dialog are used and processReturn method (from Return Listener) takes significant time to execution, PPR fails to modify launchDialog.jspx. It can be reproduced for example in debug mode: place breakpoint into LaunchDialogBean.returned(ReturnEvent) and wait for few second (or use Thread.sleep in code), then resume thread. Firebug show a POST error, with POST values like: j_id_jsp_218300993_8=(Empty)&j_id_jsp_218300993_11:rangeStart=0&org.apache.myfaces.trinidad.faces.FORM =j_id_jsp_218300993_2&javax.faces.ViewState=!7f2af73a&source=&rtrn=j_id_jsp_218300993_9&partial=true and no response. With old non-lightweight dialogs it works even processReturn takes minutes. Any ideas? Or is that behaviour inteded? Regards, Martin
