FAQ

* Daniel McBrearty [2008-06-04 23:05]:
If you have more than one view type, what determines which is
used by default?
perldoc Catalyst

If the name is omitted, it will look for
- a view object in $c->stash{current_view_instance}, then
- a view name in $c->stash->{current_view}, then
- a config setting 'default_view', or
- check if there is only one view, and return it if that's the case.

Similar rule for the model, btw.

Regards,
--
Aristotle Pagaltzis // <http://plasmasturm.org/>

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 4 | next ›
Discussion Overview
groupcatalyst @
categoriescatalyst, perl
postedJun 4, '08 at 9:54p
activeJun 4, '08 at 10:23p
posts4
users3
websitecatalystframework.org
irc#catalyst

People

Translate

site design / logo © 2021 Grokbase