[Solar-talk] Re: [Solar-svn] Revision 3037 (a.k.a page black-list)
Jeff Surgeson
solar at 3hex.com
Mon Mar 24 14:36:44 CDT 2008
> if you request "nonexistantclass/listall" it will call your default
> page controller with params "nonexistantclass/listall". The page
> controller will then try to find "nonexistantclass" action, and when
> it is not found _notFound() will be called.
>
> > Why bother to define a default page controller class in config, and
> > specify a default action in that class if it is not used when the
> > requested controller/action is not found?
>
> It will be used when there is no app and/or action requested. But for
> situations where you request non-found apps or actions, it makes more
> sense to display an error page than to just go with the defaults. I
> think many were requesting this feature.
>
> Does that sound reasonable?
It does but but I still prefer the "old" way it was handled, but hey I am more
than happy to amend my evil ways and go with the flow.
In any case if I had read Paul's change notes properly I would have got all
the answers I have just ranted about. Sorry :-( and thanks for taking the
time to explain to me.
--
...........::::::...........
Jeff Surgeson / South Africa
More information about the Solar-talk
mailing list