Hi all.. i'm newbie in jetspeed..... i have not understood two things:

1) I want to use Jetspeed 1.5 under JBoss 3.2.5.... how can i use JBoss 
datasources? I think i must change the file Torque.properties... but how?

2) I want to write a my portlet that has as parent a GenericMVC; by starting 
from a sample found on javaworld, i have written some java classes; i have 
written my vm files, merge files and xreg files; the xreg file is:

<?xml version="1.0" encoding="UTF-8"?>
<registry>
    <portlet-entry name="Link Farm Portlet" hidden="false" type="ref" 
parent="GenericMVCPortlet" application="false">
        <meta-info>
            <title>Link Farm Portlet</title>
            <description>Create and maintain lists of URL's for quick 
links</description>
        </meta-info>
        
<classname>org.apache.jetspeed.portal.portlets.GenericMVCPortlet</classname>
        <parameter name="template" value="linkFarm1-view" hidden="true" 
cachedOnName="true" cachedOnValue="true"/>
        <parameter name="viewtype" value="Velocity" hidden="true" 
cachedOnName="true" cachedOnValue="true"/>
        <parameter name="action" value="portlets.MyLinkFarmAction" 
hidden="true" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="columns" value="4" type="int" hidden="false" 
cachedOnName="true" cachedOnValue="true"/>
        <parameter name="editable" value="true" type="boolean" hidden="false" 
cachedOnName="true" cachedOnValue="true"/>
        <parameter name="view" value="condensed" type="style" hidden="false" 
cachedOnName="true" cachedOnValue="true">
            <meta-info>
                <title>View</title>
                <description>View links in condensed, expanded or 
JavaScriptPowered view.</description>
            </meta-info>
        </parameter>
        <parameter name="view.style" value="ListBox" hidden="true" 
cachedOnName="true" cachedOnValue="true"/>
        <parameter name="view.style.items" value="condensed,expanded, 
JavaScriptPowered" hidden="true" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="view.style.layout" value="$combo" hidden="true" 
cachedOnName="true" cachedOnValue="true"/>
        <parameter name="view.style.sort" value="true" hidden="true" 
cachedOnName="true" cachedOnValue="true"/>
        <media-type ref="html"/>
        <url cachedOnURL="true"/>
        <category group="Jetspeed">example</category>
    </portlet-entry>
</registry>

Now how can i use it?
What must i do in order to use my Portlet and my classes?
Thanks



____________________________________________________________
Regala e regalati Libero ADSL: 3 mesi gratis e navighi veloce. 1.2 Mega di 
musica, film, video e sport. 
Abbonati subito senza costi di attivazione su http://www.libero.it




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to