There is a way to open a new window with results from a click, but it
may not be the best solution for what you want.  What are you trying
to display?

You will have the Anchor target set to "_blank" or similar.  In the
Url you will need to provide the page you want and any parameters.
Something similar to http://127.0.0.1:8888/index.html#myPage!param1=value1.
This will load your entire application in the new window.  Now you
need to display GTDWeb2 by having your app see the page/parameters
passed and display the appropriate page. Hopefully your using history
and can just call History.getToken() to get the page/parameters.

On Jun 30, 1:19 pm, Ashish <[email protected]> wrote:
> Hi
>
> I am facing one problem
>
> I need to show a output of a file in a new window on onClickEvent.
>
> First File
> public class GTDWeb1 implements EntryPoint{
>
>    public void onModuleLoad() {
>    ------------------
>    -----------------
>
>   --- here is onClick event----
>  }
>
> }
>
> --------------------------------------------------------------------------- 
> -------------
> Second File
> public class GTDWeb2 extends SimplePanel{
>    public void onLoad() {
>    ------------------
>    -----------------
>  }
>
> }
>
> Thers is one onClick Event in my first file as shown above. I need to
> open a new window which should have output of second file (GTDWeb2).
> is it possible in GWT ? I am new in GWT help me.
>
> Please anyone help me, I need to solve this urgently....

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to