Ticket #88 (closed enhancement: fixed)

Opened 2 months ago

Last modified 2 months ago

Add a way for a view to use select a non-default master

Reported by: louis.dejardin Assigned to:
Priority: major Component: Spark Core
Version: Keywords:
Cc:

Description

Something like <use master="name"/>

The question has come up a few times, might make pre-compilation a bit easier, and could be done in a way that doesn't conflict with the existing mechanisms.

Change History

11/21/08 21:06:44 changed by louis.dejardin

  • status changed from new to closed.
  • resolution set to fixed.

(In [256]) Closes #88 Add a way for a view to use select a non-default master

Implements support for <use master="name"/> element. <use master=""/> cancels any outer master. A master file may contain a <use master=""/> element to create a multi-layered shell For example several theme master layout file can <use master="html"/> to wrap everything in a single layouts\html.spark superstructure.

Name does not take an extension or path. Layouts and Shared folder are examined. *Note* this element *trumps* the others mechanisms which name master layouts like the asp.net mvc application.spark conventions, monorail [layout] attribute, and master names provided by controller code.