| java.lang.Object org.apache.beehive.netui.pageflow.ProcessPopulate
ProcessPopulate | public class ProcessPopulate (Code) | | Implement the processPopulate stage of the Struts / PageFlow request
processing lifecycle. The
ProcessPopulate.populate(HttpServletRequest,HttpServletResponse,ActionForm,boolean) method is
invoked in order to take request parameters from the
HttpServletRequest use the key / value pairs from the request to perform an update to the underlying
JavaBean objects.
Updates are performed on a key / value pair if the key is an expression; otherwise,
the updates are delegated to the Struts processPopulate infrastructure.
|
Inner Class :final public static class ExpressionUpdateNode | |
Field Summary | |
final public static String | IDMAP_PARAMETER_NAME This defines the name of the parameter that will contain the NetUI ID map.. |
IDMAP_PARAMETER_NAME | final public static String IDMAP_PARAMETER_NAME(Code) | | This defines the name of the parameter that will contain the NetUI ID map..
|
populate | public static void populate(HttpServletRequest request, HttpServletResponse response, ActionForm form, boolean requestHasPopulated) throws ServletException(Code) | | Use the request parameters to populate all properties that have expression keys into
the underlying JavaBeans.
Creates a java.util.Map of objects that will be consumed by
Struts processPopulate. This includes all request attributes that
were not expressions
Parameters: request - the current HttpServletRequest Parameters: form - if this request references an action and it has an ActionForm associated with it, then the form parameter is non-null. throws: ServletException - when an error occurs in populating data afterthe request; failure here can be caused by failures in creatingor executing update expressions. |
writeHandlerName | public static String writeHandlerName(String handler, String expression)(Code) | | Write the handler name specified onto the given expression.
|
|
|