Dear all!

i was surprised, even disappointed, when i realized how GWT (ab)uses
html tables.
For instance the vertical panel and the tree widget ARE html tables.
why it is so??
should not it be much better just to use a list of DIVs (or even a UL)
for the vertical panel and nested ULs for the tree??
i mean, in the days of HTML5, CSS3, ria, and so on... semantically
correct markup is a MUST BE.

well, perhaps there is a really good reason behind it...

so i would be really happy if somebody could help me to understand the
idea...
or has somebody already written semantic widgets and wants to share
them ;)

thanks
Michael

PS: i was just thinking that a tree item could have been composed by a
vertical panel, so if i implement the vertical panel as an UL i would
get automagically a nested ULs tree, but it is not :(
but i think that is what i will do now :)

PS2: i think code like
http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/user/client/ui/Tree.java#945:
DOM.setStyleAttribute(getElement(), "zoom", "1");

should also better go in a TreeImplIE class as in
http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/user/client/ui/TreeItem.java#99:
  /**
   * IE specific implementation class for {...@link TreeItem}.
   */
  public static class TreeItemImplIE6 extends TreeItemImpl {
    @Override
    void convertToFullNode(TreeItem item) {
      super.convertToFullNode(item);
      DOM.setStyleAttribute(item.getElement(), "marginBottom", "0px");
    }
  }

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to