How to open a new browser with gxt components
Is it possible to open a new browser window ( not in gxt window component ) from current application with gxt components like grid
I know that com.google.gwt.user.client.Window.open() opens a new browser
to which i can specify a URL . How can i add the new browser with gxt components
For example i have a gxt client side file which shows grid which reads the data from the sever ( say file name as Showlogs)
In my main application i have a button when i click that button I want to open
this showlogs screen in new browser (not a gxt window component) .
How do i link this Showlogs screen with a URL
com.google.gwt.user.client.Window.open() need a URL
If i use a jsp file or html file then how can i show that Showlogs screen inside that jsp or html page .
In ext js i can point the URL to a jsp page and in that jsp page i can use
Ext.onReady() after including the script in that jsp page and show a gird
But how to do this in Ext gwt
This is nothing GXT specific. The URL has to point to an application entrypoint and there you handle the request.
I guessed little on that
U mean to say I should have 2 entry points in the gwt.xml file
or i should have 2 gwt.xml file with each having a entry point
Actually i tried both the ways ..
I m getting error in that
I created 2 modules main project module and another my log module
my log module has log.html file
If i include my log module in the project module gwt.xml file and if i run i get error saying
not able to load the log module in the main module gwt xml even though i inherited my log module there .
If i add two entry point in one main project xml file . which ever is first runs and then gets
disappear and the second entry points starts running and if i again click my link to open
new browser it gives me same error saying not able to load the module in the main gwt.xml file
How to point the URL to another application entrypoint
If u can give me proper steps to be followed to do that it will be helpful
or some links or examples which has two entry points or i mean two html files
I tried a lot in googling but not getting proper link
I'll be really thankful to you
Hi Samwell I have the same issue, can you make it works? Thanks in advance