/**
* Returns the section status object for a given region. If it doesn't exist,
* creates and stores it in the session.
*/
public static LayoutRegionStatus getRegionStatus(Section section, LayoutRegion region) {
RequestContext reqCtx = RequestContext.getCurrentContext();
HttpSession session = reqCtx.getRequest().getSessionObject();
if (section == null || region == null) return null;
String key = "_region_status_" + section.getKey() + "_" + region.getId();
LayoutRegionStatus sectionStatus = (LayoutRegionStatus) session.getAttribute(key);
if (sectionStatus == null) {