org.openmdx.portal.servlet.control
Class ScriptControl

java.lang.Object
  extended by org.openmdx.portal.servlet.control.Control
      extended by org.openmdx.portal.servlet.control.ScriptControl
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
RootMenuControl

public class ScriptControl
extends Control
implements Serializable

See Also:
Serialized Form

Nested Class Summary
static class ScriptControl.ScriptEngine
           
 
Field Summary
protected static Map<String,ScriptControl.ScriptEngine> scriptEngines
           
protected static Map<String,String> scriptNames
           
 
Fields inherited from class org.openmdx.portal.servlet.control.Control
controlFactory, id, locale, localeAsIndex
 
Constructor Summary
ScriptControl(String id, String locale, int localeAsIndex, ControlFactory controlFactory)
           
 
Method Summary
protected  URL getGroovyURL(HttpServletRequest request)
           
 void paint(HtmlPage p, String frame, boolean forEditing)
           
 
Methods inherited from class org.openmdx.portal.servlet.control.Control
getControlFactory, getCurrentLocale, getId, getPropertyName, getTexts, paint, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

scriptEngines

protected static Map<String,ScriptControl.ScriptEngine> scriptEngines

scriptNames

protected static Map<String,String> scriptNames
Constructor Detail

ScriptControl

public ScriptControl(String id,
                     String locale,
                     int localeAsIndex,
                     ControlFactory controlFactory)
Method Detail

getGroovyURL

protected URL getGroovyURL(HttpServletRequest request)
                    throws MalformedURLException
Throws:
MalformedURLException

paint

public void paint(HtmlPage p,
                  String frame,
                  boolean forEditing)
           throws org.openmdx.base.exception.ServiceException
Specified by:
paint in class Control
Throws:
org.openmdx.base.exception.ServiceException


This software is published under the BSD license. Copyright © 2006-2008, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.