Thanks for your reply François. I could get the control rendered on the screen now. But on clicking the calendar image, the calendar is not popping out to select the date.
The issue was - I had not added the filter entry in the web.xml. For those who are also unaware of this below is the entry that I added to my web.xml. <filter-mapping> <filter-name>struts2</filter-name> <url-pattern>/struts/*</url-pattern> </filter-mapping> -----Original Message----- From: François Rouxel [mailto:rouxe...@yahoo.com] Sent: Monday, December 29, 2008 10:03 PM To: Struts Users Mailing List Subject: Re : datetimepicker ....unable to get it working :( first you have to read this http://cwiki.apache.org/S2WIKI/troubleshooting-guide-migrating-from-struts-2 0x-to-21x.html then here some example from my project <td> <table class="simple"><sx:datetimepicker toggleType="explode" name="dateNaissance" value="%{#dateNaissance}" label="Date de naissance" labelposition="top" displayFormat="dd/MM/yyyy" language="fr" type="date"/></table> </td> and don't forget <sx:head parseContent="true"/> ____________________________________________ ____________________________________________ ----- Message d'origine ---- De : Richa Pandharikar <richa.pandhari...@tdktech.com> À : Struts Users Mailing List <user@struts.apache.org> Envoyé le : Lundi, 29 Décembre 2008, 19h26mn 47s Objet : RE: datetimepicker ....unable to get it working :( François, Would it be possible for you to post the code snippet for the datetimepicker with struts 2.1.2? Thanks, Richa -----Original Message----- From: François Rouxel [mailto:rouxe...@yahoo.com] Sent: Monday, December 29, 2008 4:16 PM To: Struts Users Mailing List; richa.pandhari...@tdktech.com Subject: Re : datetimepicker ....unable to get it working :( I had many problems with dateTimePicker when I was using struts 2.0.xxx >From the moment I used struts 2.1.xxx, everything has worked perfectly well. I hope I have helped... ____________________________________________ ____________________________________________ ----- Message d'origine ---- De : Richa Pandharikar <richa.pandhari...@tdktech.com> À : Struts Users Mailing List <user@struts.apache.org>; richa.pandhari...@tdktech.com Envoyé le : Lundi, 29 Décembre 2008, 16h59mn 42s Objet : RE: datetimepicker ....unable to get it working :( One more thing worth mentioning - I am using result of type "tiles", not sure it has to do something with the control not being rendered. Please help... -----Original Message----- From: Richa Pandharikar [mailto:richa.pandhari...@tdktech.com] Sent: Monday, December 29, 2008 3:55 PM To: 'Struts Users Mailing List' Subject: RE: datetimepicker ....unable to get it working :( No change....still getting the same results. In IE I am getting error - dojo is undefined. FF3 - No Error but control is not getting loaded. -----Original Message----- From: d...@holstein.com [mailto:d...@holstein.com] Sent: Monday, December 29, 2008 3:47 PM To: Struts Users Mailing List Subject: Re: datetimepicker ....unable to get it working :( Try putting the <s:head theme="ajax" /> inside html <head> tags. JSP - <%@ include file="/WEB-INF/pages/common/standard-includes.jsp" %> <html> <head> <s:head theme="ajax" /> </head> <body> <s:form action="getDetailedReport" namespace="." validate="true"> <s:datetimepicker name="periodEndDate"></s:datetimepicker> </s:form> </body> This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual(s) or entity to whom they are addressed. If you receive this e-mail in error please notify postmas...@holstein.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org