Hi everyone ...

I have a crucial problem for an application built with Symfony.
I use the "input_auto_complete_tag" Ajax helper on a partial which is
called "_adresseForm".
Then, I call this Partial into an action view called
"personneInitFormSuccess".
When I try to use the "personneInitForm" action, the View is perfectly
displayed, and the input_auto_complete_tag is working too.

But the fact is that I do not call the personneInitForm directly, I
call it through an Ajax "link_to_remote" on another action which is
called "personneMain".
On the personneMain View, unfortunately, THE input_auto_complete_tag
DOES NOT WORK, even if I precise "'script'  => true" on the
"link_to_remote" call which calls the personneInitForm Action.

Here is some pieces of code :

Partial _adresseForm :
<?php echo input_auto_complete_tag('Rue', $adresse->getRue(),
          'users/adresseFieldCompletion?field=Rue',
          array( 'autocomplete' => 'off' ),
          array( 'use_style' => true ) ) ?>

View personneInitFormSuccess :
<?php include_partial('adresseForm'); ?>

View personneMainSuccess :
<?php echo link_to_remote('Ajouter une personne', array(
      'update' => 'personne_form',
      'url' => 'users/personneInitForm',
      'script' => true)
      ) ?>

So I gracefully thanks everyone in advance for giving me advices to
make my autocompletion working on personneMainSuccess !
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to