Add the following at the end of the <portlet-entry> to allow the portlet
to appear in the customizer.
<media-type ref="html"/>
Paul Spencer
Christopher Abraham wrote:
>
> If you're going to use the JSP portlet, you'll want to use an entry that
> looks more like this:
> <portlet-entry name="HelloJSP" hidden="false" type="ref"
> parent="JSP" application="false">
> <meta-info>
> <title>HelloJSP</title>
> <description>Simple JSP Portlet Example</description>
> </meta-info>
> <parameter name="template"
> value="/WEB-INF/templates/jsp/portlets/html/hello.jsp"
> hidden="false"/>
> </portlet-entry>
> If the new fix for jsp implementation holds up to testing (Thanks Raphael
> for solving that issue and getting my config corrected), I'd definitely use
> JspPortlet. WebPagePortlet is just caching a snapshot of your jsp page, it
> won't show dynamic data appropriately. You can access/update data in session
> from your jsp's dynamically and interact with other portlets. I believe (we
> haven't tested this yet) you can even use the Turbine Action model within
> your jsps to alter the portlet output from within the portlet framework
> (much the way the Hello Velocity example does the same thing with velocity
> templates).
>
> Good luck!
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 17, 2001 11:11 AM
> To: [EMAIL PROTECTED]
> Subject: jsp implementation
> Importance: Low
>
> I am trying to incorporate a jsp into a portlet, I just got the latest cvs.
> I have read alot of archived mail, some say to implement webPagePortlet
> others say implement JSP.
> With the new jsp funcionality in this cvs how should jsps be implemented?
>
> //like this?
> <portlet-entry name="myjsp" hidden="false" type="ref" parent="JSP"
> application="false">
> <classname>/myjsp.jsp</classname>
>
> //or this?
> <portlet-entry name="myjsp" hidden="false" type="ref"
> parent="WebPagePortlet" application="false">
> <classname>/myjsp.jsp</classname>
>
> //or ?
>
> Thanks! Graham
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]