Nickolay Ponomarev schrieb:
> On 5/21/07, Norbert Püschel <[EMAIL PROTECTED]> wrote:
>> ww.openWindow(null,"chrome://messenger/content/addressbook/abEditCardDialog.xul",
>>  
>>
>>                null, 'chrome,centerscreen', { abURI:abook.value,
>> card:card } );
>>
> Unfortunately, openWindow is not that easy to use. If you search MDC
> for 'openWindow', one of the hits you get is
> http://developer.mozilla.org/en/docs/Working_with_windows_in_chrome_code#Example_1:_Passing_data_to_window_when_opening_it_with_openDialog
>  
> 
> which points to an example in the source code:
> http://lxr.mozilla.org/seamonkey/source/extensions/help/resources/content/contextHelp.js#70
>  
> 
> 
> It would be nice if someone extracted the example and documented it at
> http://developer.mozilla.org/en/docs/How_To_Pass_an_XPCOM_Object_to_a_New_Window
>  
> 
> (right now the example on that page is not that useful).
> 
> Nickolay

Well, unfortuntely these examples don't help and don't seem to work. The 
  first and second example only show code that passes strings, not 
objects. The third example is exactly what I tried to do, but 
unfortunately it simply doesn't work as documented!

Any other ideas?

N. Püschel
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to