[Yanel-dev] State of View

Michael Wechner michael.wechner at wyona.com
Tue May 6 23:12:21 CEST 2008


Hi

Has anyone an idea why we hardcoded the StateOfView within the YanelServlet?

            String stateOfView = StateOfView.AUTHORING;
            //String area = map.getStateOfView(request.getServletPath());
            //log.debug("url: " + request.getServletPath());
            //log.debug("state of view: " + stateOfView);
            /*String area = null;
            if (isToolbarEnabled(request)) {
                area = "authoring";
            } else {
                area = "live";
            }*/


Thanks

Michi

-- 
Michael Wechner
Wyona      -   Open Source Content Management - Yanel, Yulup
http://www.wyona.com
michael.wechner at wyona.com, michi at apache.org
+41 44 272 91 61



More information about the Yanel-development mailing list