UIX 2.2.16

oracle.cabo.servlet.ui.partial
Class PartialPageEventUtils

java.lang.Object
  |
  +--oracle.cabo.servlet.ui.partial.PartialPageEventUtils

public class PartialPageEventUtils
extends java.lang.Object

Utility methods for partial page event handling.


Method Summary
static PartialPageContext createPartialPageContext(javax.servlet.ServletRequest request)
          Creates a PartialPageContext for the specified request.
static PartialPageContext createPartialPageContext(ServletRequestParameters parameters)
          Creates a PartialPageContext for the specified request parameters.
static PartialPageContext getPartialPageContext(BajaContext context)
          Retrieves the PartialPageContext from the BajaContext.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createPartialPageContext

public static PartialPageContext createPartialPageContext(javax.servlet.ServletRequest request)
Creates a PartialPageContext for the specified request. Note: This method can not be used for a multipart form request. You should use this version (which takes a ServletRequestParameters) instead.

createPartialPageContext

public static PartialPageContext createPartialPageContext(ServletRequestParameters parameters)
Creates a PartialPageContext for the specified request parameters.

getPartialPageContext

public static PartialPageContext getPartialPageContext(BajaContext context)
Retrieves the PartialPageContext from the BajaContext.

When a partial page request is received, the UIX Servlet automatically creates a PartialPageContext which contains the partial targets that are specified by the request. Clients may need to modify the set of partial targets prior to rendering. One way to do this is to retrieve the PartialPageContext by calling getPartialPageContext() from within an EventHandler. The PartialPageContext APIs can then be used to examine the set of partial targets and add or remove targets as necessary.

See Also:
PartialPageContext

UIX 2.2.16