Thank you for pointing me to the right spot in the article, it seems
to answer well. So now it seems the setup should be
<ui:binder...>
<ui:style field='local'>
@external .datePickerMonth;
.datePickerMonth { color: white !important; }
</ui:style>
<g:Widget ui:field='datePicker'/>
</ui:binder>
But I am stomped as to how to make the Widget use .datePickerMonth
that I specified instead of the one from standard.css. I don't want to
do addStyleNames='{local.datePickerMonth}' because that would assign
the style at the widget's top level instead of just the month label,
and there is no setMonthStyle thing. I think the functionality that
I'm looking for is some sort of call to create a css resource on the
fly when the widget gets called with my inline .datePickerMonth being
the last css loaded so that it overrides whatever other ones are
there. I don't think there's a call like that, or is there?
I'm thinking something like
<g:Widget ui:field='datePicker'
overrideStyleNames='{local.datePickerMonth}'/>
this should translate to this type of html:
<style type="text/css">
<!--
.datePickerMonth { color: white; }
-->
</style>
<table>
<tbody> .... whatever the widget is....
</table>
.. and then after the widget is done, override again to go back to the
defaults
<style type="text/css">
<!--
.datePickerMonth { } .. since this is empty, it should default to
old values???
-->
</style>
Since I just made that up, would that even work?
Tristan
On Apr 25, 4:36 pm, daniel <
d.brelov...@googlemail.com> wrote:
> have a look at @externalhttp://
code.google.com/intl/de-DE/webtoolkit/doc/latest/DevGuideClien...