Bug in CellTable.Resources when migrating to GWT 2.4

65 views
Skip to first unread message

Ayala

unread,
Feb 1, 2012, 10:20:05 AM2/1/12
to Google Web Toolkit
Hi,
After the migration to GWT 2.4 from GWT 2.3,
my cellTable is not affected anymore by the CellTable.Resources.

I tried to debug the problem and saw that in the method
replaceAllRows
in the class AbstractCellTable<T>.Impl
The style is removed on the line
section.setInnerHTML(html.asString());

While the html.asString contain the right html content, table rows
with the right style,
after using the setInnerHtml command , the section (tbody) does not
contain <tr> and <td> but only <div>.

I saw in another thread that there is a bug in IE8 and IE9 with the
setInnerHtml and setContent shoule be used instead.

How can I ovveride this method??

I would appriciate your help

Ayala


Thomas Broyer

unread,
Feb 1, 2012, 11:50:21 AM2/1/12
to google-we...@googlegroups.com
Which browser is having the problem?

IE should use the ImplTrident class, which doesn't use innerHTML on table elements.

Ayala

unread,
Feb 2, 2012, 4:47:55 AM2/2/12
to Google Web Toolkit
Thanks for you reply.
I am using IE9, the code reach the Impl class and not ImplTrident .
I tried it also on a sample applicaiton.

Ayala

unread,
Feb 2, 2012, 6:58:48 AM2/2/12
to Google Web Toolkit
I think that there is a problem in my runtime user.agent.
When I add to my .gwt.xml file the property
<set-property name="user.agent" value="ie9" />

and I run the application in ie9,
I recieve the following message:
"ERROR: Possible problem with your *.gwt.xml module file.
The compile time user.agent value (ie9) does not match the runtume
user.agent value (safari).
expect more errors"

Is it related?

Thanks
Ayala

Thomas Broyer

unread,
Feb 2, 2012, 7:28:05 AM2/2/12
to google-we...@googlegroups.com
Do you have Chrome Frame installed?

Are you using third-party libs that could mess with the user.agent property-provider?

Ayala

unread,
Feb 5, 2012, 2:09:01 AM2/5/12
to Google Web Toolkit
Thank you very much,
Uninstalling the Google chrome frame does the trick,
Unfortunately we need it :-(
When do you expect to have a fix for this problem?

Thanks
Ayala
Reply all
Reply to author
Forward
0 new messages