Calling HTMLTable.setText or .setWidget always creates a <td>
element.  ALWAYS.  I cannot find a way to create within a FlexTable a
<th> element.  There's com.google.gwt.user.client.DOM.createTH() but I
don't see how to get it into a FlexTable.

True, to most people, there's no difference between <th> and <td>
except in how you write your CSS.  However the difference is critical
to assistive technologies. See http://html.cita.illinois.edu/nav/dtable/
and you'll see what I mean.  From what I read, one cannot have a
<table> that complies with either Section 508 or W3C Web Content
Accessibility Guidelines without <th> elements.  This seems to me a
critical shortcoming in using GWT.

Am I missing something?  Can you tell that I'm catching hell on this
sort of thing?  (Those of you who may be writing for a government or
public entity may find yourself in a similar fix.)

I'd already extended FlexTable to handle double clicks, so I tried
adding setHeaderText() method. By copying and modifying some HTMLTable
methods, I can make setHeaderText() work, but I can't make a
setHeaderWidget() method work because I need to modify HTMLTable's
widgetMap, and that member is private.

I see this issue is already listed as an enhancement (http://
code.google.com/p/google-web-toolkit/issues/detail?id=2956), and I've
added my vote.  However it seems that I'm gonna have to modify quite a
bit of GWT source, or toss our 3+ years of work and switch to Dojo or
some other kit.

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