[opencms-dev] Get mastertemplate of a page via API

M Butcher mbutcher at grcomputing.net
Tue Apr 20 17:51:00 CEST 2004


Armen

Yes, but it will take a little bit of code.

For a JSP file, you can get the template from with CmsObject.redProperty()

For a Page, I think you have to create a new CmsXmlTemplateFile and get 
the template out of the XML file.

Matt

Armen Markarian wrote:
> Hi Group,
> 
> How can i get the mastertemplate of a page via the API?
> 
> Thanx lot
> 
> Armen
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list