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 Javed Mahmud <jm...@it.uts.edu.au> on 2002/12/18 03:00:57 UTC

Whats wrong with xreg file

Hello All,
I am working on JSP Portlet. I m working with jetspeed-1.4-b2,
jakarta-tomcat-4.1.12 and j2sdk1.4.1_01 using MySQL.
Can somebody tell me what is wrong with the following xreg file.
All the jsp files and action classes are in the right package (following
the turbine package structure). It does not come up in the list of
portlets to be added.

Thanks
Javed

<?xml version="1.0" encoding="UTF-8"?>
<registry>
    <portlet-entry name="DataMining" hidden="false" type="instance"
application="false">
        <meta-info>
            <title>Data Mining Australia</title>
            <description>Data Mining Australia Example Portlet</description>
        </meta-info>
        <classname>com.datamining.portal.portlets.DataMiningPortlet</classname>
        <media-type ref="html"/>
        <url cachedOnURL="true"/>
    </portlet-entry>
    <portlet-entry name="DataMiningJSP" hidden="false" type="ref"
        parent="JSP" application="false">
        <meta-info>
            <title>Data Mining JSP</title>
            <description>First Data Mining JSP Portlet</description>
        </meta-info>
        <classname>org.apache.jetspeed.portal.portlets.JspPortlet</classname>
        <parameter name="template" value="datamining.jsp" hidden="false"
            cachedOnName="true" cachedOnValue="true"/>
        <media-type ref="html"/>
        <url cachedOnURL="true"/>
    </portlet-entry>
    <portlet-entry name="FramedDataMiningJSP" hidden="false" type="ref"
        parent="JSP" application="false">
        <meta-info>
            <title>Framed Data Mining JSP</title>
            <description>First Framed Data Mining JSP Portlet</description>
        </meta-info>
        <classname>org.apache.jetspeed.portal.portlets.IFramePortlet</classname>
        <parameter name="src" value="datamining.jsp" hidden="false"
            cachedOnName="true" cachedOnValue="true"/>
        <parameter name="width" value="100%" hidden="false"
            cachedOnName="true" cachedOnValue="true"/>
        <parameter name="scrolling" value="auto" hidden="false"
            cachedOnName="true" cachedOnValue="true"/>
        <media-type ref="html"/>
        <url cachedOnURL="true"/>
    </portlet-entry>
    <portlet-entry name="UserDetailEntry" hidden="false" type="ref"
parent="JSP" application="false">
        <meta-info>
            <title>User Detail Entry Portal</title>
            <description>User Details for Data Mining Portal</description>
        </meta-info>
        <classname>org.apache.jetspeed.portal.portlets.JspPortlet</classname>
        <parameter name="template" hidden=”true” value="UserDetails.jsp"/>

        <parameter name="action" hidden=”true”
value="portlets.UserDetailAction" />
        <media-type ref="html"/>
        <url cachedOnURL="true"/>
  </portlet-entry>
</registry>





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


RE: Whats wrong with xreg file

Posted by Richard Bourner <rb...@OpTechSoftware.com>.
I have the same problem with a different portlet.
It doesn't show in my list either.

Did anyone encounter ths problem before.
(I have the same config except for MySQL).


Richard



> -----Original Message-----
> From: Javed Mahmud [mailto:jmsyed@it.uts.edu.au]
> Sent: Tuesday, December 17, 2002 6:01 PM
> To: jetspeed-user@jakarta.apache.org
> Subject: Whats wrong with xreg file
>
>
> Hello All,
> I am working on JSP Portlet. I m working with jetspeed-1.4-b2,
> jakarta-tomcat-4.1.12 and j2sdk1.4.1_01 using MySQL.
> Can somebody tell me what is wrong with the following xreg file.
> All the jsp files and action classes are in the right package (following
> the turbine package structure). It does not come up in the list of
> portlets to be added.
>
> Thanks
> Javed
>
> <?xml version="1.0" encoding="UTF-8"?>
> <registry>
>     <portlet-entry name="DataMining" hidden="false" type="instance"
> application="false">
>         <meta-info>
>             <title>Data Mining Australia</title>
>             <description>Data Mining Australia Example
> Portlet</description>
>         </meta-info>
>
> <classname>com.datamining.portal.portlets.DataMiningPortlet</classname>
>         <media-type ref="html"/>
>         <url cachedOnURL="true"/>
>     </portlet-entry>
>     <portlet-entry name="DataMiningJSP" hidden="false" type="ref"
>         parent="JSP" application="false">
>         <meta-info>
>             <title>Data Mining JSP</title>
>             <description>First Data Mining JSP Portlet</description>
>         </meta-info>
>
> <classname>org.apache.jetspeed.portal.portlets.JspPortlet</classname>
>         <parameter name="template" value="datamining.jsp" hidden="false"
>             cachedOnName="true" cachedOnValue="true"/>
>         <media-type ref="html"/>
>         <url cachedOnURL="true"/>
>     </portlet-entry>
>     <portlet-entry name="FramedDataMiningJSP" hidden="false" type="ref"
>         parent="JSP" application="false">
>         <meta-info>
>             <title>Framed Data Mining JSP</title>
>             <description>First Framed Data Mining JSP
> Portlet</description>
>         </meta-info>
>
> <classname>org.apache.jetspeed.portal.portlets.IFramePortlet</classname>
>         <parameter name="src" value="datamining.jsp" hidden="false"
>             cachedOnName="true" cachedOnValue="true"/>
>         <parameter name="width" value="100%" hidden="false"
>             cachedOnName="true" cachedOnValue="true"/>
>         <parameter name="scrolling" value="auto" hidden="false"
>             cachedOnName="true" cachedOnValue="true"/>
>         <media-type ref="html"/>
>         <url cachedOnURL="true"/>
>     </portlet-entry>
>     <portlet-entry name="UserDetailEntry" hidden="false" type="ref"
> parent="JSP" application="false">
>         <meta-info>
>             <title>User Detail Entry Portal</title>
>             <description>User Details for Data Mining Portal</description>
>         </meta-info>
>
> <classname>org.apache.jetspeed.portal.portlets.JspPortlet</classname>
>         <parameter name="template" hidden=”true” value="UserDetails.jsp"/>
>
>         <parameter name="action" hidden=”true”
> value="portlets.UserDetailAction" />
>         <media-type ref="html"/>
>         <url cachedOnURL="true"/>
>   </portlet-entry>
> </registry>
>
>
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


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