1 callComponent

callComponent (name, argDict, cache = 0, defer = None, compType = DT_REGULAR, srcModTime = None)
Return the output of calling a component.
name
The path to the component.
argDict
A dictionary of arguments to the component.
cache
A boolean specifying that we should attempt to get the output from cache, and failing that, execute it and write the output to cache.
defer
A boolean specifying that
  1. If a recently expired cached version of the component exists give me that for now, and
  2. Evaluate the component after the response has been sent and write it to cache.
Obviously, deferral only applies if the cache argument is true.
compType
Either DT_REGULAR meaning a regular textual component, DT_INCLUDE meaning a textual component that runs in the namespace of the calling component, or DT_DATA for a data component. The DT_ contants are in the AE.Component module.
srcModTime
Modification time of the component source, if known.