Hello Narasimha,

you wrote that you call qx.core.Init.getApplication() and that you get the Login page instead of the application from your application.js. From where do you call getApplication()? If you are calling this from an iframe you have to use parent.qx.core.Init.getApplication().

Please let me know if I could help you.

Cheers,
Jonathan


On 08.07.2009, at 14:39, patkar_n001 wrote:


Hello,

I have a main application window split into two panes. The bottom pane has a
embed IFrame.
From a html source opened in the iFrame window i want to change the source
of the iframe to another html source on a button click event.

For example: In the main application.js I have
+++++++++++++++++++++++++++++++++++++++++
this.__iframe.setSource("myapplication/login.html");
+++++++++++++++++++++++++++++++++++++++++

on a button click in login.js, I need to set the Iframe source to another
html (home.html).
Since Iframe object, which is created in application.js, is not available in
login.js I am not able to
do the following,
++++++++++++++++++++++++++++++++++
iframe.setSource("myapplication/home.html");
++++++++++++++++++++++++++++++++++

Can you please let me know how this can be achieved.

Warm regards,
Narasimha

--
View this message in context: 
http://www.nabble.com/Iframe-source-change-tp24390721p24390721.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

--
Jonathan Weiß
JavaScript-Framework-Entwickler

Development Technology & Architecture - Web Technologies

1&1 Internet AG
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver Mauss, Jan Oetjen Aufsichtsratsvorsitzender: Michael Scheeren

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to