Thanks. I had all the things you suggested, except for on little
thing. Now I know that 'local' should be 'Local'. So many
things in Catalyst are case-agnostic, but this is the perl part, still
case sensetive.<br><br><div><span class="gmail_quote">On 8/2/06, <b class="gmail_sendername">Jonathan Rockway</b> <<a href="mailto:jon@jrock.us">jon@jrock.us</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Ben Hopkins wrote:<br><br>> When I ran the server, it listed authors/list in the "Loaded Private<br>> actions" section, but nothing in the "Loaded Path actions" part.<br>> When I go to localhost:3000/authors/list, I get the generic Catalyst
<br>> page (after logging in).<br>><br>> How can this be?<br><br>It could be :) that you didn't tell Catalyst that the method should be<br>publicly accessible. It should look like:<br><br> sub list : Local {
<br> my ($self, $c, @args) = @_;<br> # whatever...<br> $c->response->body('list is working now');<br> }<br><br>The "Local" means to bind the method to the URL<br>/controllername/subname, assuming the controller is in
<br>MyApp::Controller::ControllerName and the method is "subname".<br><br>Instead of :Local, you could also be using LocalRegex, Global, etc.,<br>as per the manual.<br><br>Hope this helps.<br><br>Regards,<br>Jonathan Rockway
<br><br><br><br><br>_______________________________________________<br>List: <a href="mailto:Catalyst@lists.rawmode.org">Catalyst@lists.rawmode.org</a><br>Listinfo: <a href="http://lists.rawmode.org/mailman/listinfo/catalyst">
http://lists.rawmode.org/mailman/listinfo/catalyst</a><br>Searchable archive: <a href="http://www.mail-archive.com/catalyst@lists.rawmode.org/">http://www.mail-archive.com/catalyst@lists.rawmode.org/</a><br>Dev site: <a href="http://dev.catalyst.perl.org/">
http://dev.catalyst.perl.org/</a><br><br><br><br></blockquote></div><br>