Thanks, Dustin!! I'd already discover the problem and It's exactly that. I think this is something that should be resolved somehow!! Put in the documentation or change the code.
Marcio Albuquerque Development and Requirement Engeneer - SERPRO ---------- Cabeçalho original ----------- De: [email protected] Para: [email protected] Cópia: Data: Wed, 14 Mar 2007 10:41:33 -0700 Assunto: [symfony-users] Re: input_date_tag in ajax call > > > The problem is that input_date_tag includes some javascript, which in > the case of an ajax call, isn't added. You need to include the > javascript/css on testSuccess.php, then everything should work. > > - Dustin > > m.l.albuquerque wrote: > > Hi people!! I'm having a tricky problem. > > > > I'm calling a page using link_to_remote. The page result has a > > input_date_tag. I know I must put "script" => > > true to the tag works fine in a ajax call, but that's not happening. The > > pages are very simple. Here's the code > > of the pages: > > > > testSuccess.php (where I put the ajax call) > > ============================================= > > <div id="content"></div> > > <?php > > echo link_to_remote("REMOTE", > > array("url" => "module/remote", > > "update" => "content", > > "script" => true > > ) > > ); > > ?> > > ============================================= > > > > > > remoteSuccess.php (the result page of the ajax call) > > ============================================= > > <?php > > echo input_date_tag("data", date("Y-m-d"), array("rich" => true)); > > ?> > > ============================================= > > > > I use FireBug for javascript debug and it point the following error: > > > > Calendar is not defined (prototype.js line 214) > > > > Does someone have an idea? ANYONE? Thanks in advance! > > > > M?rcio Albuquerque > > Development and Requirement Engeneer - SERPRO > > > > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
