|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.opencms.template.A_CmsTemplate
|
+--com.opencms.template.CmsXmlTemplate
Template class for displaying the processed contents of hierachical XML template files that can include other subtemplates.
| Field Summary | |
static String |
C_BODY_ELEMENT
name of the special body element |
static boolean |
C_DEBUG
Boolean for additional debug output control |
static String |
C_FRAME_SELECTOR
|
protected static I_CmsTemplateCache |
m_cache
Template cache for storing cacheable results of the subtemplates. |
| Fields inherited from interface com.opencms.boot.I_CmsLogChannels |
C_FLEX_CACHE, C_FLEX_LOADER, C_LOGGING, C_MODULE_CRITICAL, C_MODULE_DEBUG, C_MODULE_INFO, C_OPENCMS_CACHE, C_OPENCMS_CRITICAL, C_OPENCMS_CRONSCHEDULER, C_OPENCMS_DEBUG, C_OPENCMS_ELEMENTCACHE, C_OPENCMS_INFO, C_OPENCMS_INIT, C_OPENCMS_POOL, C_OPENCMS_STATICEXPORT, C_OPENCMS_STREAMING, C_PREPROCESSOR_IS_LOGGING |
| Constructor Summary | |
CmsXmlTemplate()
|
|
| Method Summary | |
CmsCacheDirectives |
collectCacheDirectives(CmsObject cms,
String templateFile,
String elementName,
Hashtable parameters,
String templateSelector)
Collect caching informations from the current template class. |
Integer |
counter(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
For debugging purposes only. |
A_CmsElement |
createElement(CmsObject cms,
String templateFile,
Hashtable parameters)
Create a new element for the element cache consisting of the current template class and the given template file. |
CmsCacheDirectives |
getCacheDirectives(CmsObject cms,
String templateFile,
String elementName,
Hashtable parameters,
String templateSelector)
gets the caching information from the current template class. |
protected String |
getClassName()
Help method to print nice classnames in error messages |
byte[] |
getContent(CmsObject cms,
String templateFile,
String elementName,
Hashtable parameters)
Gets the content of a given template file and its subtemplates with the given parameters. |
byte[] |
getContent(CmsObject cms,
String templateFile,
String elementName,
Hashtable parameters,
String templateSelector)
Gets the content of a defined section in a given template file and its subtemplates with the given parameters. |
Object |
getDescription(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
Inserts the correct document description into the template. |
Object |
getEncoding(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
|
Object |
getFileUri(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
|
Object |
getFrameQueryString(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
Gets the QueryString for CmsFrameTemplates. |
Object |
getFrameTarget(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
Gets the target for a link. |
Object |
getKey(CmsObject cms,
String templateFile,
Hashtable parameters,
String templateSelector)
Gets the key that should be used to cache the results of this template class. |
Object |
getKeywords(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
Inserts the correct document keyword into the template. |
CmsMethodCacheDirectives |
getMethodCacheDirectives(CmsObject cms,
String methodName)
gets the caching information for a specific methode. |
CmsXmlTemplateFile |
getOwnTemplateFile(CmsObject cms,
String templateFile,
String elementName,
Hashtable parameters,
String templateSelector)
Reads in the template file and starts the XML parser for the expected content type. |
Object |
getPathUri(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
|
Object |
getProperty(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
Inserts the value of the given property in the template. |
Object |
getQueryString(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
Inserts the correct servlet path title into the template. |
String |
getRequestIp(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
Get the IP address of the current request. |
Object |
getServletPath(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
Deprecated. instead of this method you should use the link tag. |
String |
getSessionId(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
Get the session id. |
String |
getStylesheet(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
Inserts the correct stylesheet into the layout template. |
protected String |
getTemplateClassName(String elementName,
CmsXmlTemplateFile doc,
Hashtable parameters)
Find the corresponding template class to be loaded. |
protected String |
getTemplateFileName(String elementName,
CmsXmlTemplateFile doc,
Hashtable parameters)
Find the corresponding template file to be loaded by the template class. |
protected String |
getTemplateSelector(String elementName,
CmsXmlTemplateFile doc,
Hashtable parameters)
Find the corresponding template selector to be activated. |
Object |
getTitle(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
Inserts the document title into the template. |
Object |
getTitleEscaped(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
Inserts the document title into the template, escaping special and non - ASCII characters with their HTML number representation (e.g. |
Object |
getUri(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
|
Object |
getUriWithParameter(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
|
boolean |
isStreamable(CmsObject cms,
String templateFile,
String elementName,
Hashtable parameters,
String templateSelector)
Indicates if the current template class is able to stream it's results directly to the response oputput stream. |
boolean |
isTemplateCacheSet()
Tests, if the template cache is setted. |
Object |
mergeAbsolutePath(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
Returns the absolute path of a resource merged with the absolute path of the file and the relative path in the tagcontent. |
Object |
mergeAbsoluteUrl(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
Returns the absolute path of a resource merged with the absolute path of the file and the relative path in the tagcontent. |
String |
parameters(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
For debugging purposes only. |
protected void |
registerVariantDeps(CmsObject cms,
String templateName,
String elementName,
String templateSelector,
Hashtable parameters,
Vector vfsDeps,
Vector cosDeps,
Vector cosClassDeps)
Saves the dependencies for this elementvariante. |
Object |
setEncoding(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
|
void |
setTemplateCache(I_CmsTemplateCache c)
Set the instance of template cache that should be used to store cacheable results of the subtemplates. |
boolean |
shouldReload(CmsObject cms,
String templateFile,
String elementName,
Hashtable parameters,
String templateSelector)
Indicates if a previous cached result should be reloaded. |
protected byte[] |
startProcessing(CmsObject cms,
CmsXmlTemplateFile xmlTemplateDocument,
String elementName,
Hashtable parameters,
String templateSelector)
Starts the processing of the given template file by calling the getProcessedTemplateContent() method of the content defintition
of the corresponding content type.
|
Object |
templateElement(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
Handles any occurence of an <ELEMENT> tag.
|
protected void |
throwException(String errorMessage)
Help method that handles any occuring error by writing an error message to the OpenCms logfile and throwing a CmsException of the type "unknown". |
protected void |
throwException(String errorMessage,
Exception e)
Help method that handles any occuring error by writing an error message to the OpenCms logfile and re-throwing a caught exception. |
protected void |
throwException(String errorMessage,
int type)
Help method that handles any occuring error by writing an error message to the OpenCms logfile and throwing a CmsException of the given type. |
| Methods inherited from class com.opencms.template.A_CmsTemplate |
debugPrint, isCacheable, isExportable, isProxyPrivateCacheable, isProxyPublicCacheable |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.opencms.template.I_CmsTemplate |
isCacheable, isExportable, isProxyPrivateCacheable, isProxyPublicCacheable |
| Field Detail |
public static final String C_FRAME_SELECTOR
public static final String C_BODY_ELEMENT
public static final boolean C_DEBUG
protected static I_CmsTemplateCache m_cache
| Constructor Detail |
public CmsXmlTemplate()
| Method Detail |
public Integer counter(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
throws CmsException
counter and
prints out its new value..
May be called from the template file using
<METHOD name="counter">.
cms - CmsObject Object for accessing system resources.tagcontent - Unused in this special case of a user method. Can be ignored.doc - Reference to the A_CmsXmlContent object the initiating XLM document.
counter.
CmsExceptionprotected String getClassName()
getClassName in class A_CmsTemplate
public byte[] getContent(CmsObject cms,
String templateFile,
String elementName,
Hashtable parameters)
throws CmsException
Parameters are stored in a hashtable and can derive from
getContent in interface I_CmsTemplatecms - CmsObject Object for accessing system resourcestemplateFile - Filename of the template fileelementName - Element name of this template in our parent templateparameters - Hashtable with all template class parameters.
CmsException
public byte[] getContent(CmsObject cms,
String templateFile,
String elementName,
Hashtable parameters,
String templateSelector)
throws CmsException
getContent in interface I_CmsTemplatecms - CmsObject Object for accessing system resources.templateFile - Filename of the template file.elementName - Element name of this template in our parent template.parameters - Hashtable with all template class parameters.templateSelector - template section that should be processed.
CmsExceptiongetContent(CmsObject, String, String, Hashtable, String)
public Object getFileUri(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
throws CmsException
cms - CmsObject Object for accessing system resources.tagcontent - Unused in this special case of a user method. Can be ignored.doc - Reference to the A_CmsXmlContent object of the initiating XLM document.
CmsException
public Object mergeAbsolutePath(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
throws CmsException
cms - CmsObject Object for accessing system resources.tagcontent - The relative path of the resource incl. name of the resource.doc - Reference to the A_CmsXmlContent object of the initiating XLM document.
CmsException
public Object mergeAbsoluteUrl(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
throws CmsException
cms - CmsObject Object for accessing system resources.tagcontent - The relative path of the resource incl. name of the resource.doc - Reference to the A_CmsXmlContent object of the initiating XLM document.
CmsException
public Object getFrameQueryString(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
throws CmsException
This method can be called using <METHOD name="getCmsQueryString">
in the template file.
cms - CmsObject Object for accessing system resources.tagcontent - Unused in this special case of a user method. Can be ignored.doc - Reference to the A_CmsXmlContent object of the initiating XLM document.
CmsException
public Object getFrameTarget(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
throws CmsException
This method can be called using <METHOD name="getCmsFrame">
in the template file.
cms - CmsObject Object for accessing system resources.tagcontent - Unused in this special case of a user method. Can be ignored.doc - Reference to the A_CmsXmlContent object of the initiating XLM document.
CmsException
public Object getKey(CmsObject cms,
String templateFile,
Hashtable parameters,
String templateSelector)
Since our results may depend on the used template file, the parameters and the requested body document, we must build a complex key using this three arguments.
getKey in interface I_CmsTemplatecms - CmsObject Object for accessing system resourcestemplateFile - Filename of the template fileparameters - Hashtable with all template class parameters.templateSelector - template section that should be processed.
public CmsXmlTemplateFile getOwnTemplateFile(CmsObject cms,
String templateFile,
String elementName,
Hashtable parameters,
String templateSelector)
throws CmsException
Every extending class using not CmsXmlTemplateFile as content type, but any derived type should override this method.
getOwnTemplateFile in interface I_CmsXmlTemplatecms - CmsObject Object for accessing system resources.templateFile - Filename of the template file.elementName - Element name of this template in our parent template.parameters - Hashtable with all template class parameters.templateSelector - template section that should be processed.
CmsException
public Object getPathUri(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
throws CmsException
cms - CmsObject Object for accessing system resources.tagcontent - Unused in this special case of a user method. Can be ignored.doc - Reference to the A_CmsXmlContent object of the initiating XLM document.
CmsException
public Object getQueryString(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
throws CmsException
This method can be called using <METHOD name="getTitle">
in the template file.
cms - CmsObject Object for accessing system resources.tagcontent - Unused in this special case of a user method. Can be ignored.doc - Reference to the A_CmsXmlContent object of the initiating XLM document.
CmsException
public String getRequestIp(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
throws CmsException
This method can be called using <METHOD name="getRequestIp">
in the template file.
cms - CmsObject Object for accessing system resources.tagcontent - Unused in this special case of a user method. Can be ignored.doc - Reference to the A_CmsXmlContent object of the initiating XLM document.
CmsException
public Object getServletPath(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
throws CmsException
This method can be called using <METHOD name="getTitle">
in the template file.
cms - CmsObject Object for accessing system resources.tagcontent - Unused in this special case of a user method. Can be ignored.doc - Reference to the A_CmsXmlContent object of the initiating XLM document.
CmsException
public String getSessionId(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
throws CmsException
This method can be called using <METHOD name="getSessionId">
in the template file.
cms - CmsObject Object for accessing system resources.tagcontent - Unused in this special case of a user method. Can be ignored.doc - Reference to the A_CmsXmlContent object of the initiating XLM document.
CmsException
public String getStylesheet(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
throws CmsException
This method can be called using <METHOD name="getStylesheet">
in the template file.
When using this method follwing parameters should be defined either in the page file or in the template file:
root.stylesheet-ieroot.stylesheet-ns
cms - CmsObject Object for accessing system resources.tagcontent - Unused in this special case of a user method. Can be ignored.doc - Reference to the A_CmsXmlContent object of the initiating XLM document.
CmsException - In case no stylesheet was found (or there were errors accessing the CmsObject)
protected String getTemplateClassName(String elementName,
CmsXmlTemplateFile doc,
Hashtable parameters)
throws CmsException
elementName - Element name of this template in our parent template.doc - CmsXmlTemplateFile object of our template file including a subtemplate.parameters - Hashtable with all template class parameters.
CmsException
protected String getTemplateFileName(String elementName,
CmsXmlTemplateFile doc,
Hashtable parameters)
throws CmsException
elementName - Element name of this template in our parent template.doc - CmsXmlTemplateFile object of our template file including a subtemplate.parameters - Hashtable with all template class parameters.
CmsException
protected String getTemplateSelector(String elementName,
CmsXmlTemplateFile doc,
Hashtable parameters)
throws CmsException
elementName - Element name of this template in our parent template.doc - CmsXmlTemplateFile object of our template file including a subtemplate.parameters - Hashtable with all template class parameters.
CmsException
public Object getTitle(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
throws CmsException
This method can be called using <METHOD name="getTitle">
in the template file.
cms - CmsObject Object for accessing system resources.tagcontent - Unused in this special case of a user method. Can be ignored.doc - Reference to the A_CmsXmlContent object of the initiating XLM document.
CmsException
public Object getTitleEscaped(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
throws CmsException
This method can be called using <METHOD name="getTitleEscaped">
in the template file.
cms - CmsObject Object for accessing system resources.tagcontent - Unused in this special case of a user method. Can be ignored.doc - Reference to the A_CmsXmlContent object of the initiating XLM document.
CmsException
public Object getDescription(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
throws CmsException
This method can be called using <METHOD name="getDescription">
in the template file.
cms - CmsObject Object for accessing system resources.tagcontent - Unused in this special case of a user method. Can be ignored.doc - Reference to the A_CmsXmlContent object of the initiating XLM document.
CmsException
public Object getProperty(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
throws CmsException
This method can be called using <METHOD name="getProperty">
in the template file.
cms - CmsObject Object for accessing system resources.tagcontent - The name of the property.doc - Reference to the A_CmsXmlContent object of the initiating XLM document.
CmsException
public Object getKeywords(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
throws CmsException
This method can be called using <METHOD name="getKeywords">
in the template file.
cms - CmsObject Object for accessing system resources.tagcontent - Unused in this special case of a user method. Can be ignored.doc - Reference to the A_CmsXmlContent object of the initiating XLM document.
CmsException
public Object getEncoding(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
throws CmsException
CmsException
public Object setEncoding(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
throws CmsException
CmsException
public Object getUri(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
throws CmsException
cms - CmsObject Object for accessing system resources.tagcontent - May contain the parameter for framesets to work in the static export.doc - Reference to the A_CmsXmlContent object of the initiating XLM document.
CmsException
public Object getUriWithParameter(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
throws CmsException
cms - CmsObject Object for accessing system resources.tagcontent - Contains the parameter for framesets.doc - Reference to the A_CmsXmlContent object of the initiating XLM document.
CmsException
public boolean isStreamable(CmsObject cms,
String templateFile,
String elementName,
Hashtable parameters,
String templateSelector)
Classes must not set this feature, if they might throw special exception that cause HTTP errors (e.g. 404/Not Found), or if they might send HTTP redirects.
If a class sets this feature, it has to check the
isStreaming() property of the RequestContext. If this is set
to true the results must be streamed directly
to the output stream. If it is false the results
must not be streamed.
Complex classes that are able top include other subtemplates have to check the streaming ability of their subclasses here!
isStreamable in interface I_CmsTemplateisStreamable in class A_CmsTemplatecms - CmsObject Object for accessing system resourcestemplateFile - Filename of the template fileelementName - Element name of this template in our parent template.parameters - Hashtable with all template class parameters.templateSelector - template section that should be processed.
public CmsCacheDirectives collectCacheDirectives(CmsObject cms,
String templateFile,
String elementName,
Hashtable parameters,
String templateSelector)
Complex classes that are able to include other subtemplates have to check the streaming ability of their subclasses here!
collectCacheDirectives in interface I_CmsTemplatecollectCacheDirectives in class A_CmsTemplatecms - CmsObject Object for accessing system resourcestemplateFile - Filename of the template fileelementName - Element name of this template in our parent template.parameters - Hashtable with all template class parameters.templateSelector - template section that should be processed.
public CmsCacheDirectives getCacheDirectives(CmsObject cms,
String templateFile,
String elementName,
Hashtable parameters,
String templateSelector)
cms - CmsObject Object for accessing system resourcestemplateFile - Filename of the template fileelementName - Element name of this template in our parent template.parameters - Hashtable with all template class parameters.templateSelector - template section that should be processed.
public CmsMethodCacheDirectives getMethodCacheDirectives(CmsObject cms,
String methodName)
cms - the cms object.methodName - the name of the method for witch the MethodCacheDirectives are wanted.public final boolean isTemplateCacheSet()
isTemplateCacheSet in interface I_CmsTemplatetrue if setted, false otherwise.
public String parameters(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
May be called from the template file using
<METHOD name="parameters">.
cms - CmsObject Object for accessing system resources.tagcontent - Unused in this special case of a user method. Can be ignored.doc - Reference to the A_CmsXmlContent object the initiating XLM document.
public final void setTemplateCache(I_CmsTemplateCache c)
setTemplateCache in interface I_CmsTemplatec - Template cache to be used.
public boolean shouldReload(CmsObject cms,
String templateFile,
String elementName,
Hashtable parameters,
String templateSelector)
not implemented. Returns always false.
shouldReload in interface I_CmsTemplatecms - CmsObject Object for accessing system resourcestemplateFile - Filename of the template fileelementName - Element name of this template in our parent template.parameters - Hashtable with all template class parameters.templateSelector - template section that should be processed.
false
protected void registerVariantDeps(CmsObject cms,
String templateName,
String elementName,
String templateSelector,
Hashtable parameters,
Vector vfsDeps,
Vector cosDeps,
Vector cosClassDeps)
throws CmsException
cms - The cms object.elementName - only needed for getCachDirectives, if it is not used there it may be nulltemplateSelector - only needed for getCachDirectives, if it is not used there it may be nullvfsDeps - A vector (of CmsResource objects) with the resources that variant depends on.cosDeps - A vector (of CmsContentDefinitions) with the cd-resources that variant depends on.cosClassDeps - A vector (of Class objects) with the contentdefinitions that variant depends on.
CmsException
protected byte[] startProcessing(CmsObject cms,
CmsXmlTemplateFile xmlTemplateDocument,
String elementName,
Hashtable parameters,
String templateSelector)
throws CmsException
getProcessedTemplateContent() method of the content defintition
of the corresponding content type.
Any exceptions thrown while processing the template will be caught, printed and and thrown again.
If element cache is enabled, generateElementCacheVariant()
will be called instead of getProcessedTemplateContent() for
generating a new element cache variant instead of the completely
processed output data.
This new variant will be stored in the current element using the cache key
given by the cache directives.
cms - CmsObject Object for accessing system resources.xmlTemplateDocument - XML parsed document of the content type "XML template file" or
any derived content type.elementName - Element name of this template in our parent template.parameters - Hashtable with all template class parameters.templateSelector - template section that should be processed.
CmsException
public Object templateElement(CmsObject cms,
String tagcontent,
A_CmsXmlContent doc,
Object userObject)
throws CmsException
<ELEMENT> tag.
Every XML template class should use CmsXmlTemplateFile as
the interface to the XML file. Since CmsXmlTemplateFile is
an extension of A_CmsXmlContent by the additional tag
<ELEMENT> this user method ist mandatory.
templateElement in interface I_CmsXmlTemplatecms - CmsObject Object for accessing system resources.tagcontent - Unused in this special case of a user method. Can be ignored.doc - Reference to the A_CmsXmlContent object of the initiating XLM document.
CmsException
protected void throwException(String errorMessage)
throws CmsException
throwException in class A_CmsTemplateerrorMessage - String with the error message to be printed.
CmsException
protected void throwException(String errorMessage,
int type)
throws CmsException
throwException in class A_CmsTemplateerrorMessage - String with the error message to be printed.type - Type of the exception to be thrown.
CmsException
protected void throwException(String errorMessage,
Exception e)
throws CmsException
throwException in class A_CmsTemplateerrorMessage - String with the error message to be printed.e - Exception to be re-thrown.
CmsException
public A_CmsElement createElement(CmsObject cms,
String templateFile,
Hashtable parameters)
Complex template classes that are able to include other (sub-)templates must generate a collection of element definitions for their possible subtemplates. This collection is part of the new element.
createElement in interface I_CmsTemplatecms - CmsObject for accessing system resources.templateFile - Name of the template file for the new elementparameters - All parameters of the current request
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||