10/09/2015
Test the template if the zone is empty
When your create a template, you can test if a area is empty or not and change the html. A simple example is if the sidebar doesn't exist you could change the size of the content zone.
Bean "info" is always explosed in the jsp context. On this bean you can access a map with empty area, so you can test if the area is in the map.
rmq: don't forget to test if you are in previewEdit mode otherwise you will never add component in the area in preview mode.
example :
<c:set var="sidebar" value="${!info.areaEmpty.sidebar || info.previewEdit}" />
<div id="content" class="col-md-${sidebar?'9':'12'}">.....