public void initPage() throws CmsException {

        if ((m_page == null) && (m_cms != null)) {
            String requestUri = m_cms.getRequestContext().getUri();
            // get the container page itself, checking the history first
            CmsResource pageResource = (CmsResource)CmsHistoryResourceHandler.getHistoryResource(m_request);
            if (pageResource == null) {
                pageResource = m_cms.readResource(requestUri);
            }
            m_page = getPage(pageResource);
            m_page = CmsTemplateMapper.get(m_request).transformContainerpageBean(
                m_cms,
                m_page,
                pageResource.getRootPath());

        }
    }
public void initPage ( ) throws CmsException { if ( ( m_page == null ) && ( m_cms != null ) ) { String requestUri = m_cms . getRequestContext ( ) . getUri ( ) ; CmsResource pageResource = ( CmsResource ) CmsHistoryResourceHandler . getHistoryResource ( m_request ) ; if ( pageResource == null ) { pageResource = m_cms . readResource ( requestUri ) ; } m_page = getPage ( pageResource ) ; m_page = CmsTemplateMapper . get ( m_request ) . transformContainerpageBean ( m_cms , m_page , pageResource . getRootPath ( ) ) ; } }
Initializes the requested container page.<p>

@throws CmsException in case reading the requested resource fails