Hi,
the sfExtraWidgetsPlugin is not bundled with the jquery lib and so it  
is not loaded automatically.
Therefore you have to define and load the according jquery and jquery  
ui assets.

Example within PHP (but you should better define this assets in the  
view.yml):

$response->addStyleSheet( '/js/jquery/css/smoothness/jquery- 
ui-1.7.1.custom.css' );
$response->addJavascript( '/js/jquery/js/jquery- 
ui-1.7.1.custom.min.js' );

The stylesheet is needed for the calendar layout and the js file  
includes the jquery and ui libs.
Everything could be downloaded from the jquery page very easily.

Cheers,
Frank



Am 05.05.2009 um 19:50 schrieb Reynier Perez Mira:

>
> Hi every:
> Recently I start to use this amazing plugin but I get an error when  
> trying to work with "datepicker" component. The error message,  
> provide by Firebug, is this:
>
> $ is not defined                                      
> dp_display("tb_reservacion_f_entrada")                                
> datepicker.js (line 9)
> onclick()new (line 1)
> [Break on this error] if($(dp_element_id) == null)
>
> Why? Can any help me? I haven't much knowledge about JS and Prototype
> Cheers
> Ing. Reynier Pérez Mira
> Dirección Técnica IP
>
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to