Luis Majano Forums Notification: Post to Layouts

Title: Layouts
Thread: Layouts
Forum: Discussions
Conference: ColdBox
User: pwpeterson

Hi, Luis. Thanks for a great framework. The documentation is terrific.

some unknown reason to me I can't get my extra layout to be called.
<Layout file="Layout.Public.cfm"

I swap this
layout with the default and it displays as expected.

in my OnRequestStart
method I check for login status. If the user is not logged in s/eh is forwarded
to the login page:

if (NOT getPlugin("security",true).isLoggedIn())

However, the default layout
is used and not the 'public' layout. What am I doing wrong?

I see in the
layout definitions each layout is given a name. Am I suppose to use this name
somehow when setting the view?

thx again.

Paul Peterson