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 Pierre Henry <ph...@proconcept.ch> on 2002/12/17 16:58:35 UTC

jsp portlet in registry

Hi all.

I have been trying to make a simple jsp portlet. Now I want to try it. I
created the xreg for it and put it in the WEB-INF/conf dir.

But I can't add this portlet. However, it shows up when I log with admin and
use the portlet browser...

I can't see anything false with my xreg, but it's the end of the day here
and I'm tired :-) Can you see something false ?

<portlet-entry name="XSQL Test 1" hidden="false" type="ref"
        parent="JSP" application="false">
        <meta-info>
            <title>xsql test 1</title>
            <description>Test     </description>
        </meta-info>
 
<classname>org.apache.jetspeed.portal.portlets.JspPortlet</classname>
        <parameter name="template" value="xsql1.jsp" hidden="true"
            cachedOnName="true" cachedOnValue="true"/>
        <parameter name="action"
            value="ch.proconcept.portal.modules.actions.XsqlPortlet1Action"
            hidden="true" cachedOnName="true" cachedOnValue="true"/>
        <url cachedOnURL="true"/>
    </portlet-entry>

now I put it into the main portlet.xreg file, but when i put it in its own
file I didn't omit the <registry></registry> pair.

I am using 1.4b2 with tomcat 4.1.12.

Thanks for any help !

Pierre

RE: jsp portlet in registry

Posted by Mark Orciuch <ma...@ngsltd.com>.
Looks like you have missing media-type entry.

Best regards,

Mark Orciuch - morciuch@apache.org
Jakarta Jetspeed - Enterprise Portal in Java
http://jakarta.apache.org/jetspeed/

> -----Original Message-----
> From: Pierre Henry [mailto:phenry@proconcept.ch]
> Sent: Tuesday, December 17, 2002 9:59 AM
> To: Jetspeed User List (E-mail)
> Subject: jsp portlet in registry
>
>
> Hi all.
>
> I have been trying to make a simple jsp portlet. Now I want to try it. I
> created the xreg for it and put it in the WEB-INF/conf dir.
>
> But I can't add this portlet. However, it shows up when I log
> with admin and
> use the portlet browser...
>
> I can't see anything false with my xreg, but it's the end of the day here
> and I'm tired :-) Can you see something false ?
>
> <portlet-entry name="XSQL Test 1" hidden="false" type="ref"
>         parent="JSP" application="false">
>         <meta-info>
>             <title>xsql test 1</title>
>             <description>Test     </description>
>         </meta-info>
>
> <classname>org.apache.jetspeed.portal.portlets.JspPortlet</classname>
>         <parameter name="template" value="xsql1.jsp" hidden="true"
>             cachedOnName="true" cachedOnValue="true"/>
>         <parameter name="action"
>
> value="ch.proconcept.portal.modules.actions.XsqlPortlet1Action"
>             hidden="true" cachedOnName="true" cachedOnValue="true"/>
>         <url cachedOnURL="true"/>
>     </portlet-entry>
>
> now I put it into the main portlet.xreg file, but when i put it in its own
> file I didn't omit the <registry></registry> pair.
>
> I am using 1.4b2 with tomcat 4.1.12.
>
> Thanks for any help !
>
> Pierre
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>