Community
Participate
Working Groups
This is a follow up of http://www.eclipse.org/newsportal/article.php?id=6734&group=eclipse.technology.rap#6734 ---- Error Message:------------------------------------ Could not evaluate javascript response: Ungültiges Argument. org.eclipse.swt.EventUtil.suspendEventHandling(); [...] org.eclipse.swt.Request.getInstance().enableUICallBack(); --------------------------------------------------------- (Note: lines between suspendEventHandling/enableUICallBack were removed) What I figured out: If in a TableViewer column i is empty, i.e. getText of its label provider always returns an empty string for column at position i, then this error will occur. When the label provider just returns dummy values for column i, this does not happen. Affected browsers: IE 6/8 (I did not install 7) Working browsers: Opera 9.60, Firefox 3.0.8 I will try to extract a demo to reproduce this error...
IE 8 has a nice js debugger: The problem seems to be this line: node.style.width=width+org.eclipse.swt.widgets.TableItem.PX "width" is not initialized(?), i.e. it has -1 as its value I suppose rwt cannot determine a column width as all cells of that column are empty and the variable "width" remains uninitialized. But IE complains about "-1px" not being a valid argument (which does make sense). Where is that js created? I would like to check/validate this and rerun with the patched version...
Created attachment 139529 [details] works in IE This patch resolves the issue in IE8. Though, I am not sure why the width is decremented by 1 before being set...
(In reply to comment #2) > This patch resolves the issue in IE8. > > Though, I am not sure why the width is decremented by 1 before being set... Thanks for the patch, we will look into this.
Applied the patch with a slight modification.