nl.gx.webmanager.handler.forms.handling
Class VeritateHandler

java.lang.Object
  extended by nl.gx.webmanager.handler.forms.handling.VeritateHandler
All Implemented Interfaces:
FormComponent, Handler

public class VeritateHandler
extends java.lang.Object
implements Handler

Construct xmlrpc using xsl and send it to the veritate server.

Variable Type Mode Default Description
xsl Parameter Required - XSL to generate the XML-RPC that is sent to the Veritate server.
serverurl Parameter Required - The URL of the server.
keys Multiple Parameter Optional ["GX_user"] Names of session keys whose XML should be transformed (e.g. GX_foo). If no keys are specified, GX_user is included.
responsekey Parameter Optional veritateresponse Name of the key where the response will be stored in the flow XML.
* Example usage: The handler constructs an XML document that contains the flowxml + any xml from specified keys. This document is transformed using the provided xsl. The result of this transformation should be xmlrpc the veritate server understands.


Constructor Summary
VeritateHandler()
           
 
Method Summary
 void doHandle(FormDefinition form, State formState, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Processes the form.
 void init(FormComponentConfig config)
          Passes the initialization parameters to the component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VeritateHandler

public VeritateHandler()
Method Detail

init

public void init(FormComponentConfig config)
          throws InitializationException
Description copied from interface: FormComponent
Passes the initialization parameters to the component.

Specified by:
init in interface FormComponent
Parameters:
config - The FormComponentConfig object that contains configutation information for this component.
Throws:
InitializationException - If initialization failed

doHandle

public void doHandle(FormDefinition form,
                     State formState,
                     javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response)
              throws HandleException
Description copied from interface: Handler
Processes the form.

Specified by:
doHandle in interface Handler
Parameters:
form - The definition of the form for which the submitted values should be handled.
formState - The session values for the form
request - The http request
response - The http response
Throws:
HandleException - If the form values could not be handled correctly


Copyright © 2007-2011 GX Software BV. All Rights Reserved.