Vue combinée Vue Plate Arborescence
Sujets [ Précédent | Suivant ]
toggle
Dave F
Vaadin 6 Portlets and IE 10
12 septembre 2013 08:05
Réponse

Dave F

Rang: Junior Member

Publications: 30

Date d'inscription: 29 janvier 2013

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
RE: Vaadin 6 Portlets and IE 10
17 septembre 2013 03:50
Réponse

Nisarg Parikh

Rang: Expert

Publications: 262

Date d'inscription: 30 décembre 2009

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
David H Nebinger
RE: Vaadin 6 Portlets and IE 10
17 septembre 2013 05:36
Réponse

David H Nebinger

Community Moderator

Rang: Liferay Legend

Publications: 11262

Date d'inscription: 1 septembre 2006

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.
Dave F
RE: Vaadin 6 Portlets and IE 10
17 septembre 2013 09:02
Réponse

Dave F

Rang: Junior Member

Publications: 30

Date d'inscription: 29 janvier 2013

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:
1<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!