Created
January 17, 2011 23:52
-
-
Save wfaler/783727 to your computer and use it in GitHub Desktop.
parentlayout.scala
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// parent layout, that uses a LayoutModel to enrich the layout based on request if needed. | |
val parentLayout = DefaultLayout("default", "doLayout", None, new ParentLayoutModel) | |
// this is a childLayout for parentLayout, and has the parent set on it, as shown. | |
val composableLayout = DefaultLayout("child", "doLayout", Some(parentLayout)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment