-
1. Re: js error with rich:calendar after upgrading to 3.3.0
pyaschenko Mar 5, 2009 10:52 AM (in response to jenkinsjava)Could you post page code.
-
2. Re: js error with rich:calendar after upgrading to 3.3.0
jenkinsjava Mar 11, 2009 12:04 PM (in response to jenkinsjava)Sorry it's taken me so long to get back. Here's our datepicker code:
<rich:calendar id="effectiveDate"
value="#{assignmentChangeCreateBean.recommendedReassignment.effectiveDate}"
locale="US"
popup="true"
datePattern="d MMM yyyy"
showWeeksBar="false"
inputClass="input-text-calendar"
style="width:150px;"
buttonIcon="/images/ico-calendar-small.png"
cellWidth="24px"
cellHeight="22px"/>
And the javascript that contains the error is an included file, JQuerySpinBtn.js, which is apparently used by the rich calendar:
$(document).ready(function(){
// Initialise INPUT element(s) as SpinButtons: (passing options if desired)
$("#myInputElement").SpinButton(myOptions);
});
*/
var sbjQuery = oldJQuery;
etc. -
3. Re: js error with rich:calendar after upgrading to 3.3.0
ilya_shaikovsky Mar 11, 2009 1:40 PM (in response to jenkinsjava)Show the whole page please. seems some conflicts occurs. Maybe you using external jQuerry scripts inclusions on the page?
-
4. Re: js error with rich:calendar after upgrading to 3.3.0
jenkinsjava Mar 11, 2009 4:34 PM (in response to jenkinsjava)Yes, I am using other JQuery scripts in the page. Would that make a difference?
-
5. Re: js error with rich:calendar after upgrading to 3.3.0
sergeysmirnov Mar 11, 2009 4:41 PM (in response to jenkinsjava)If you include one more version of the jQuery, it might be a problem.
It is ok, if you use your javascript code that uses jQuery. Hover, two instances (versions) of the library loaded on the same page are strong reason for failure.