Package org.apache.roller.ui.rendering.util

Examples of org.apache.roller.ui.rendering.util.WeblogRequest


    }
   
    public void init(Map initData) throws RollerException {
       
        // need a weblog request so that we can know the weblog and locale
        WeblogRequest weblogRequest = (WeblogRequest) initData.get("weblogRequest");
        if(weblogRequest == null) {
            throw new RollerException("Expected 'weblogRequest' init param!");
        }
       
        this.weblog = weblogRequest.getWeblog();
        this.locale = weblogRequest.getLocale();
       
        // need page context as well :(
        pageContext = (PageContext) initData.get("pageContext");
    }
View Full Code Here


       
        // extract page context
        this.pageContext = (PageContext) initData.get("pageContext");
       
        // we expect the init data to contain a weblogRequest object
        WeblogRequest weblogRequest = (WeblogRequest) initData.get("weblogRequest");
        if(weblogRequest == null) {
            throw new RollerException("expected weblogRequest from init data");
        }
       
        // CalendarModel only works on page requests, so cast weblogRequest
View Full Code Here

TOP

Related Classes of org.apache.roller.ui.rendering.util.WeblogRequest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.