Re: [appfuse-user] ajax and datepicker on 2m4

2007-06-01 Thread Matt Raible
FWIW, I checked all the Dojo integration into the "dojo-integration" branch. If you'd like to see how to implement the DropdownDatePicker widget with Struts or Spring MVC, checkout the following links. https://guest:@appfuse.dev.java.net/svn/appfuse/branches/dojo-integration/ Changelog: http://f

Re: [appfuse-user] ajax and datepicker on 2m4

2007-06-01 Thread Matt Raible
On 5/31/07, J. David Mendoza <[EMAIL PROTECTED]> wrote: Answered down below... Matt Raible wrote: > On 5/31/07, J. David Mendoza <[EMAIL PROTECTED]> wrote: >> I've just tried the autocompleter after seen the datetimepicker and >> optiontransferselect tags work... the autocompleter tag uses strut

Re: [appfuse-user] ajax and datepicker on 2m4

2007-05-31 Thread J. David Mendoza
Answered down below... Matt Raible wrote: On 5/31/07, J. David Mendoza <[EMAIL PROTECTED]> wrote: I've just tried the autocompleter after seen the datetimepicker and optiontransferselect tags work... the autocompleter tag uses struts 2 js that don't come in the dojo distribution. Do these req

Re: [appfuse-user] ajax and datepicker on 2m4

2007-05-31 Thread Matt Raible
On 5/31/07, J. David Mendoza <[EMAIL PROTECTED]> wrote: I've just tried the autocompleter after seen the datetimepicker and optiontransferselect tags work... the autocompleter tag uses struts 2 js that don't come in the dojo distribution. Do these require changing dojo to be local as well as ad

Re: [appfuse-user] ajax and datepicker on 2m4

2007-05-31 Thread J. David Mendoza
Couldn't make the ajax theme tags work... so there's no autocompleter with this solution :( David M. J. David Mendoza wrote: I've just tried the autocompleter after seen the datetimepicker and optiontransferselect tags work... the autocompleter tag uses struts 2 js that don't come in the dojo

Re: [appfuse-user] ajax and datepicker on 2m4

2007-05-31 Thread J. David Mendoza
I've just tried the autocompleter after seen the datetimepicker and optiontransferselect tags work... the autocompleter tag uses struts 2 js that don't come in the dojo distribution. And yes it takes forever to load/build the calendar. If you're going to use this tag just for the calendar I'd

Re: [appfuse-user] ajax and datepicker on 2m4

2007-05-31 Thread Matt Raible
It should - do you have an example you'd like me to try? There's lots on http://struts.apache.org/2.0.6/docs/ajax-tags.html, but I'd prefer to try something that you've tried and doesn't work. Matt On 5/31/07, J. David Mendoza <[EMAIL PROTECTED]> wrote: Does the autocompleter tag work with this

Re: [appfuse-user] ajax and datepicker on 2m4

2007-05-31 Thread J. David Mendoza
Does the autocompleter tag work with this solution? David M. Matt Raible wrote: I took the debugging part out and used what the Struts folks were outputting instead. // Dojo configuration djConfig = { baseRelativePath: "

Re: [appfuse-user] ajax and datepicker on 2m4

2007-05-30 Thread Matt Raible
I took the debugging part out and used what the Struts folks were outputting instead. // Dojo configuration djConfig = { baseRelativePath: "", isDebug: false, bindEncoding: "UTF-8"

Re: [appfuse-user] ajax and datepicker on 2m4

2007-05-30 Thread Jason Thrasher
Glad it worked! and +1 for adding to RC1. I forgot to mention that you can see dojo's debug output by adding this to the bottom of default.jsp: -Jason mraible wrote: > > Thanks Jason - these instructions worked! > > I'm going to make the following changes for RC1: > > 1. Add Dojo 0.4

Re: [appfuse-user] ajax and datepicker on 2m4

2007-05-30 Thread Matt Raible
Thanks Jason - these instructions worked! I'm going to make the following changes for RC1: 1. Add Dojo 0.4.3 to struts/src/main/webapp/scripts/dojo 2. Change Struts' decorators/default.jsp to load Dojo (so users won't need ). 3. Modify decorators.xml and web.xml to properly include/exclude Dojo

Re: [appfuse-user] ajax and datepicker on 2m4

2007-05-27 Thread thrasher
Just a note after some testing: the aforementioned technique seems to work for M4 and M5. However, I didn't realize that this may be simplified in M5 by this: http://issues.appfuse.org/browse/APF-739 -Jason -- View this message in context: http://www.nabble.com/ajax-and-datepicker-on-2m4-tf38

Re: [appfuse-user] ajax and datepicker on 2m4

2007-05-27 Thread thrasher
I have the datepicker working on 2.0-M4 (modular Struts2) after adding dojo v0.4.2 files to the web module. Here's what I had to do: 1) Unzip dojo js files into myproject/web/src/main/webapp/scripts/dojo/. The "dojo.js" and the dojo "src" directory should be there at a minimum. 2) Add an exclud

Re: [appfuse-user] ajax and datepicker on 2m4

2007-05-25 Thread J. David Mendoza
what browser are you trying it on? I've had problems with ie, with firefox it works fine... David M. Will Berger wrote: Fyi...in 2m4 and probably 2m5, there seems to be a problem where the datepicker and the ajax head tag can't coexist on a page and function properly. On 2m4 I was doing the d

Re: [appfuse-user] ajax and datepicker on 2m4

2007-05-25 Thread Will Berger
Fyi...in 2m4 and probably 2m5, there seems to be a problem where the datepicker and the ajax head tag can't coexist on a page and function properly. On 2m4 I was doing the dojo.js include suggested in previous posts, which is the only way i could get the datepicker running. Will mraible wrot

Re: [appfuse-user] ajax and datepicker on 2m4

2007-05-24 Thread Matt Raible
I've tried just about everything to get the tag to work in 2.0 M5. I've disabled SiteMesh (as well as all other filters), changed the extension to .action, copied the dojo files locally and turned off static rendering using . Nothing works. Does anyone have a example that works with any workarou

Re: [appfuse-user] ajax and datepicker on 2m4

2007-05-24 Thread Matt Raible
Do you have example code so I can try to reproduce this problem locally? Thanks, Matt On 5/24/07, Will Berger <[EMAIL PROTECTED]> wrote: was wondering if anyone has gotten the struts2 datepicker and the ajax working together on the same page. If i add the ajax tags, the datepicker stop worki

[appfuse-user] ajax and datepicker on 2m4

2007-05-24 Thread Will Berger
was wondering if anyone has gotten the struts2 datepicker and the ajax working together on the same page. If i add the ajax tags, the datepicker stop working. If I take out datepicker and the dojo include, the ajax tags start working. Any help much appreciated. Will -- View this message in