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.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to