[opencms-dev] How to change the reference template for a file of type page?
Benjamin Rasmussen
benjamin.rasmussen at ctxm.com
Mon Jan 31 15:37:16 CET 2005
Hi
I am trying to create a page which should refer to a template. I have tried
the following so fare:
CmsJspActionElement cms = new CmsJspActionElement(pageContext, request,
response);
cms.getCmsObject().createFile(contentPath +
"temp/","testtest",content.getBytes(),
com.opencms.core.I_CmsConstants.C_TYPE_PAGE_NAME);
But how can I specify my own template while doing this?
Any help would be highly appreciated.
More information about the opencms-dev
mailing list