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

Examples of org.apache.roller.planet.ui.rendering.util.PlanetRequest


       
        // parent gets to go first
        super.init(initData);
       
        // we expect the init data to contain a weblogRequest object
        PlanetRequest planetRequest = (PlanetRequest) initData.get("planetRequest");
        if(planetRequest == null) {
            throw new PlanetException("expected planetRequest from init data");
        }
       
        // PageModel only works on page requests, so cast planetRequest
View Full Code Here


       
        // parent gets to go first
        super.init(initData);
       
        // we expect the init data to contain a weblogRequest object
        PlanetRequest planetRequest = (PlanetRequest) initData.get("planetRequest");
        if(planetRequest == null) {
            throw new PlanetException("expected planetRequest from init data");
        }
       
        // PageModel only works on page requests, so cast planetRequest
View Full Code Here

       
        // grab a reference to the url strategy
        this.urlStrategy = PlanetFactory.getPlanet().getURLStrategy();
       
        // need a weblog request so that we can know the weblog and locale
        PlanetRequest planetRequest = (PlanetRequest) initData.get("planetRequest");
        if(planetRequest == null) {
            throw new PlanetException("Expected 'planetRequest' init param!");
        }
       
        this.planet = planetRequest.getPlanet();
    }
View Full Code Here

     * Init page model based on request.
     */
    public void init(Map initData) throws PlanetException {
       
        // we expect the init data to contain a planetRequest object
        PlanetRequest planetRequest = (PlanetRequest) initData.get("planetRequest");
        if(planetRequest == null) {
            throw new PlanetException("expected planetRequest from init data");
        }
       
        // only works on planet group requests, so cast planetRequest
View Full Code Here

TOP

Related Classes of org.apache.roller.planet.ui.rendering.util.PlanetRequest

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.