PDA

View Full Version : New Browser window with Ext GWT content



jonas sabu
13 Mar 2011, 11:58 AM
Hi all,

I wanted to open a new browser window with some Ext GWT content. Is it possible?
For example I want when i click a button to open a FormPanel in a new browser window.

micgala
14 Mar 2011, 12:51 AM
Hi.
When using Gwt, we are dealing with a "new" paradigm... there are no pages anymore, but now an application.
If you want to open a new browser window with a formPanel, you will need a second entry point page... so, this new window will open another application.

You can use GWT Window.open to open a new browser window.

Regards,
Michel.

jonas sabu
14 Mar 2011, 4:56 AM
I know that but how do i create that second entry point using the window.open ?
I have no idea how to code it...

micgala
14 Mar 2011, 5:00 AM
Basically, you simply open another URL with Window.open...
And that url will point to the other entrypoint/application.

What you must understand is that you need to create probably another application... the application that will be opened in the other window...