struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Musachy Barroso (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (WW-1778) Datetimepicker is ignoring cssStyle and cssClass
Date Sat, 24 Mar 2007 17:25:52 GMT

     [ https://issues.apache.org/struts/browse/WW-1778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Musachy Barroso resolved WW-1778.
---------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.0.8)
                   2.1.0

> Datetimepicker is ignoring cssStyle and cssClass
> ------------------------------------------------
>
>                 Key: WW-1778
>                 URL: https://issues.apache.org/struts/browse/WW-1778
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Views
>    Affects Versions: 2.0.6
>            Reporter: Adam Ruggles
>         Assigned To: Musachy Barroso
>             Fix For: 2.1.0
>
>
> The cssStyle and cssClass do not seem to function on the new datetimepicker.  I looked
in the ftl template for the datetimepicker and it looks like it is checking for the cssStyle
and cssClass however my input box never gets the class value assigned.  I've tried using the
ajax, xhtml, and simple themes, none work.
> I have the following code:
> <ww:date name="account.transitionedtoSupport" format="MM/dd/yyyy" id="transitionedtoSupport"
/>
> <ww:datetimepicker cssClass="short-text" name="account.transitionedtoSupport" value="%{#transitionedtoSupport}"
theme="simple" />
> What is produced is:
> <script type="text/javascript">
>     dojo.require("dojo.widget.DatePicker");
> </script>
> <span id="saveaccount_account_transitionedtoSupport" style="white-space: nowrap;"><input
name="dojo.account.transitionedtoSupport" value="" dojoattachpoint="valueNode" type="hidden"><input
name="account.transitionedtoSupport" value="" style="vertical-align: middle; width: 7em;"
dojoattachpoint="inputNode" autocomplete="off" type="text"> <img src="/finance/struts/dojo/src/widget/templates/images/dateIcon.gif"
alt="Select a date" dojoattachevent="onclick: onIconClick" dojoattachpoint="buttonNode" style="vertical-align:
middle; cursor: pointer;"><div dojoattachpoint="containerNode" style="display: none;
position: absolute; z-index: 10;" class="dojoPopupContainer"><div style="" class="datePickerContainer"
dojoattachpoint="datePickerContainerNode">
> 	<table class="calendarContainer" cellpadding="0" cellspacing="0">
> ...
> ...

-- 
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