tags:

views:

30

answers:

1

hi,

im new to GWT ive been working on it since recently..

i want to know how can i go from "entry point page" ie,ImageViewer.java.. ive been suggested to create the memory by calling constructor on a perticular button

Button button = new Button("New button");
 button.addClickHandler(new ClickHandler() {
 public void onClick(ClickEvent event) 
 {
  new LookupMaster(); //this is a composite
 }
 });

but this is not working.. i guess v can only call or get alert messages using this type..

can some one help me.

+1  A: 

I'm not sure how to answer, since I have the feeling you're not understanding the basic concepts totally, but that's just my interpretation.

GWT is one html page that via JavaScript methods changes the content of that one page. When you want to display 'another' page you need to do this via methods that update the html dynamically. Since you are just starting with GWT, you might want to read this page on Build User Interfaces to understand the concepts and look at some examples provided with GWT.

Hilbrand