Hello,

at the moment i'm facing the Problem of using the Cakephp AJAX Helper
in an Ajax rendered View. i.e. if i use $ajax->submit(...), cake
prints the normal Submit-Input tag but NOT the <script> Tags.

for example:

<div id="nachrichten_res" style="display: none;"></div>

is Updated with:

<?
echo $ajax->link('Neue Nachricht', '/nachrichten/neu/',
                 array('update' => 'nachrichten_res','complete' =>
"Effect.Appear('nachrichten_res')")
                );
?>

and should contain an Autocomplete:

<?
echo $ajax->autoComplete('User/username', '/users/autocomplete');
/* written in view of /nachrichten/neu/ */
?>

---

But Cakephp only prints:

<input type="text" value="" autocomplete="off" id="UserUsername"
name="data[User][username]"/>

Without the JavaScript which should observe the Input.



---

Sorry for my english and thanks for your help!

Jakob

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to