Re: [appfuse-user] datepicker problems in appfuse 2m4

2007-05-02 Thread Nathan Anderson
ssage - From: "J. David Mendoza" <[EMAIL PROTECTED]> To: users@appfuse.dev.java.net Sent: Wednesday, May 2, 2007 7:20:10 AM (GMT-0800) America/Los_Angeles Subject: Re: [appfuse-user] datepicker problems in appfuse 2m4 I'm still having trouble with it... I had it working a few

Re: [appfuse-user] datepicker problems in appfuse 2m4

2007-05-02 Thread J. David Mendoza
To: users@appfuse.dev.java.net Sent: Tuesday, May 1, 2007 3:03:50 PM (GMT-0800) America/Los_Angeles Subject: Re: [appfuse-user] datepicker problems in appfuse 2m4 I think my dojo stuff is loading correctly now. I compared the differences between m4 and m5-snapshot and it appears the filter mappings

Re: [appfuse-user] datepicker problems in appfuse 2m4

2007-05-01 Thread Nathan Anderson
ava.net Sent: Tuesday, May 1, 2007 3:03:50 PM (GMT-0800) America/Los_Angeles Subject: Re: [appfuse-user] datepicker problems in appfuse 2m4 I think my dojo stuff is loading correctly now. I compared the differences between m4 and m5-snapshot and it appears the filter mappings need to have th

Re: [appfuse-user] datepicker problems in appfuse 2m4

2007-05-01 Thread Nathan Anderson
ROTECTED]> To: users@appfuse.dev.java.net Sent: Tuesday, May 1, 2007 1:14:23 PM (GMT-0800) America/Los_Angeles Subject: Re: [appfuse-user] datepicker problems in appfuse 2m4 I'm trying to apply this technique in an AppFuse 2.0-M4 app but it doesn't seem to be working for me. In Fireb

Re: [appfuse-user] datepicker problems in appfuse 2m4

2007-05-01 Thread Nathan Anderson
users@appfuse.dev.java.net Sent: Thursday, April 26, 2007 1:25:42 PM (GMT-0800) America/Los_Angeles Subject: Re: [appfuse-user] datepicker problems in appfuse 2m4 You're right Matt... the StaticFilter works! I finally have it working... I didn't have to extract the static folder in struts.j

Re: [appfuse-user] datepicker problems in appfuse 2m4

2007-04-26 Thread J. David Mendoza
You're right Matt... the StaticFilter works! I finally have it working... I didn't have to extract the static folder in struts.jar or change the extension from *.html to something else, I just had to: - Change the parser in sitemesh.xml to (commented out the 3 lines of HTMLPageParser): cl

Re: [appfuse-user] datepicker problems in appfuse 2m4

2007-04-26 Thread Will Berger
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. H

Re: [appfuse-user] datepicker problems in appfuse 2m4

2007-04-25 Thread Matt Raible
AFAIK, the StaticFilter works if the resource in on the filesystem. It doesn't work if the resource is in Struts' JAR file. If it's served from a JAR file, it's not exactly static is it. ;-) Since Struts recommends moving the Dojo files to your filesystem, I don't know that if we should fix the

Re: [appfuse-user] datepicker problems in appfuse 2m4

2007-04-25 Thread J. David Mendoza
Another way to get the struts2 ajax features working (dojo), is to add some lines to the decorators.xml, change the parser in the sitemesh.xml and change the .html struts mapping so you can remove the staticFilter. Decorator's lines: /styles/* /scripts/* /images/*

Re: [appfuse-user] datepicker problems in appfuse 2m4

2007-04-23 Thread Michael Horwitz
I inlcuded this in a separate css style file to overide the typo.css styling (no need to comment out anything in typo.css): /** * Overide the settings from typo.css to make sure the Dojo calendar dropdown displays properly. */ table.calendarContainer, table.monthContainer, table.calendarBodyCont

Re: [appfuse-user] datepicker problems in appfuse 2m4

2007-04-23 Thread Will Berger
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 . It did not require to be in the body. 3. Sitemesh does need to have the following entry

Re: [appfuse-user] datepicker problems in appfuse 2m4

2007-04-23 Thread Michael Horwitz
I have it working. For me it was just a matter of excluding the path to the dojo html templates from being decorated using Sitemesh: I have the following path in the excludes section of my decorators.xml file: /scripts/dojo/* I did have some additional issues to do with styling for tables, but t

Re: [appfuse-user] datepicker problems in appfuse 2m4

2007-04-22 Thread Will Berger
Was wondering if anyone has gotten the dojo datepicker working successfully with appfuse 2.0m4? Can't seem to get the header and footer problem to go away. Was wondering if it is my setup and i need to work a little harder at it, or bigger issue. Will Aridany Ramirez wrote: > > The folder

Re: [appfuse-user] datepicker problems in appfuse 2m4

2007-04-20 Thread Will Berger
I tried both these things and it did not help. It is very odd. When you click on the display the datepicker shows the month/time screen, above it you see the application name header and then it has the footer. when you select a day. the 2nd header and footer disappear. I turned off sitemesh di

Re: [appfuse-user] datepicker problems in appfuse 2m4

2007-04-19 Thread Aridany Ramirez
The folders seems to be ok, i have that way too. The problem with headers and footers probably will be related with staticFilter configuration, take a look at your web.xml, you need to change param-value to point /script/dojo/*. Something like this: staticFilter org.appfuse.weba

Re: [appfuse-user] datepicker problems in appfuse 2m4

2007-04-19 Thread Michael Horwitz
You need to make sure that SiteMesh is not decorating the html snippets returned from Dojo. To do this include the path to the Dojo static in the excludes section of decorators.xml. Mike On 4/19/07, Will Berger <[EMAIL PROTECTED]> wrote: Aridany, Thanks for the info. Certainly got me furthe

Re: [appfuse-user] datepicker problems in appfuse 2m4

2007-04-19 Thread Will Berger
Aridany, Thanks for the info. Certainly got me further along. Something odd is happening though. When I click on the date picker it rerenders the headers and footers in addition to the date screen. Not sure where to go with this. Also, based on your instructions, my directory looks a little

Re: [appfuse-user] datepicker problems in appfuse 2m4

2007-04-19 Thread J. David Mendoza
Aridany, I think it would be great if you could write a HOWTO in AppFuse's website on how to setup dojo... Aridany Ramirez wrote: You need to copy the files inside "org/apache/struts2/static" folder, from struts2-core-2.0.6.jar to /scripts/dojo. Then make an include with dojo.js in the body of

Re: [appfuse-user] datepicker problems in appfuse 2m4

2007-04-19 Thread Aridany Ramirez
You need to copy the files inside "org/apache/struts2/static" folder, from struts2-core-2.0.6.jar to /scripts/dojo. Then make an include with dojo.jsin the body of the jsp where you want to use dojo widgets. This way Prototype and Scriptaculous won´t be a problem with default configuration in appf

Re: [appfuse-user] datepicker problems in appfuse 2m4

2007-04-18 Thread Will Berger
Cancel that It can't find dojo apparently. dojo undefined javascript error message. I did try commenting out prototype, scriptaculous. Will Will Berger wrote: > > no javascript errors. > > will > > > > Aridany Ramirez wrote: >> >> Are you getting any javascripts errors??? Maybe is a p

Re: [appfuse-user] datepicker problems in appfuse 2m4

2007-04-18 Thread Will Berger
no javascript errors. will Aridany Ramirez wrote: > > Are you getting any javascripts errors??? Maybe is a problem with dojo > includes. > > > > 2007/4/18, Matt Raible <[EMAIL PROTECTED]>: >> >> If you disable SiteMesh for your app, or exclude this JSP, does it work? >> >> On 4/18/07, Will

Re: [appfuse-user] datepicker problems in appfuse 2m4

2007-04-18 Thread Aridany Ramirez
Are you getting any javascripts errors??? Maybe is a problem with dojo includes. 2007/4/18, Matt Raible <[EMAIL PROTECTED]>: If you disable SiteMesh for your app, or exclude this JSP, does it work? On 4/18/07, Will Berger <[EMAIL PROTECTED]> wrote: > > I was wondering if anyone has run into

Re: [appfuse-user] datepicker problems in appfuse 2m4

2007-04-18 Thread Matt Raible
If you disable SiteMesh for your app, or exclude this JSP, does it work? On 4/18/07, Will Berger <[EMAIL PROTECTED]> wrote: I was wondering if anyone has run into this. I am trying to use the datepicker and it doesn't seem to render in the html page. When I go to the struts cookbook demo site

[appfuse-user] datepicker problems in appfuse 2m4

2007-04-18 Thread Will Berger
I was wondering if anyone has run into this. I am trying to use the datepicker and it doesn't seem to render in the html page. When I go to the struts cookbook demo site. The datepicker generates just fine. I took the example page and tried running it in appfuse. It also did not run. Anyone