Forums de discussion

Vaadin 6 Portlets and IE 10

thumbnail
Dave F, modifié il y a 10 années.

Vaadin 6 Portlets and IE 10

Junior Member Publications: 30 Date d'inscription: 29/01/13 Publications récentes
I am developing some portlets for Liferay 6.1.20 EE GA2 using Vaadin 6.8.10.

This was working well, until testing the portlets under IE 10. It looks like there is a bug in Vaadin 6 affected by sub-pixel rendering in IE 10:
http://dev.vaadin.com/ticket/9115

Vaadin suggests a workaround (and states that this has been incorporated into Vaadin 6.8.3) here:
http://dev.vaadin.com/ticket/9462

This workaround doesn't seem to work for portlets, however.

So my questions are:
  • Is the workaround suggested by Vaadin the best approach in the context of a portlet on Liferay?
  • If so, What is the best way to incorporate Vaadin's workaround (adding <meta name="X-UA-Compatible" content="IE=9; chrome=1">) portal-wide
  • If not, what alternatives are there?


Please note that upgrading to Vaadin 7 may not be feasible, as we are required to support IE 7.

Thanks
Nisarg Parikh, modifié il y a 10 années.

RE: Vaadin 6 Portlets and IE 10

Expert Publications: 262 Date d'inscription: 31/12/09 Publications récentes
Hi,

I am facing the same issue with the same version of Liferay and Vaadin you are working on.

Unfortunately, we cannot do anything for this issue as of now.

Vaadin 6.8 and Liferay 6.1 both does not support IE10 so we have to wait.

Has anyone has any specific workaround for this issue?

Thank you.

Nisarg
thumbnail
David H Nebinger, modifié il y a 10 années.

RE: Vaadin 6 Portlets and IE 10

Liferay Legend Publications: 14916 Date d'inscription: 02/09/06 Publications récentes
Dave F:
If not, what alternatives are there?


Yeah, the sub pixels are a pain. Fortunately it represented itself as a number format exception, so I used the stack trace and the Vaadin source to create my own release... I'd override the Vaadin method to parse a Double and extract the int portion.

Works pretty well, but I have to apply the update at every Vaadin release.
thumbnail
Dave F, modifié il y a 10 années.

RE: Vaadin 6 Portlets and IE 10

Junior Member Publications: 30 Date d'inscription: 29/01/13 Publications récentes
I ended up forcing IE 9 compatibility mode.

We did this by adding the following to the portal_normal.vm template in our theme:
<meta http-equiv="X-UA-Compatible" content="IE=9">

One thing I did notice was that I had to put the tag immediately following the <head> tag in the template. Even including whitespace after the tag seemed to prevent it from working.

It's a workaround, but it seems to get the job done. Hopfeully this is of help to anyone else running into the same issue.

Appreciate the responses!