fTemplate.getQuery

Availability

Flash Player 7

Usage

myfTemplate.getQuery()

Parameters

None.

Returns

Query object .

Description

Method. Returns the default template Query object. This method will return the same object as fMaster.getQuery but with an added filter for $DOCTYPE to correspond to the documentType value of the fTemplate component instance.

Example

The following code shows a common use of the getQuery method:

eventObj = new Object();
eventObj.type = "onNewsButton";
eventObj.query = myfTemplate.getQuery();
myNewsButton.onRelease = function()
{
  myfMaster.invoke( eventObj );
}

See also

Query