I have worked with web for ages, and although I am not that good at
web design, I can make passable pages in HTML. However, going to the
GWT world, I feel a bit lost about how to setup my UI, and organize
classes and such. I create panels and add components, but I really am
not sure how to set things up to look good. One approach I am trying a
bit now is to have panels, and have the elements as anonymous class
extensions off the fields:

public class SomePanel extends FlowPanel {
    private final TextBox search = new TextBox() {{
            addStyleName("span-10");
            addKeyUpHandler(...);
    }};
    {
        add(search);
    }
}

I am also considering now to just write things up in HTML, then
convert it all to DOM.create, but that seems overly verbose. I really
hope UiBinder becomes available soon, as that seems to be closer to
what I would like to have. Anyone got any good advice for how I should
organize classes and panels?

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