Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
New Developer
prad
Posts: 1
Registered: ‎11-05-2009
My Device: Not Specified

JavaScript self.opener not working in BlackBerry Bold 9000 Simulator

Hi Friends,

 

I am trying to make it work my application in Blackberry Bold phones. I installed simulator and able to see initial screen. One of my link opens the new window (<a href = "newpage.jsp" >) and i'll do some operations at DB side and closes that new window and refreshes the parent page.

 

I was using self.opener.updateMyPage('<MyPageURL'>);  // updateMyPage() is a javascript method in parent page

 to refresh parent window.

 

This is not working... Can any one tell me where exactly I am doing wrong.

 

NOTE: This above statement works when i access application from desktop, but not works from Blackberry bold simulator.

 

Thanks a lot

 

-Prad

 

Please use plain text.
Developer
Posts: 107
Registered: ‎09-25-2008
My Device: Not Specified

Re: JavaScript self.opener not working in BlackBerry Bold 9000 Simulator

Sounds like you need the browser to support multi-window browsing and/or tabbed browsing, which it doesn't do. Instead of opening a new window you can try having a hidden iframe and use that to do the stuff instead.

Please use plain text.