Hi together, I found my problem... I have a function in AppController to load the layout. This function disable my Ajax Layout call in the function of the called controller.
Regards Thomas On 17 Jul., 08:54, havanna <[email protected]> wrote: > Hi Rchavik, > > thank your for your answer - but your idea change nothing. I think the > problem is not the span. > > Regards Thomas > > On 17 Jul., 03:30, rchavik <[email protected]> wrote: > > > IIRC, $('#tabs').tabs() should be sufficient, as long as one of your > > <LI> contains a remote URL. > > > For your fifth tab, try using the following: > > > <li> > > <a href="/admin/attachments/getlist/<?php echo $this->data > > ['Posts']['id']; ?>"> > > </a> > > </li> > > > Note that I removed the <span> there. > > > It should call /admin/attachments/getlist/XXX when the fifth tab is > > clicked/activated. > > > On Jul 17, 12:30 am,havanna<[email protected]> wrote: > > > > Hi Brian, > > > > thank you again for your answer. I think I comming a step forward. I > > > thought also yesterday, that the ajax call will call my other view. > > > Now I think my problem is the ui tab. > > > At ui tabs you can include your content from the view - that works for > > > tab1 to tab4. It's also possible to say that the content come from an > > > ajax call ( remote: true ). But I don't know, how to combine this > > > togehter: > > > > <script type="text/javascript"> > > > $(function() { > > > $("#tabs").tabs(); > > > $('#tabs').tabs(5)({ remote: true }); // this doesn't work > > > }); > > > </script> > > > > Regards Thomas > > > > On 16 Jul., 17:28, brian <[email protected]> wrote: > > > > > On Wed, Jul 15, 2009 at 5:04 PM,havanna<[email protected]> wrote: > > > > > > Hi Brian, > > > > > thank you for your answer. > > > > > > With $this->contain => false I'm using the shortform (see on > > > > >http://book.cakephp.org/view/474/Containable). > > > > > Yes, it's the short form to tell Cake not to bother invoking > > > > Containable. So there's no point in attaching it at all. You could > > > > simply use 'recursive' => -1 instead. > > > > > > I tried your changes. The errors changed: now in my view the vars > > > > > which I set in the controller are unknown: Undefined variable: > > > > > Objektnummer. > > > > > > Is it right, that the view is the same as for tab 1 to 4 or need I an > > > > > element to display my variables? > > > > > Yes, you need to have a view for each. Think of it as a normal request > > > > to the server, but no layout is used. Each tab has a link to some > > > > controller action and those actions each have their own view.- > > > > Zitierten Text ausblenden - > > > - Zitierten Text anzeigen - > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
