I've been using GWT for several years now but after updating to the
2.1.0 release I'm seeing hundreds of warnings, mostly to do with the
deprecation of ui panels (e.g., DockPanel).  I assume the panels
weren't strictly compatible with the UIBinder (something I haven't
gotten into), so new LayoutPanels were needed, but does this mean the
previous panels need to be deprecated?

I've looked into updating my (for example) DockPanels to
DockLayoutPanels and they aren't close to the same.  I've just started
and I've already come up with:

 * Docs say you must use standards mode (not a big problem)

 * Docs say you should use RootLayoutPanel instead of RootPanel, but I
can't do this because I need to grab specific components from the DOM
with RootPanel.get(String)

 * The DockLayoutPanel constructor takes a unit (for what?)

 * The DockLayoutPanel takes a size parameter when adding an element
(but I don't know what the size is)

 * The DockLayoutPanel isn't a cell panel so you can't set alignment
(there is likely a way around this)

So now I have 500 warnings in my IDE and no easy way to fix them.  I
completely understand that code needs to be deprecated from time to
time, but I don't feel like it was done with reasonable alternatives
nor do I feel like it was ready to make official.  Looking at the
Showcase it still has DockPanel as one of the layout options (included
with other deprecated items) and no usage of DockLayoutPanel.

Do I have any other alternatives other than reverting back to 2.0.x?

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

Reply via email to