On Monday, July 15, 2013 6:33:56 PM UTC+2, Magnus wrote:
Hi Thomas,thank you!To understand it right: Why isn't it possible to declare a FlexTable in GWT Designer, with 2 rows and 3 cells? It works with Grid but it doesn't with FlexTable. GWT Designer lets me insert a FlexTable, but it won't let me put widgets into the FlexTable.
Those widgets need special parsers to work in UiBinder, and nobody made one for FlexTable (because, honestly, in 90% of the cases a <table> in an HTMLPanel is what you need, so it wasn't worth the effort). Grid was much simpler to support, and it's worth noting that it was initially contributed by a community member (not by Google).
And concerning the documentation: Where can I see which attributes are available to the different widgets in XML?
You should be able to find everything in the javadoc.
The basics are in http://www.gwtproject.org/javadoc/latest/com/google/gwt/user/client/ui/UIObject.html
And then each specifics for a widget is in the javadoc for the widget itself, generally in a "Use in UiBinder" section; for example: http://www.gwtproject.org/javadoc/latest/com/google/gwt/user/client/ui/DockLayoutPanel.html
For example, where can I read what is the right name for the cell tags within a FlexTable and the names of the attributes, e. g. "colspan" or "colSpan"...
So the answer is: there aren't any ;-)
-- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment