Re: Calling a different HTML page

2009-05-06 Thread harjit.singh
Thanks for the answer. When I have multiple modules and try to run the application. The GWT webserver asks me to choose a module to run. Is there any way to specify a default module to run when you have more than one module ? Thanks - Harjit On May 5, 8:20 pm, Vishesh visheshs...@gmail.com

Re: Calling a different HTML page

2009-05-06 Thread Salvador Diaz
Google Web Toolkit 1.6.4 HostedMode [-noserver] [-port port-number | auto] [-whitelist whitelist-string] [-blacklist blacklist-string] [-logLevel level] [- gen dir] [-style style] [-ea] [-server servletContainerLauncher] [- startupUrl url] [-war dir] [-extra dir] [-workDir dir] [-localWorkers

Re: Calling a different HTML page

2009-05-06 Thread Vishesh
I implemented a much easier way of defining which default module to use while loading or compiling. Create a completely new .html .css file pointing to your other module and you can edit the eclipse .launch file by changing the line code stringAttribute

Re: Calling a different HTML page

2009-05-05 Thread Sumit Chandel
Hi Harjit, Assuming that you really need these windows to be actual native browser windows (and not simply popup panels, in which case you could use the PopupPanel class), and further assuming that the HTML in the new windows will need to be populated with some data from the server-side, here is

Re: Calling a different HTML page

2009-05-05 Thread harjit.singh
Sumit, Thanks for your solution. This is the same way I did it. I have a question on the same lines Is there any way that link call a different GWT module ? Thanks - Harjit On May 5, 2:53 pm, Sumit Chandel sumitchan...@google.com wrote: Hi Harjit, Assuming that you really need these

Re: Calling a different HTML page

2009-05-05 Thread harjit.singh
Sumit, Thanks for the response. I did the way you described it using JSP. I have one more question on the same lines. how can I call another module from a link ? Thanks - Harjit On May 5, 2:53 pm, Sumit Chandel sumitchan...@google.com wrote: Hi Harjit, Assuming that you really need these

Re: Calling a different HTML page

2009-05-05 Thread Vishesh
Try the code between the tags: code String lnk = GWT.getModuleBaseURL() + newPage.html?Parameter1= + parameter1 Parameter2= + parameter2; Window.open(lnk,New Window,); /code It will open a new window which can be a different module with its onw onModuleLoad() within the same project. Hope this

Calling a different HTML page

2009-05-01 Thread harjit.singh
Hi there, I have an GWT application. Right now what I'm doing is that I'm displaying the data in a single grid with all the buttons in a row . Each button has a listener. when i click one of the buttons, it hides the other widgets and displays the required widgets on the same page and displays