Hi all..... first of all thanks for your replay. There is a thing that i'm not able to understand..... how can i create a project for jetspeed? I think that i must create a project with my java src directory, my templates and all resources i need. Then i create a maven.xml where i set all my project properties, is it so? Then i re-compile all the project jetspeed and i'll deploy it, am i right? Thanks ---------- Initial Header -----------
>From : "Sebastien BLANC" [EMAIL PROTECTED] To : jetspeed-user@jakarta.apache.org Cc : Date : Wed, 22 Dec 2004 14:32:20 +0100 (CET) Subject : RE: Write a my personal GenericMVCPortlet > Hi, > For 2) > You can use your portlet by putting a reference to it in the psml file (or > psml database), use the <entry> tag : <portlets> > ... > <entry id="101" parent="Link Farm Portlet"> > <metainfo> > <title>put here some info</title> > </metainfo> > <-- you can also add a control tag,a skin tag and a security tag --> > <control name="FarmControl"/> > <skin name="FarmSkin"/> > <security-ref parent="MySecurity"/> > </entry> > ... > </portlets> > > > -----Original Message----- > From: angeloimm [mailto:[EMAIL PROTECTED] > Sent: woensdag 22 december 2004 13:55 > To: Jetspeed Jetspeed > Subject: Write a my personal GenericMVCPortlet > > 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] ____________________________________________________________ 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]