Hello Tuncay...
What I did to get the datetimepicker working was modify the staticFilter in
web.xml
<filter>
<filter-name>staticFilter</filter-name>
<filter-class>org.appfuse.webapp.filter.StaticFilter</filter-class>
<init-param>
<param-name>includes</param-name>
<param-value>/scripts/dojo/*,/dwr/index.html,/struts/*</param-value>
</init-param>
</filter>
Notice the param-value tag.
But I don't use it because it makes the page take a long time to load, I use
the jscalendar (also included in appfuse). If you need instructions for that
let me know...
David M.
2008/6/30 Tuncay A. <[EMAIL PROTECTED]>:
>
> Hi,
>
> Thx, but the AppFuse 2.0.2 use Struts 2.0.11.1.
>
> So it is not because of that.
>
>
>
>
> Giovanni Azua wrote:
> >
> >
> >> I added below two tags:
> >>
> >> <s:head theme="ajax" /> (inside the tag <head>..</head>)
> >>
> > that's because the former 2.0.x
> >
> > <s:head theme="ajax" />
> > <s:datetimepicker ... />
> >
> > becomes in 2.1.x
> >
> > <sx:head parseContent="true" />
> > <sx:datetimepicker ... />
> >
> > See:
> > <
> http://cwiki.apache.org/S2WIKI/troubleshooting-guide-migrating-from-struts-
> > 20x-to-21x.html>
> >
> >
> > Regards,
> > Giovanni
> >
> >> -----Original Message-----
> >> From: Tuncay A. [mailto:[EMAIL PROTECTED]
> >> Sent: Sunday, June 29, 2008 10:54 PM
> >> To: [email protected]
> >> Subject: [appfuse-user] Struts 2 datepicker not working
> >>
> >>
> >> Hi,
> >>
> >> I'm using AppFuse 2.0.2 with modular Struts 2.
> >>
> >> I added below two tags:
> >>
> >> <s:head theme="ajax" /> (inside the tag <head>..</head>)
> >> and
> >>
> >> <s:datetimepicker key="user.birthDate" theme="xhtml" required="true"
> >> cssClass="text medium" displayFormat="dd-MM-YYYY"/>
> >>
> >> It seems there are generated tags JavaScript tags for dojo in the page
> >> source but neither the input field is shown nor the date picker button
> ??
> >>
> >> I didn't configured any dojo Ajax stuff. Do I need it ? If yes, please
> >> describe in detail how.
> >>
> >> Thank you very much.
> >>
> >> -tuncay
> >>
> >> --
> >> View this message in context:
> http://www.nabble.com/Struts-2-datepicker-
> >> not-working-tp18185222s2369p18185222.html
> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Struts-2-datepicker-not-working-tp18185222s2369p18204866.html
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>