I have include the selection of XML file into the vm so that more than an XML data src can be used by the same vm. Seems more intersting to me ...
-----Original Message----- From: Vlachogiannis Evangelos [mailto:[EMAIL PROTECTED]] Sent: Friday, November 22, 2002 10:33 PM To: '[EMAIL PROTECTED]' Subject: XMLVelocityPortlet Hi all, I have developped a XMLVelocityPortlet portlet. You can use vm templates (in jetspeed portlets folder) for your page "geometry" and XML (any url) for your content/data. Attached samples (vm and xml) and java src file. Jetspeed ver: 1.3a2 Jars: jdom-b7.jar Xreg config: <portlet-entry name="XMLVelocityPortlet" hidden="false" type="instance" application="false"> <meta-info> <title>XMLVelocityPortlet</title> <description>XMLVelocityPortlet</description> </meta-info> <classname>gr.aegean.syros.jetspeed.portal.portlets.XMLVelocityPortlet</clas sname> <parameter name="vmtemplate" value="a.vm" hidden="false"/> <parameter name="xmlfile" value="http://evlach.syros.aegean.gr/jetspeed/a.xml" hidden="false"/> <media-type ref="html"/> </portlet-entry> Feel free to use it and ask me anything, Hope you ll find it useful, Regards, -------------------------------------------- Evangelos Vlachogiannis Researcher - PhD. Candidate Dept. of Products and Systems Design http://www.syros.aegean.gr) University of the Aegean (http://www.aegean.gr) Syros - Greece ........................................................................ Phone: +32281-097126 Mob: +3097-6560466 FAX: +32281-097009 e-mail: [EMAIL PROTECTED] Web: http://www.syros.aegean.gr/users/evlach --------------------------------------------
XMLVelocityPortlet.java
Description: Binary data
b.xml
Description: Binary data
a.xml
Description: Binary data
a.vm
Description: Binary data
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
