Community
Participate
Working Groups
Created attachment 195495 [details] Example The background color of Text/Combo is not always applied. The standard css theme value will be used initialy. But when a color is set manually with setBackground the new color will not be applied. The same happens with css-states like read-only. This was tested using the following themes: own custom theme, rap-default and fancy The old classic theme does not have this problem. A small sample dialog is attached. The background of CCombo, DateTime, Label is working. But not for Text/Combo. Tested wird RAP 1.4M7 and HEAD (RWT-standalone). Last tested working version was RAP 1.4M5.
The reason for this issue is the new default background gradient set on Combo/Text by the default theme. As a temporary workaround, reset the Combo/Text CSS background-image property to none in your custom CSS.
The workaround with the css backround-image worked.
Because of the default background gradient, the background mode does not work for Text/Combo as well. Reproducible with Controls Demo -> Composite tab, change "background mode" radio buttons.
Created attachment 195700 [details] Proposed patch This patch remove/reset background gradient from the server-side if background color have to be set.
The patch looks good to me. Applied to CVS HEAD.