Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » [Theming][Text] Internet Explorer ignores css tags on disabled Text Widgets(Not possible to get rid of shadow on disabled Text widgets)
[Theming][Text] Internet Explorer ignores css tags on disabled Text Widgets [message #1016927] Fri, 08 March 2013 03:58 Go to next message
Fabian Henniges is currently offline Fabian Henniges
Messages: 6
Registered: March 2013
Junior Member
RWT renders Text widgets as HTML input elements with style.
Disabled Text widgets are rendered as input elements with disabled=true.

While theming works fine on these elements in mozilla and webkit browsers, IE ignores it.

index.php/fa/13746/0/

You might reproduce it starting up the RAP demo and changing the rendered HTML with some web dev tool.

I do not have an idea how to fix or workaround. You?
Re: [Theming][Text] Internet Explorer ignores css tags on disabled Text Widgets [message #1017078 is a reply to message #1016927] Fri, 08 March 2013 16:05 Go to previous messageGo to next message
Markus  rüger is currently offline Markus rüger
Messages: 364
Registered: July 2009
Senior Member
If I remember correctly, this is not an issue of RAP. It is an IE isse thst
dors not allow the change of the background color. Maybe IE10 csn do it,
but IE 7-9 does not. A common workaround is to use readonly instead of
disabled.




Fabian Henniges <forums-noreply@xxxxxxxx> wrote:
> RWT renders Text widgets as HTML input elements with style.
> Disabled Text widgets are rendered as input elements with disabled=true.
>
> While theming works fine on these elements in mozilla and webkit browsers, IE ignores it.
>
>
>
> You might reproduce it starting up the RAP demo and changing the rendered
> HTML with some web dev tool.
>
> I do not have an idea how to fix or workaround. You?
> [Binärdaten ausgeblendet...]
> begin 644 IE_input_tag_disabled.jpg

[Updated on: Mon, 11 March 2013 14:24] by Moderator

Report message to a moderator

Re: [Theming][Text] Internet Explorer ignores css tags on disabled Text Widgets [message #1017238 is a reply to message #1017078] Mon, 11 March 2013 05:36 Go to previous message
Fabian Henniges is currently offline Fabian Henniges
Messages: 6
Registered: March 2013
Junior Member
Maybe it is possible to let the client part of RAP handle this quirk of IE.
Rendering the disabled Text as <div/> instead of <input/>?
Previous Topic:org.eclipse.swt Dependency issues with RAP 2.0 and Tycho Build
Next Topic:TreeViewer : how to set focus on a particular cell
Goto Forum:
  


Current Time: Thu Jul 31 19:50:56 EDT 2014

Powered by FUDForum. Page generated in 0.04070 seconds