Re: [Trinidad] js issue while handling PPR inside a tr:panelPopup

2008-02-26 Thread Renzo Tomaselli
This issue appeared once more, while selecting from tr:selectOneListbox with autosubmit="true" and processing the PPR response. Same reason, same behavior: blocking forever, IE only. The focus() call is in Core.js, method _pprControlCapture. The patch is: window.setTimeout("document.getElement

Re: [Trinidad] js issue while handling PPR inside a tr:panelPopup

2008-02-22 Thread Renzo Tomaselli
Done - see https://issues.apache.org/jira/browse/TRINIDAD-967 -- Renzo Andrew Robinson wrote: Good. Do you want to file a bug and upload a patch? A timeout of 0 or 1 ms should be sufficient. -Andrew On Fri, Feb 22, 2008 at 9:51 AM, Renzo Tomaselli <[EMAIL PROTECTED]> wrote: A

Re: [Trinidad] js issue while handling PPR inside a tr:panelPopup

2008-02-22 Thread Andrew Robinson
Good. Do you want to file a bug and upload a patch? A timeout of 0 or 1 ms should be sufficient. -Andrew On Fri, Feb 22, 2008 at 9:51 AM, Renzo Tomaselli <[EMAIL PROTECTED]> wrote: > > Andrew, yes - using setTimeout solves the problem. Just put: > > if (_agent && _agent.isIE) >

Re: [Trinidad] js issue while handling PPR inside a tr:panelPopup

2008-02-22 Thread Renzo Tomaselli
Andrew, yes - using setTimeout solves the problem. Just put:         if (_agent && _agent.isIE)             window.setTimeout("document.getElementById('" + refocusId + "').focus()", 1000);         else             activeNode.focus(); Btw I noticed a similar problem today in a different contex

Re: [Trinidad] js issue while handling PPR inside a tr:panelPopup

2008-02-22 Thread Andrew Robinson
I am wondering if this ought to be called in a window setTimeout. Any way you can modify the code locally and attempt to see if that helps? On Fri, Feb 22, 2008 at 1:30 AM, Renzo Tomaselli <[EMAIL PROTECTED]> wrote: > > Yes, I followed the PPR response handling on FF/Firebug - but there all is >

Re: [Trinidad] js issue while handling PPR inside a tr:panelPopup

2008-02-22 Thread Renzo Tomaselli
Yes, I followed the PPR response handling on FF/Firebug - but there all is ok. Then I investigated on IE 6/7 by means of placing alerts everywhere. There is no return from calling focus(), although no errors are reported - even on IE 7 with IE developer toolbar activated. -- Renzo Andrew Robi

Re: [Trinidad] js issue while handling PPR inside a tr:panelPopup

2008-02-21 Thread Andrew Robinson
Hmmm, you say this is during the PPR application? I think there is a bug in IE that causes exceptions to be thrown if setFocus is called from the PPR "thread" -Andrew On Thu, Feb 21, 2008 at 3:04 AM, Renzo Tomaselli <[EMAIL PROTECTED]> wrote: > Hi, I have a panelPopup containing a number of link

[Trinidad] js issue while handling PPR inside a tr:panelPopup

2008-02-21 Thread Renzo Tomaselli
Hi, I have a panelPopup containing a number of links with partialSubmit="true". The panel itself is enclosed into a panelGroupLayout bound to a bean. This binding allows to define the enclosing panel as a PPR target through addPartialTarget(), no matter which links triggers it. So the overall s