HttpServletRequest request = getContext().getViewState().getRequest();
            private void addScripts(HtmlInlineContainer container) {                HttpServletRequest request = getContext().getViewState().getRequest();                                HtmlLink link = new HtmlLink();                link.setModuleRelative(false);                link.setContextRelative(true);                                String[] scriptNames = new String[] {                         "prototype.js",                         "effects.js",                         "dragdrop.js",                         "controls.js",                         "fenixScript.js"                 };                                for (String script : scriptNames) {                    addSingleScript(container, link, script);                }            }