JspContextServices interface and DSEJspContextServices class provide methods to dynamically create a transition context (see Transition contexts) for the current state of a processor or to add or remove a specific data element to or from the newly created transition context. JSPs associated with a page such as a confirmation page directly invoke these methods to ensure that the same data elements that are available for the JSP will also be available for the next one.
To do this, the DSEJspContextServices contains the following methods:
This method stores the name of the parameter to be set and its value in the transitionParameters Hashtable, which is stored in the TCInfo instance for the transitionName of the current state. This method may be used by the invoker to set special transition attributes such as delegateValAssessment.
These methods do not actually update the transition context when they are invoked. Instead, they store the information in the transitionContexts attribute within the HtmlStateInfo object for the current processor state. When the request associated with the transition hits the server, the actual transition is restored and updated with the previously gathered information.