Multiple layout section override ?

Albert Kam <[email protected]> Wed, 6 Mar 2013 20:46:26 +0700
Newsgroups gmane.comp.web.freemarker.user
Message-ID <CAMT20g8MrTAidO-C+TxZg5RAVkqP7uNfwC9P=MRZaDwk00EWeg@mail.gmail.com>
I am aware that i can use macros for layouting, for example, a main layout
that contains header, left body section, center body section, footer.

Based on the examples i have googled, like this one here
http://wendefer.blogspot.com/2007/09/handy-tip-for-layouts-in-freemarker.html,
i can use <#nested> in the main layout for dynamic values for other
templates that use this main layout macro.

But in my case, i would like the other templates to be able to 'override'
more than 1 <#nested>, for example, providing the content of left body
section -and- center body section (like apache tiles).

Is this supported, or maybe is there any other approaches to do this ?

-- 
Do not pursue the past. Do not lose yourself in the future.
The past no longer is. The future has not yet come.
Looking deeply at life as it is in the very here and now,
the practitioner dwells in stability and freedom.
(Thich Nhat Hanh)

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev

_______________________________________________
FreeMarker-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freemarker-user