-
1. Re: Datepicker Popup Issue
hhf8 Apr 11, 2007 3:49 PM (in response to hhf8)I wish to have this popup constantly up,so that I can use to open dates on the page, Now i have tried to the Calendar.js in the Seam directory and other files to make it visible all the time,
I attempted to rebulid seam with ant,I produced the relevant jars,These then replaced the old ones, However nothing seemed to happen to my application.
Im using jboss Seam -1.1.5Ga and Jboss AS 4.05GA
Help and suggestions would be greatly appreciated -
2. Re: Datepicker Popup Issue
hhf8 Apr 16, 2007 9:23 AM (in response to hhf8)I have solved this,had to modify the selectdate.JS in the UI-seam.jar file,
-
3. Re: Datepicker Popup Issue
shane.bryzak Apr 16, 2007 7:48 PM (in response to hhf8)This is not an ideal solution - if you ever upgrade Seam to a later version you'll have to re-apply your changes again. A better approach would be to override the default behaviour of the calendar control by first loading the script (which happens automatically when you place a s:selectDate control in your view) and then using JavaScript to override the behaviour of __Calendar and __CalendarFactory.
For example, if you didn't want the calendar to disappear when clicked then you'd override __CalendarFactory.depopupCalendar with a no-op like this:__CalendarFactory.prototype.depopupCalendar = function() { }