struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joseph Seo (JIRA)" <j...@apache.org>
Subject [jira] Commented: (WW-2484) Styles from templateCssPath ignored
Date Wed, 15 Oct 2008 02:18:37 GMT

    [ https://issues.apache.org/struts/browse/WW-2484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44834#action_44834
] 

Joseph Seo commented on WW-2484:
--------------------------------

THIS BUG SHOULD BE REOPENED.

The test performed was invalid.

The previous test cannot reproduce the bug because 'width' in .calendarContainer class is
NOT DEFINED in default css (within struts jar) - 
which means 'width' will never be overwritten.

Try with replacing background image or color, then it will always fail.





> Styles from templateCssPath ignored
> -----------------------------------
>
>                 Key: WW-2484
>                 URL: https://issues.apache.org/struts/browse/WW-2484
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Dojo Tags
>    Affects Versions: 2.0.11, 2.0.11.1, 2.0.12, 2.1.0, 2.1.1
>            Reporter: Mike Calmus
>             Fix For: 2.1.3
>
>
> I copied the normal DatePicker.css to a local directory and made some changes. When I
use the following tag:
>   <s:datetimepicker name="startDate" id="startDate" templateCssPath="/stylesheets/customDatePicker.css"
displayFormat="MM/dd/yyyy" />
> The styles specified in the modified file, though are not used. Running the popup through
FireBug (https://addons.mozilla.org/en-US/firefox/addon/1843) shows that the modified styles
are all overriden by the default styles. In effect, those specified by the templateCssPath
are ignored.
> I assume this is some sort of Dojo issue. Perhaps upgrading to dojo 0.9+ would fix it?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message