Thank you very much. I suspected it could be the id.
Thanks for the confirmation. ----- Original Message ----- From: mraible [via AppFuse] To: Juan Antonio Sent: Friday, February 19, 2010 6:56 AM Subject: Re: help on calendar/datepicker in AppFuse2 If you change this: <script type="text/javascript"> Form.focusFirstElement(document.forms["userForm"]); Calendar.setup( { inputField : "birthday", // id of the input field ifFormat : "%m/%d/%Y", // the date format button : "birthdayCal" // id of the button } ); </script> To this: <script type="text/javascript"> Form.focusFirstElement(document.forms["userForm"]); Calendar.setup( { inputField : "saveUser_user_birthday", // id of the input field ifFormat : "%m/%d/%Y", // the date format button : "birthdayCal" // id of the button } ); </script> It'll work. On Thu, Feb 18, 2010 at 6:58 PM, Juan Antonio <[hidden email]> wrote: > > The demo in http://demo2.appfuse.org/appfuse-light-struts2/editUser.html > doesn't work. > > It's the same code? > > I was looking to the code needed to add a datepicker to my application too. > > Regards. > > > -- > View this message in context: http://n4.nabble.com/Regarding-menu-jsp-tp572223p1561117.html > Sent from the AppFuse - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > For additional commands, e-mail: [hidden email] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] ------------------------------------------------------------------------------ View message @ http://n4.nabble.com/Regarding-menu-jsp-tp572223p1561213.html To unsubscribe from Re: help on calendar/datepicker in AppFuse2, click here. -- View this message in context: http://n4.nabble.com/Regarding-menu-jsp-tp572223p1561514.html Sent from the AppFuse - User mailing list archive at Nabble.com.