voyent
Multiple popupPanel troubles  XML
Forum Index -> Components
Author Message
stockb

Joined: 01/May/2012 10:39:41
Messages: 26
Offline


Hi Icesoft,

Last night I spent several hours trying to find a solution to this problem, to no avail. Hopefully someone on this forum has some sage advice for me. :-)

I have a page and I would like to have one popupPanel showing an operation's progress, and at the conclusion of the operation, I would like another popupPanel to appear with a summary of the operation with buttons controlling which action to take next. I originally had the popupPanels' 'visible' properties linked to a backing bean boolean which works for a single popup. However, when I added the second popup on top of the first, I encountered problems. When transitioning from one popup to another, after closing the second popup, the grey modal background remains.

Some searching on the topic resulted in the discovery of this thread: http://jforum.icesoft.org/JForum/posts/list/16121.page which recommends setting the "visible" boolean to the "rendered" attribute as well. This prevents the persistant modal background, but introduces a new isssue: after closing the popup, all buttons, links, etc. are inactive. That is, the links don't do anything; I don't even get the "spinning wheel" indicating that a request is being processed. The only message shown in Firebug on clicking on a link after the closing of the popups is,
Code:
[window] persisted focus for element "fieldsForm:j_idt13:j_idt14:j_idt16:j_idt17:link"bridge.j...=31945330 (line 1203)
 [icepush] received noopicepush....=31945330 (line 630)
 [icepush.33330.async-connection] closing previous connection...icepush....=31945330 (line 630)
 [icepush.33330.async-connection] connect...


Curiously enough, if I set the second popup's modal="false", the popup doesn't show up at all! Am I missing something, or are panelPopups particularily buggy?

This is very frustrating as I've spent so much time trying to get what would seem like a relatively simple task to work the way I'd expected. Of course, as a beginner, it is very possible that I've made some silly mistake somewhere. Do the gurus of Icesoft have any suggestions?


EDIT: Additional information-

I've noticed that in the case where the popup closes properly and successfully removes the background, and results in freezing of all interaction with links, buttons, etc., that the following messages are dumped from Firebug. Perhaps they mean something to someone with more knowledge than I.

Code:
 [window.compat] Draggable [popups:j_idt308] has already been createdbridge.j...d=1451676 (line 1203)
 [window.compat] Draggable [popups:j_idt366] has already been createdbridge.j...d=1451676 (line 1203)
 [window.compat] Draggable [popups:j_idt415] has already been createdbridge.j...d=1451676 (line 1203)
 [window.compat] Draggable [popups:j_idt421] has already been createdbridge.j...d=1451676 (line 1203)
 [window.compat] Draggable [popups:j_idt540] has already been createdbridge.j...d=1451676 (line 1203)
 [window.compat] Draggable [popups:j_idt874] has already been createdbridge.j...d=1451676 (line 1203)
 [window.compat] Element not found id[popups:j_idt467] element[[object HTMLDivElement]] type [DIV]bridge.j...d=1451676 (line 1203)
 [window.compat] Monitor [popups:j_idt467] has not been replacedbridge.j...d=1451676 (line 1203)
 [window.compat] Monitor [popups:j_idt467] no longer exists in dombridge.j...d=1451676 (line 1203)
 [window.compat] Element replacedbridge.j...d=1451676 (line 1203)
 [window.compat] Monitor [popups:j_idt308] has been replacedbridge.j...d=1451676 (line 1203)
 [window.compat] Element replacedbridge.j...d=1451676 (line 1203)
 [window.compat] Monitor [popups:j_idt366] has been replacedbridge.j...d=1451676 (line 1203)
 [window.compat] Element replacedbridge.j...d=1451676 (line 1203)
 [window.compat] Monitor [popups:j_idt415] has been replacedbridge.j...d=1451676 (line 1203)
 [window.compat] Element replacedbridge.j...d=1451676 (line 1203)
 [window.compat] Monitor [popups:j_idt421] has been replacedbridge.j...d=1451676 (line 1203)
 [window.compat] Element replacedbridge.j...d=1451676 (line 1203)
 [window.compat] Monitor [popups:j_idt540] has been replacedbridge.j...d=1451676 (line 1203)
 [window.compat] Element replacedbridge.j...d=1451676 (line 1203)
 [window.compat] Monitor [popups:j_idt874] has been replacedbridge.j...d=1451676 (line 1203)
 [window.compat] Destroyed monitor [popups:j_idt467]bridge.j...d=1451676 (line 1203)
 [window.compat] Destroyed Draggable [popups:j_idt467]bridge.j...d=1451676 (line 1203)
 [window.compat] Draggable [popups:j_idt308] not destroyedbridge.j...d=1451676 (line 1203)
 [window.compat] Draggable [popups:j_idt366] not destroyedbridge.j...d=1451676 (line 1203)
 [window.compat] Draggable [popups:j_idt415] not destroyedbridge.j...d=1451676 (line 1203)
 [window.compat] Draggable [popups:j_idt421] not destroyedbridge.j...d=1451676 (line 1203)
 [window.compat] Draggable [popups:j_idt540] not destroyedbridge.j...d=1451676 (line 1203)
 [window.compat] Draggable [popups:j_idt874] not destroyedbridge.j...d=1451676 (line 1203)
 [window.compat] Rebuilding [popups:j_idt308]bridge.j...d=1451676 (line 1203)
 [window.compat] Destroyed Draggable [popups:j_idt308]bridge.j...d=1451676 (line 1203)
 [window.compat] Draggable [popups:j_idt366] not destroyedbridge.j...d=1451676 (line 1203)
 [window.compat] Draggable [popups:j_idt415] not destroyedbridge.j...d=1451676 (line 1203)
 [window.compat] Draggable [popups:j_idt421] not destroyedbridge.j...d=1451676 (line 1203)
 [window.compat] Draggable [popups:j_idt540] not destroyedbridge.j...d=1451676 (line 1203)
 [window.compat] Draggable [popups:j_idt874] not destroyedbridge.j...d=1451676 (line 1203)
 [window.compat] Rebuilding Draggable ID[popups:j_idt308] Options[[object Object]]bridge.j...d=1451676 (line 1203)
 [window.compat] Draggable Created ID[popups:j_idt308]bridge.j...d=1451676 (line 1203)
 [window.compat] Added monitor for [popups:j_idt308] type [Draggable]bridge.j...d=1451676 (line 1203)
 [window.compat] Draggable [popups:j_idt308] createdbridge.j...d=1451676 (line 1203)
 [window.compat] Rebuilding Draggable ID[popups:j_idt308] Options[[object Object]] Completebridge.j...d=1451676 (line 1203)
 [window.compat] Rebuilding [popups:j_idt366]bridge.j...d=1451676 (line 1203)
 [window.compat] Destroyed Draggable [popups:j_idt366]bridge.j...d=1451676 (line 1203)
 [window.compat] Draggable [popups:j_idt415] not destroyedbridge.j...d=1451676 (line 1203)
 [window.compat] Draggable [popups:j_idt421] not destroyedbridge.j...d=1451676 (line 1203)
 [window.compat] Draggable [popups:j_idt540] not destroyedbridge.j...d=1451676 (line 1203)
 [window.compat] Draggable [popups:j_idt874] not destroyedbridge.j...d=1451676 (line 1203)
 [window.compat] Draggable [popups:j_idt308] not destroyedbridge.j...d=1451676 (line 1203)
 [window.compat] Rebuilding Draggable ID[popups:j_idt366] Options[[object Object]]bridge.j...d=1451676 (line 1203)
 [window.compat] Draggable Created ID[popups:j_idt366]bridge.j...d=1451676 (line 1203)
 [window.compat] Added monitor for [popups:j_idt366] type [Draggable]bridge.j...d=1451676 (line 1203)
 [window.compat] Draggable [popups:j_idt366] createdbridge.j...d=1451676 (line 1203)
 [window.compat] Rebuilding Draggable ID[popups:j_idt366] Options[[object Object]] Completebridge.j...d=1451676 (line 1203)
 [window.compat] Element replacedbridge.j...d=1451676 (line 1203)
 [window.compat] Monitor [popups:j_idt415] has been replacedbridge.j...d=1451676 (line 1203)
 [window.compat] Element replacedbridge.j...d=1451676 (line 1203)
 [window.compat] Monitor [popups:j_idt421] has been replacedbridge.j...d=1451676 (line 1203)
 [window.compat] Element replacedbridge.j...d=1451676 (line 1203)
 [window.compat] Monitor [popups:j_idt540] has been replacedbridge.j...d=1451676 (line 1203)
 [window.compat] Element replacedbridge.j...d=1451676 (line 1203)
 [window.compat] Monitor [popups:j_idt874] has been replacedbridge.j...d=1451676 (line 1203)
 [window.compat] Monitor [popups:j_idt308] has not been replacedbridge.j...d=1451676 (line 1203)
 [window.compat] Monitor [popups:j_idt366] has not been replacedbridge.j...d=1451676 (line 1203)
 [window.compat] Rebuilding [popups:j_idt415]bridge.j...d=1451676 (line 1203)
 [window.compat] Destroyed Draggable [popups:j_idt415]bridge.j...d=1451676 (line 1203)
 [window.compat] Draggable [popups:j_idt421] not destroyedbridge.j...d=1451676 (line 1203)
 [window.compat] Draggable [popups:j_idt540] not destroyedbridge.j...d=1451676 (line 1203)
 [window.compat] Draggable [popups:j_idt874] not destroyedbridge.j...d=1451676 (line 1203)
 [window.compat] Draggable [popups:j_idt308] not destroyedbridge.j...d=1451676 (line 1203)
 [window.compat] Draggable [popups:j_idt366] not destroyedbridge.j...d=1451676 (line 1203)
 [window.compat] Rebuilding Draggable ID[popups:j_idt415] Options[[object Object]]bridge.j...d=1451676 (line 1203)
 [window.compat] Draggable Created ID[popups:j_idt415]bridge.j...d=1451676 (line 1203)
 [window.compat] Added monitor for [popups:j_idt415] type [Draggable]bridge.j...d=1451676 (line 1203)
 [window.compat] Draggable [popups:j_idt415] createdbridge.j...d=1451676 (line 1203)
 [window.compat] Rebuilding Draggable ID[popups:j_idt415] Options[[object Object]] Completebridge.j...d=1451676 (line 1203)
 [window.compat] Rebuilding [popups:j_idt421]bridge.j...d=1451676 (line 1203)
 [window.compat] Destroyed Draggable [popups:j_idt421]bridge.j...d=1451676 (line 1203)
 [window.compat] Draggable [popups:j_idt540] not destroyedbridge.j...d=1451676 (line 1203)
 [window.compat] Draggable [popups:j_idt874] not destroyedbridge.j...d=1451676 (line 1203)
 [window.compat] Draggable [popups:j_idt308] not destroyedbridge.j...d=1451676 (line 1203)
 [window.compat] Draggable [popups:j_idt366] not destroyedbridge.j...d=1451676 (line 1203)
 [window.compat] Draggable [popups:j_idt415] not destroyedbridge.j...d=1451676 (line 1203)
 [window.compat] Rebuilding Draggable ID[popups:j_idt421] Options[[object Object]]bridge.j...d=1451676 (line 1203)
 [window.compat] Draggable Created ID[popups:j_idt421]bridge.j...d=1451676 (line 1203)
 [window.compat] Added monitor for [popups:j_idt421] type [Draggable]bridge.j...d=1451676 (line 1203)
 [window.compat] Draggable [popups:j_idt421] createdbridge.j...d=1451676 (line 1203)
 [window.compat] Rebuilding Draggable ID[popups:j_idt421] Options[[object Object]] Completebridge.j...d=1451676 (line 1203)
 [window] applied updates >> update["popups"]: <form action="/PrototypeTest/faces/FullF.... update["javax.faces.ViewState"]: 3949348383718989149:-6615854462701661835.... eval: ice.applyFocus('popups:j_idt473');.... eval: new Ice.MenuBarKeyNavigator('fieldsForm:....bridge.j...d=1451676 (line 1203)
 [window] persisted focus for element "fieldsForm:j_idt13:j_idt14:j_idt16:j_idt17:link"bridge.j...d=1451676 (line 1203)
 [window] persisted focus for element "fieldsForm:j_idt13:j_idt14:j_idt16:j_idt17:link"bridge.j...d=1451676 (line 1203)
 [window] persisted focus for element ""bridge.j...d=1451676 (line 1203)
 [icepush] received noopicepush....d=1451676 (line 630)
 [icepush.84969.async-connection] closing previous connection...icepush....d=1451676 (line 630)
 [icepush.84969.async-connection] connect...icepush....d=1451676 (line 630)
 POST http://localhost:8080/PrototypeTest/faces/javax.faces.resource/listen.icepush
 POST http://localhost:8080/PrototypeTest/faces/javax.faces.resource/listen.icepush
 
 
Forum Index -> Components
Go to:   
Powered by JForum 2.1.7ice © JForum Team