|
|
|
[
Permlink
| « Hide
]
Joan Lafferty - [07/11/07 06:37 PM ]
Opening to Jason since this has to do with the style changes to PopUpManager, DateField and DateChooser made for Moxie.
The CalendarLayout type selector's definition for the color style was taking precedence over the inherited style from the DateField. This is the expected behavior for inherited styles. However, for the DateField, we want to make it seem more like a unified component.
The solution is to assign a StyleProxy with no filters to the styleName of the DateField dropdown. This means no nonInheriting styles will get passed through, but that inheriting styles will be calculated in a different order, giving precedence to the override in the DateField. In order to get the dateChooserStyleName class selector onto the DateChooser, I had to reimplement the hack of putting the class selector onto the styleDeclaration of the DateChooser. Not ideal, but necessary to resolve this issue. The StyleProxy filters are not exposed because we don't want any nonInheriting styles to be passed from the DateField to the DateChooser. That's what the dateChooserStyleName style is for. confirmed fixed in build 176668. Closing bug.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||