You can read more about UiBinder here:
http://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html
Whether you use GWT designer or not, you can build what you're wanting
with the standard widgets. My suggestion would be build what you're
looking for with GWT designer and look at the generated code to
familiarize yourself with the different widgets. I haven't used GWT
designer much, but I think its support for UiBinder is still beta. But
once you get a feel for what widgets you'll need, I would try to
implement it in UiBinder.
To create a layout where clicking a menu on the left will change the
content on the right, you don't have to change the visibility of the
component, although you can. What you can do is attach a widget/
component to the view when it is needed, then remove it and replace it
with the next one. Look at this page of the example stockwatcher
application to get an idea of how to wrap html elements with widgets:
http://code.google.com/webtoolkit/doc/latest/tutorial/buildui.html
On Dec 11, 10:19 am, natas ribeiro.si...@gmail.com wrote:
Hi, I'm pretty new to GWT and while experimenting with it I've come up
with some doubts:
I want to create a website that has a stackPanel on the left and that
shows the content on the right. I want this content to be dynamic,
depending on which menu gets selected from the stackPanel. From what I
understood I should use something like a SplitVerticalPanel to divide
the stackPanel from the content part, but I don't see how I should
implement this or what components to use to manage the different
content pages. Can anyone shed some light into this? Do I have to
create different panels for the different contents and then switch
their visibility? What is the best way to do this? Plus, can your
solution be used with Code Splitting?
I've come to realize that the uiBinder is a more efficient way to
define the layout of the application opposed to coding it in Java. I'm
planning on using the GWT Designer to create the composite(s) of the
site. Depending on how you answer the first question, can I use the
GWT Designer to draw the various content pages?
Even though I'll be using the designer to create the composite, where
can I read more about the uiBinder API?
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.