Christoph,
I don't have a solution, but I can confirm that I had the exact same
results as you have. I suspect we need to do more than manual shows us.

As for the article that Synchro recommended
(http://bakery.cakephp.org/articles/view/126 ); I had to change the reg
exp (regular expressions) to get that component to work. However it
seems to me that once you get the the component working, it pretty much
adds the same functionality that cake is supposed to support
internally.

Shawn

On Nov 13, 8:15 pm, "Christoph" <[EMAIL PROTECTED]> wrote:
> I'm fooling around w/cake to try to see what it's capable of.  All of
> my MVC parts have all been created by bake.php and I've done very
> little modification from there.  I'm still learning.
>
> So I have a users controller with the default index action (as provided
> by bake).  The manual (http://manual.cakephp.org/chapter/configuration)
> says that if I set WEBSERVICES to 'on' in /app/config/core.php, then I
> can access different 'views' of the data.  When I go to
>
> www.mysite.com/users/index
>
> I see the HTML view just fine.  But if I go to
>
> www.mysite.com/xml/users/index
>
> I get the missing component error page.  The exact error text is:
>
> Fatal: Create the Class:
> <?php
>     class XmlComponent extends Object
>     {
>         // Your component functions here
>         function myComponentFunction ()
>         {
>         }
>     }
> ?>
> in file : app/controllers/components/xml.php
>
> Why is it looking for XmlComponent? The manual makes no mention of
> having to create any component. Is there something else I need to do?
> Is there something I'm missing?  I do have the
> /app/views/users/xml/index.thtml file as instructed in the manual.  The
> odd thing is that if that file is not there, I get a missing controller
> error page instead...?  I also get the missing controller error page if
> I set WEBSERVICES to off.
> 
> thnx,
> Christoph


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