I think your opener page(a.k.a. 'launching page') should have been blocked as 
long as the dialog is open. A.F.A.I.K. on launching the trinidad(v. 1.2.4 
onwards) dialog in IE 6 or 7 the launching page remains blocked. I am not sure 
how you have been able to close the opener page.  pl elaborate ... may be I 
could get it  then.

Thanks,
Dushyant.


--- On Mon, 26/1/09, Mikulas Cserge <[email protected]> wrote:
From: Mikulas Cserge <[email protected]>
Subject: [Trinidad] JavaScript Error on actions when Trinidad page is open in  
popup
To: [email protected]
Date: Monday, 26 January, 2009, 3:49 PM

Hello,

I get a JavaScript error on attempt to submit any Trinidad action if a Trinidad 
page was open in a new popup window and the opener page was closed meanwhile.

The JavaScript is noticeable only when "Display a notification on every script 
error" is turned on in Internet Explorer. (Tools -> Internet Options -> 
Advanced).




The error message is different in IE 6 and IE 7:

IE 6 (v: 6.0.2900.2180.xpsp_sp2_gdr.070227-2254CO) - Permission denied
IE 7 (v: 7.0.5730.13CO) - The callee (server [not server application]) is not 
available and disappeared; all connections are invalid. The call did not 
execute.




I was able to reproduce it using "trinidad-demo-1.0.10.war". The only 
modification what I did is to introduce an extra index_new.jspx:

...
<tr:document title="Apache Trinidad Demo New Index">



 <f:verbatim>
  <a href="#" onClick="window.open('index.jspx', 'popup', 
'height=600,width=800');">open</a>
 </f:verbatim>
</tr:document>



...

Steps to reproduce:

1, Open index_new.jspx and click on "open" link. This will open the original 
Trinidad example page in new popup.
2, Close the opener page.
3, Click on "Component Guide". If "Display a notification on every script 
error" is activated in IE, you should get a dialog with the mentioned 
JavaScript error report.





Is that a bug in Trinidad?


Regards,
Miki








      Add more friends to your messenger and enjoy! Go to 
http://messenger.yahoo.com/invite/

Reply via email to