er.extensions.components
Class ERXClickToOpenSupport
java.lang.Object
er.extensions.components.ERXClickToOpenSupport
public class ERXClickToOpenSupport
- extends java.lang.Object
ERXClickToOpenSupport provides the component-side implementation of
WOLips.framework's click-to-open support.
- Author:
- mschrag
Properties |
er.component.clickToOpen | boolean that determines if click-to-open
is enabled (only enables in development mode) |
Method Summary |
static boolean |
isEnabled()
Returns whether or not click-to-open support is enabled. |
static void |
postProcessResponse(java.lang.Class component,
com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext context,
boolean clickToOpenEnabled)
Called after super.appendToResponse for click-to-open support. |
static void |
preProcessResponse(com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext context,
boolean clickToOpenEnabled)
Called before super.appendToResponse for click-to-open support. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ERXClickToOpenSupport
public ERXClickToOpenSupport()
isEnabled
public static boolean isEnabled()
- Returns whether or not click-to-open support is enabled.
- Returns:
- whether or not click-to-open support is enabled
preProcessResponse
public static void preProcessResponse(com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext context,
boolean clickToOpenEnabled)
- Called before super.appendToResponse for click-to-open support.
- Parameters:
response
- the responsecontext
- the contextclickToOpenEnabled
- if false, this method is basically a no-op; if true, it
processes the response
postProcessResponse
public static void postProcessResponse(java.lang.Class component,
com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext context,
boolean clickToOpenEnabled)
- Called after super.appendToResponse for click-to-open support.
- Parameters:
component
- the component being processedresponse
- the responsecontext
- the contextclickToOpenEnabled
- if false, this method is basically a no-op; if true, it
processes the response
Copyright © 2002 – 2007 Project Wonder.