0 Replies Latest reply on Nov 4, 2011 12:33 PM by Thomas Buckley

    Does Richfaces 3.3.3 ship with jQuery-UI

    Thomas Buckley Newbie

      I have jquery working in my Richfaces 3.3.3 application. I added the following to include it from Richfaces:

       

       

      <a4j:loadScript
          src="resource:///org/richfaces/renderkit/html/scripts/jquery/jquery.js" />
      
      
      

      I'm now trying to use the jquery-ui datePicker component but am getting the following error:

       

       

      jQuery("#startDate").datePicker is not a function
      

       

       

      Here is my code that is causing it:

       

       

      jQuery(document).ready(function() {
      
      
          // Call constructor
          var calendar = new App.Calendar();
      
      
      });
      
      
      
      
      // Constructor
      App.Calendar = function() {
      
      
          jQuery('#startDate').datePicker({
              changeMonth: true,
              changeYear: true
          });
      
      
      };
      

       

      Is there another script I need to include from Richfaces?

      Or even download and include the jquery-ui file manually?

       

       

      Thanks