Project Wonder 5.0

er.extensions.components
Class ERXClickToOpenSupport

java.lang.Object
  extended by 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)
           

Constructor Summary
ERXClickToOpenSupport()
           
 
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
 

Constructor Detail

ERXClickToOpenSupport

public ERXClickToOpenSupport()
Method Detail

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 response
context - the context
clickToOpenEnabled - 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 processed
response - the response
context - the context
clickToOpenEnabled - if false, this method is basically a no-op; if true, it processes the response

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.