public class ERXClickToOpenSupport extends Object
Name | Description |
---|---|
er.component.clickToOpen | boolean that determines if click-to-open is enabled (only enables in development mode) |
Constructor and Description |
---|
ERXClickToOpenSupport() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isEnabled()
Returns whether or not click-to-open support is enabled.
|
static void |
postProcessResponse(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.
|
public static boolean isEnabled()
public static void preProcessResponse(com.webobjects.appserver.WOResponse response, com.webobjects.appserver.WOContext context, boolean clickToOpenEnabled)
response
- the responsecontext
- the contextclickToOpenEnabled
- if false, this method is basically a no-op; if true, it
processes the responsepublic static void postProcessResponse(Class component, com.webobjects.appserver.WOResponse response, com.webobjects.appserver.WOContext context, boolean clickToOpenEnabled)
component
- the component being processedresponse
- the responsecontext
- the contextclickToOpenEnabled
- if false, this method is basically a no-op; if true, it
processes the responseCopyright © 2002 – 2020 Project Wonder.