Wanted to add a note to my findings. When I tried to run this on a linux
machine, the datepicker did not work. The issue turned out to be related to
scriptaculous. Commenting it out made it work.
Will
Will Berger wrote:
>
> Ok...I think I am finally there. Thanks everyone for the input. Here is
> what my findings were.
>
>
> 1. I need to copy /scripts/dojo directory in the struts jar to
> webapp/scripts dir
> 2. I needed to include
> <script type="text/javascript" src="<c:url
> value='/scripts/dojo/dojo/dojo.js'/>"></script>.
>
> It did not require to be in the body.
>
> 3. Sitemesh does need to have the following entry in the decorators.xml
> file
> <excludes>
> <pattern>/resources/*</pattern>
> <pattern>/scripts/dojo/*</pattern>
> </excludes>
>
> This gets rid of the header footer repainting itself when you click on the
> calendar icon.
>
> 4. I did not have any issues with scriptaculous or prototype.js
>
> 5. Had css rendering problems on specifically the datepicker not the time
> picker. It would insert a blank row between the month header and the days
> header and between the days and the year footer of the datepicker window.
> Also the font size was extremely small. After some investigation, found
> the problem to be in the theme's typos.css'. Specifically, when I comment
> out the following it seems to render properly.
>
> // Fixes the problem of the blank rows in the under the month header and
> above the year footer. The year footer still doesn't display properly.
> You can see the borderof the table
> /* table {
> font-size: 1em;
> margin: 0 0 1.5em 0;
> padding: 0;
> }
> */
>
> // This fixes the days displaying in very small font size. Causes
> undersired effects everywhere else in the app. Fonts to big.
> body {
> text-align: left;
> font-family: verdana, arial, helvetica, sans-serif;
> font-size: 100%; /* Use to be 76% */
> line-height: 1em;
> color: #444;
> }
>
> If anyone could recommend some css changes that would be great. I know
> very little about css.
>
> Will
>
>
>
--
View this message in context:
http://www.nabble.com/datepicker-problems-in-appfuse-2m4-tf3603239s2369.html#a10200181
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]