synyx GmbH & Co. KG Homepage


Print at May 19, 2013 2:56:56 PM

Posted by Daniel.fidalgo at Jan 22, 2008 1:46:33 PM
Re: Problems with CmsJspTagContentLoad in Plain Java
it's not actually a jsp... it's a java class... it's called by the the OpenCms Scheduller. this class is called from one of the jobs... I kinda found the problem... but still can't overcome it... I'm calling the method:

public I_CmsXmlContentContainer contentload(String collectorName, String collectorParam, boolean editable)
throws JspException {

return contentload(collectorName, collectorParam, getRequestContext().getLocale(), editable);
}

this method calls the method:

public I_CmsXmlContentContainer contentload(
String collectorName,
String collectorParam,
Locale locale,
boolean editable) throws JspException {

return new CmsJspTagContentLoad(null, getJspContext(), collectorName, collectorParam, locale, editable);
}

the problem seems to be the getJspContext() method since its called from a plain java code ... is there any solution?

once again thanks for your help...

Daniel Fidalgo Silva