IE9 compatability mode checkbox display issue

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

IE9 compatability mode checkbox display issue

ncrofts
Test.zip

Hi,

That earlier message about IE9 uploading has made me uncover another issue, but this time in IE9 compatibility mode.

There appears to be a problem rendering <xforms:select appearance="full"> controls which should be displayed as a checkbox. In all browsers other than IE9 compatibility mode this control is correctly rendered, but in this case the checkboxes are shown as normal input boxes.

It seems fairly subtle as the problem only shows up when you late load an instance data. Normally this is then dynamically updated, but in IE9 compatibility it incorrectly displays the instance data.

I've attached a sample that reproduces the issue. If there is a workaround to make this work that would be great.

Regards,
Neil
Reply | Threaded
Open this post in threaded view
|

RE: IE9 compatability mode checkbox display issue

ricetrac
Hello,

I had the same thing with IE9 and upload in combination with Orbeon 3.8.
Try this : add the following meta tag to your pages:


<xhtml:meta http-equiv="X-UA-Compatible" content="IE=8" />

Julien.


-----Message d'origine-----
De : ncrofts [mailto:[hidden email]]
Envoyé : vendredi 11 novembre 2011 11:42
À : [hidden email]
Objet : [ops-users] IE9 compatability mode checkbox display issue

http://orbeon-forms-ops-users.24843.n4.nabble.com/file/n4031021/Test.zip
Test.zip

Hi,

That earlier message about IE9 uploading has made me uncover another issue, but this time in IE9 compatibility mode.

There appears to be a problem rendering <xforms:select appearance="full"> controls which should be displayed as a checkbox. In all browsers other than
IE9 compatibility mode this control is correctly rendered, but in this case the checkboxes are shown as normal input boxes.

It seems fairly subtle as the problem only shows up when you late load an instance data. Normally this is then dynamically updated, but in IE9 compatibility it incorrectly displays the instance data.

I've attached a sample that reproduces the issue. If there is a workaround to make this work that would be great.

Regards,
Neil


--
View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/IE9-compatability-mode-checkbox-display-issue-tp4031021p4031021.html
Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.

Think green - keep it on the screen.

This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: IE9 compatability mode checkbox display issue

ncrofts
Julien,

Thanks for this suggestion. I've tried this, but it it still seems to fail in the same way. Based on the information you I had a look to see what mode the IE debugger thinks it is in. It seems the issue is occurring when IE has the following mode settings:

"Browser Mode: IE9 Compat View"
"Document Mode: IE7 Standards"

Changing the Document Mode via the debugger to  IE8 Standards or IE9 Standards does indeed solve the rendering issue.

However the X-UA-Compatible meta-tag definition on its own seems not to be sufficient (in this particular case at least). I need to read up a bit more on what is actually determining the Document Mode and see if I can then generate the appropriate code. I'll post back a solution as soon as I find it.

Thanks for pointing me in this direction.

Regards,
Neil

Reply | Threaded
Open this post in threaded view
|

Re: RE: IE9 compatability mode checkbox display issue

Erik Bruchez
Administrator
Neil,

So this is with 3.9?

-Erik

On Mon, Nov 14, 2011 at 4:13 PM, ncrofts <[hidden email]> wrote:

> Julien,
>
> Thanks for this suggestion. I've tried this, but it it still seems to fail
> in the same way. Based on the information you I had a look to see what mode
> the IE debugger thinks it is in. It seems the issue is occurring when IE has
> the following mode settings:
>
> "Browser Mode: IE9 Compat View"
> "Document Mode: IE7 Standards"
>
> Changing the Document Mode via the debugger to  IE8 Standards or IE9
> Standards does indeed solve the rendering issue.
>
> However the X-UA-Compatible meta-tag definition on its own seems not to be
> sufficient (in this particular case at least). I need to read up a bit more
> on what is actually determining the Document Mode and see if I can then
> generate the appropriate code. I'll post back a solution as soon as I find
> it.
>
> Thanks for pointing me in this direction.
>
> Regards,
> Neil
>
>
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/IE9-compatability-mode-checkbox-display-issue-tp4031021p4041393.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: RE: IE9 compatability mode checkbox display issue

ncrofts
Erik,

Yes, it occurs with 3.9.

I've only had a little time to experiment, but I found that removing the DOCTYPE definition from xforms-epilogue.xpl has an effect on the browser Document Mode. This puts the mode that IE9 Compat Mode uses to "Quirks" mode instead of IE 7 mode. Still not what I am looking for, but I'm trying to track down what rules are actually being applied to determine the browser document mode. My initial reading indicated that using the meta tag that Julien described should have been enough, but there must be some other combination effect going on that is causing the issue to persist.

Regards,
Neil
Reply | Threaded
Open this post in threaded view
|

Re: RE: IE9 compatability mode checkbox display issue

ncrofts
Erik,

It appears that the position of the meta tag in the header is important. I placed the following at the start of the head and now the Document Mode is set to IE9 Standards and the checkboxes are then display correctly. Previously there was some other elements output by the theme before the meta tag.

Anyway, this seems to solve the original problem.


<xhtml:meta http-equiv="X-UA-Compatible" content="IE=Edge;" />

Thanks for everyone's input.

Neil