getTempQ

Description

This mobile device JSP function retrieves the TempQ document object from Session. If a TempQ document does not exist, this function creates one. Since the return type of this function is YFCDocument, it is used to get a handle to the TempQ and thereafter is used to get its elements or attributes for some of its elements.

The TempQ utilities store name/value pair information on one page in the session and provide methods for accessing them on the subsequent screens.

Syntax

public YFCDocument getTempQ() throws Exception

Input Parameters

None.

Example

The following example shows how this function can be used to first get the TempQ documents and then later to get the node list for elements with the tag name LPN:
YFCNodeList lpnlist=()((getTempQ()), getElementsByTagName("LPN"));