Package org.apache.roller.ui.rendering.model

Examples of org.apache.roller.ui.rendering.model.UtilitiesModel


            if (request.getParameter("group") != null) {
                model.put("group", planet.getGroup(request.getParameter("group")));
            }
            model.put("planet", planet);
            model.put("date", new Date());
            model.put("utils", new UtilitiesModel());
            model.put("absoluteSite", RollerRuntimeConfig.getAbsoluteContextURL());
            model.put("feedStyle", new Boolean(RollerRuntimeConfig.getBooleanProperty("site.newsfeeds.styledFeeds")));

            int numEntries =
                    RollerRuntimeConfig.getIntProperty("site.newsfeeds.defaultEntries");
View Full Code Here


            if (request.getParameter("group") != null) {
                model.put("group", planet.getGroup(request.getParameter("group")));
            }
            model.put("planet", planet);
            model.put("date", new Date());
            model.put("utils", new UtilitiesModel());
            model.put("absoluteSite", RollerRuntimeConfig.getAbsoluteContextURL());
            model.put("feedStyle", new Boolean(RollerRuntimeConfig.getBooleanProperty("site.newsfeeds.styledFeeds")));

            int entryCount =
                    RollerRuntimeConfig.getIntProperty("site.newsfeeds.defaultEntries");
View Full Code Here

            if(parseException != null) {
               
                Context ctx = new VelocityContext(model);
                ctx.put("exception", parseException);
                ctx.put("exceptionSource", renderTemplate.getId());
                ctx.put("utils", new UtilitiesModel());
               
                // render output to Writer
                velocityTemplate.merge(ctx, out);
               
                // and we're done
View Full Code Here

TOP

Related Classes of org.apache.roller.ui.rendering.model.UtilitiesModel

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.