You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Sv...@obiatotto2.de on 2001/09/20 10:32:13 UTC

services.TemplateService.default.extension=jsp

Hello.

I got a problem with the customizer feature, while using JSP
as default template extension.

Everything works fine, but the customizer.jsp is not working.

The track stace defaults to default.jsp as long as I don't
change anything to the default config.


The Path to customize.jsp ist not found I think.
<portlet-entry name="HomepageCustomizer" hidden="true"
        type="instance" application="false">
        <security role="user"/>

<classname>org.apache.jetspeed.portal.portlets.customize.CustomizePortlet</classname>
        <parameter name="jsp_location"
            value="/dynamic/customizer/customize.jsp" hidden="false"/>

If I put the customize.jsp in the templates/jsp/screens/html/de (my default
locale)
directory an error is thrown...

This is a part of the stacktrace:

JetspeedJspLayout: set response content type to text/html;
charset=ISO-8859-1
[Wed Sep 19 18:40:38 CEST 2001] -- INFO -- JetspeedJspLayout: set
'screenJSP' to: /WEB-INF/templates/jsp/screens/html/de/Customize.jsp
[Wed Sep 19 18:40:38 CEST 2001] -- INFO -- JetspeedJspLayout: forward
request to: /layouts/html/de/default.jsp
[Wed Sep 19 18:40:40 CEST 2001] -- ERROR -- Turbine.handleException: Error
encountered processing a template:/layouts/html/de/default.jsp
[Wed Sep 19 18:40:40 CEST 2001] -- ERROR --
     Exception:  org.apache.turbine.util.TurbineException: Error
encountered processing a template:/layouts/html/de/default.jsp
     Stack Trace follows:
     javax.servlet.ServletException
     at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:459)
     at WEB_0002dINF.templates.jsp.screens.html.de.
_0002fWEB_0002dINF_0002ftemplates_0002fjsp_0002fscreens_0002fhtml_0002fde_0002fCustomize_0002ejspCustomize_jsp_0.

jspService
(_0002fWEB_0002dINF_0002ftemplates_0002fjsp_0002fscreens_0002fhtml_0002fde_0002fCustomize_0002ejspCustomize_jsp_0.java:193)

Is there anyone who has an idea?

thanks.sven


Re: services.TemplateService.default.extension=jsp

Posted by Paul Spencer <pa...@mikon.com>.
Currently all of the work in the customizer has been with VM. The JSP
implementation of the customizer has not been completed. 

Paul Spencer

Sven.Hohlfeld@obiatotto2.de wrote:
> 
> Hello.
> 
> I got a problem with the customizer feature, while using JSP
> as default template extension.
> 
> Everything works fine, but the customizer.jsp is not working.
> 
> The track stace defaults to default.jsp as long as I don't
> change anything to the default config.
> 
> The Path to customize.jsp ist not found I think.
> <portlet-entry name="HomepageCustomizer" hidden="true"
>         type="instance" application="false">
>         <security role="user"/>
> 
> <classname>org.apache.jetspeed.portal.portlets.customize.CustomizePortlet</classname>
>         <parameter name="jsp_location"
>             value="/dynamic/customizer/customize.jsp" hidden="false"/>
> 
> If I put the customize.jsp in the templates/jsp/screens/html/de (my default
> locale)
> directory an error is thrown...
> 
> This is a part of the stacktrace:
> 
> JetspeedJspLayout: set response content type to text/html;
> charset=ISO-8859-1
> [Wed Sep 19 18:40:38 CEST 2001] -- INFO -- JetspeedJspLayout: set
> 'screenJSP' to: /WEB-INF/templates/jsp/screens/html/de/Customize.jsp
> [Wed Sep 19 18:40:38 CEST 2001] -- INFO -- JetspeedJspLayout: forward
> request to: /layouts/html/de/default.jsp
> [Wed Sep 19 18:40:40 CEST 2001] -- ERROR -- Turbine.handleException: Error
> encountered processing a template:/layouts/html/de/default.jsp
> [Wed Sep 19 18:40:40 CEST 2001] -- ERROR --
>      Exception:  org.apache.turbine.util.TurbineException: Error
> encountered processing a template:/layouts/html/de/default.jsp
>      Stack Trace follows:
>      javax.servlet.ServletException
>      at
> org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:459)
>      at WEB_0002dINF.templates.jsp.screens.html.de.
> _0002fWEB_0002dINF_0002ftemplates_0002fjsp_0002fscreens_0002fhtml_0002fde_0002fCustomize_0002ejspCustomize_jsp_0.
> 
> jspService
> (_0002fWEB_0002dINF_0002ftemplates_0002fjsp_0002fscreens_0002fhtml_0002fde_0002fCustomize_0002ejspCustomize_jsp_0.java:193)
> 
> Is there anyone who has an idea?
> 
> thanks.sven
> 
>   ------------------------------------------------------------------------
>                                Name: InterScan_Disclaimer.txt
>    InterScan_Disclaimer.txt    Type: Plain Text (text/plain)
>                            Encoding: 7bit
> 
>   ------------------------------------------------------------------------
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org