hi Thomas,
Thanks for your answer.

But I am still confusing.
And I am in diffuculty  to explain problem. My simple code is here.


I have a MainEntry module and Page1Entry

public class MainEntry implements EntryPoint {
    public void onModuleLoad() {
        RootPanel.get().add(new Label("MainEntry"));
        Anchor page1 = new Anchor("Page1 ", "Page1.html","_blank");
        RootPanel.get().add(page1);
    }
}
public class Page1Entry implements EntryPoint {
    public void onModuleLoad() {
        RootPanel.get().add(new Label("page1"));
    }
}

- how can I build a relation between Page1.html and Page1Entry?
- should Page1Entry be module?
- Is there any alternative solution due to EntryPoint? Forexample can
I use Widget?






On Mon, May 4, 2009 at 5:53 PM, Thomas Broyer <[email protected]> wrote:
>
>
>
> On 4 mai, 12:10, Kemal Dogan <[email protected]> wrote:
>> I have 3 files. index.html (assume Entyrypoint), page1.html(Customer
>> Form), and page2.html(Order Form).
>> when I put, a tag in index.html  like
>> <a href="page1.html" target="_blank">page1</>
>> <a href="page2.html" target="_blank">page2</>
>> But I dont know how can I do in GWT.
>
> Anchor linkToPage1 = new Anchor("page1", "page1.html", "_blank");
> Anchor linkToPage2 = new Anchor("page2", "page2.html", "_blank");
>
> ...and then of course add those widgets to some panel (RootPanel, etc.)
> >
>

--~--~---------~--~----~------------~-------~--~----~
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