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 <juan....@tecnosfera.org> 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: users-unsubscr...@appfuse.dev.java.net > For additional commands, e-mail: users-h...@appfuse.dev.java.net > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net For additional commands, e-mail: users-h...@appfuse.dev.java.net