Bringing Nested Layouts Home to Roost

Nested layouts are one of the most powerful developments in Fusebox 3. They offer the architect the ability to arrange circuits into meaningful hierarchies for presentation to the user, and to allow circuits to modify their appearance with respect to position in the hierarchy.

When processing a fuseaction, Fusebox builds the layout that is presented to the user by interpreting the fbx_layout.cfm and individual layout files of each circuit in the line of descendence from the target circuit back up to the main circuit. The fusebox.layout variable is constructed in layers, with each circuit’s layout being wrapped around its child’s before being stored back to fusebox.layout.

Although nested layouts offer a ...

Get Fusebox: Developing ColdFusion® Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.