Hello everyone, I have J2 checkouted from CVS. What I'm trying to do is to replace vm decorators with jsp. I've got 2 questions.
--- 1. How to do I initialize/use JetspeedPowerTool in custom JSP decorator page. I had modified LayoutPortlet.java before I tried to use jsp like this: <% JetspeedPowerTool jpt = new JetspeedPowerTool(pageContext); out.write(jpt.getPage().getTitle()); %> Then I got: JetspeedRequestDispatcher failed to include servlet resources. (details below) Exception: org.apache.jasper.JasperException Message: JetspeedPowerTool has not been properly initialized. The JetspeedPowerTool generally only usuable during the rendering phase of internal portlet applications. Stack Trace: org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:207) ... --- 2. Is there any way to make layout.properties work with other extensions (.jsp). I do realize that this question is similar to one from this page http://www.mail-archive.com/[email protected]/msg14934.html but I hope maybe you have some other clues. Thanks for any help! Best regards, Tomasz --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
