I'd like to bump this problem, because I have exactly the same issue.
I have attempted to use javascript instead of using the helper, but
somehow the renderer strips the javascript away. I don't know if this
is a feature of some sort, but if it is, I'd like to know how to
disable it.
Sincerely
Nina Jansen
On Nov 18, 3:08 pm, "S.a.W." <[EMAIL PROTECTED]> wrote:
> Hello,
>
> at the moment i'm facing the Problem ofusingthe CakephpAJAXHelper
> in anAjaxrenderedView. 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 inviewof /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
-~----------~----~----~----~------~----~------~--~---