Another thing I forgot to mention is that you can do stuff like this
in the controller
if ($this->params['webservices'] == 'Rest') {
        $this->set('order',$this->Order->read());
}
else {
        $this->redirect('/orders/index');
}

To have different effects after doing something as part of your
webservices request.

I hope all this helps

Sam D

On 11/29/06, Samuel DeVore <[EMAIL PROTECTED]> wrote:
> My completely uneducated, uninformed guess is that you need to do the
> bits with the helpers and components because the webservices stuff was
> planned and built into 1.2 and back ported to 1.1 and some of the
> parts didn't come along for the ride.
>
> When you get your basic post ready you should open a ticket on trac
> that points to the entry as a enhancement for the documentation
>
> Sam D
> On 11/29/06, Chris Hartjes <[EMAIL PROTECTED]> wrote:
> >
> > On 11/29/06, Samuel DeVore <[EMAIL PROTECTED]> wrote:
> > >
> > > :) hey Chris one of us has better type faster to save the other some 
> > > trouble ;)
> > >
> >
> > Heh.  You did show me what I was doing wrong (putting content into
> > default.thtml instead of index.thtml) so I'll fix that up and post the
> > whole damn thing to my blog.  I'll be giving you a shout-out as well.
> >
> >
> > --
> > Chris Hartjes
> >
> > "The greatest inefficiencies come from solving problems you will never 
> > have."
> > -- Rasmus Lerdorf
> >
> > @TheBallpark - http://www.littlehart.net/attheballpark
> > @TheKeyboard - http://www.littlehart.net/atthekeyboard
> >
> > > >
> >
>
>
> --
> ==
> S. DeVore
> (the old fart) the advice is free, the lack of crankiness will cost you
>


-- 
==
S. DeVore
(the old fart) the advice is free, the lack of crankiness will cost you

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