You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by ra...@apache.org on 2001/05/02 12:52:40 UTC
cvs commit: jakarta-jetspeed/webapp/WEB-INF/xsl ocs.xsl
raphael 01/05/02 03:52:40
Modified: webapp/WEB-INF/conf JetspeedResources.properties
jetspeed-config.jcfg
webapp/WEB-INF/xsl ocs.xsl
Added: webapp/WEB-INF/conf admin.xreg controllers.xreg
controls.xreg media.xreg portlets.xreg registry.xml
wml-examples.xreg
Removed: webapp/WEB-INF/conf WebMacro.properties cocoon.properties
Log:
new registry implementation
- new Registry service
- new om.newregistry object model package
- modified user classes dependent on the API
Revision Changes Path
1.21 +27 -29 jakarta-jetspeed/webapp/WEB-INF/conf/JetspeedResources.properties
Index: JetspeedResources.properties
===================================================================
RCS file: /home/cvs/jakarta-jetspeed/webapp/WEB-INF/conf/JetspeedResources.properties,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- JetspeedResources.properties 2001/04/25 00:15:46 1.20
+++ JetspeedResources.properties 2001/05/02 10:52:32 1.21
@@ -1,7 +1,7 @@
################################################################################
# Jetspeed Configuration
# Author: Kevin A. Burton (burton@apache.org)
-# $Id: JetspeedResources.properties,v 1.20 2001/04/25 00:15:46 taylor Exp $
+# $Id: JetspeedResources.properties,v 1.21 2001/05/02 10:52:32 raphael Exp $
################################################################################
# This is the main file you will need to configuration Jetspeed. If there are
# any secondary files they will be pointed to from this file.
@@ -99,10 +99,6 @@
#Default: org.apache.jetspeed.portal.DefaultPortletControl
portletcontrol.default.classname=org.apache.jetspeed.portal.controls.TitlePortletControl
-# specify the maximized portlet control that should be instantiated
-#Default: org.apache.jetspeed.portal.controls.FullScreenControl
-portletcontrol.maximized.classname=org.apache.jetspeed.portal.controls.FullScreenControl
-
#specify what default portlet controller should be instantiated
#Default: org.apache.jetspeed.portal.DefaultPortletController
portletcontroller.default.classname=org.apache.jetspeed.portal.controllers.RowColumnPortletController
@@ -205,7 +201,7 @@
contentfeeds.feed.local.url=/ocs/local.ocs
contentfeeds.feed.apache.description=ASF OCS Feed ( http://www.apache.org/ )
-contentfeeds.feed.apache.url=http://jakarta.apache.org/jetspeed/channels/apache.ocs
+contentfeeds.feed.apache.url=http://java.apache.org/jetspeed/channels/apache.ocs
#contentfeeds.feed.xmltree.description=XML Tree OCS Feed ( http://www.xmltree.com )
#contentfeeds.feed.xmltree.url=http://www.xmltree.com/export/ocs.cfm
@@ -346,23 +342,15 @@
services.ThreadPool.minspare.count=5
#########################################
-# PortletCache Service #
+# EngineContext Service #
#########################################
+#services.EngineContext.classname=org.apache.jetspeed.services.enginecontext.ServletEngineContextService
+
services.PortletCache.classname=org.apache.jetspeed.services.portletcache.JetspeedPortletCacheService
-#########################################
-# URLManager Service #
-#########################################
services.URLManager.classname=org.apache.jetspeed.services.urlmanager.JetspeedURLManagerService
services.URLManager.url=/WEB-INF/conf/datasources.properties
-# The name/port of the proxies for different protocols
-# General Format: services.URLManager.proxy.<protocol>.host=... for the hostname
-# and services.URLManager.proxy.<protocol>.port=... for the port.
-#services.URLManager.proxy.http.host=<myHttpProxy>
-#services.URLManager.proxy.http.port=80
-
-
#services.Cocoon.classname=org.apache.jetspeed.services.cocoon.JetspeedCocoonService
#services.Cocoon.properties=/WEB-INF/conf/cocoon.properties
@@ -376,8 +364,20 @@
services.RegistryManager.refreshRate=1800
#########################################
+# Registry Service #
+#########################################
+services.Registry.classname=org.apache.jetspeed.services.registry.CastorRegistryService
+services.Registry.directory=${webapp.dir}/WEB-INF/conf/
+services.Registry.registries=Portlet,PortletControl,PortletController,MediaType
+services.Registry.mapping=${webapp.dir}/WEB-INF/conf/registry.xml
+services.Registry.extension=.xreg
+services.Registry.refreshRate=100
+
+#########################################
# ProfileManager Service #
#########################################
+# These settings are used by the new Jetspeed profiler which is not
+# activated by default in the 1.3a1 release
# The Profile Manager Service is implemented as a Turbine service.
services.ProfileManager.classname=org.apache.jetspeed.services.profiler.JetspeedProfileManagerService
@@ -385,6 +385,10 @@
# The webapp relative path to the root profiling directory
services.ProfileManager.root=/WEB-INF/psml
+# Profiler-Root relative path to directory used for anonymous access
+# leave blank for directly in the psml root directory
+services.ProfileManager.anon.dir=
+
# The default resource filename
services.ProfileManager.resource.default=default
@@ -392,23 +396,13 @@
services.ProfileManager.resource.ext=.psml
# Use security?
-# if you aren't securing your psml files, turn this off
services.ProfileManager.security=false
# Use language?
-# turn off language profiling if you have a one-language site
services.ProfileManager.language=true
-# Use NameCache?
-# the name cache speeds up profiling, but if you want to
-# add psml resources without taking the server down, the
-# cache currently doesn't support it
-services.ProfileManager.namecache=true
-
# Enable?
-# If your psml is from version 1.3a1 or before, set to false
-services.ProfileManager.enable=true
-
+services.ProfileManager.enable=false
##########################################
# Diskcache configuration #
@@ -429,4 +423,8 @@
confirm.email.from=jetspeed@domain
confirm.email.name=Jetspeed
confirm.email.subject=Jetspeed registration
-confirm.email.enable=true
+
+# Jetspeed pull objects
+tool.request.clink=org.apache.jetspeed.util.template.ContentTemplateLink
+tool.request.jlink=org.apache.jetspeed.util.template.JetspeedTemplateLink
+tool.request.jetspeed=org.apache.jetspeed.util.template.JetspeedTool
1.14 +7 -7 jakarta-jetspeed/webapp/WEB-INF/conf/jetspeed-config.jcfg
Index: jetspeed-config.jcfg
===================================================================
RCS file: /home/cvs/jakarta-jetspeed/webapp/WEB-INF/conf/jetspeed-config.jcfg,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- jetspeed-config.jcfg 2001/04/03 00:28:18 1.13
+++ jetspeed-config.jcfg 2001/05/02 10:52:34 1.14
@@ -4,7 +4,7 @@
<!--
Jetspeed Configuration
- Version: $Id: jetspeed-config.jcfg,v 1.13 2001/04/03 00:28:18 raphael Exp $
+ Version: $Id: jetspeed-config.jcfg,v 1.14 2001/05/02 10:52:34 raphael Exp $
Authors: Kevin A. Burton (burton@apache.org)
See proposal: /docs/proposals/0003.txt
-->
@@ -174,17 +174,17 @@
</portlet-entry>
- <portlet-entry type="abstract" name="WebPagePortlet">
+ <portlet-entry type="abstract" name="WebPagePortlet">
<classname>org.apache.jetspeed.portal.portlets.WebPagePortlet</classname>
</portlet-entry>
<portlet-entry type="ref" parent="WebPagePortlet" name="JavaWeb">
- <url>http://www.javasoft.com/</url>
- <parameter name="dont_remove_applet" value="yes" />
- <meta-info>
- <title>JavaSoft</title>
- <description>JavaSoft</description>
- </meta-info>
+ <url>http://www.javasoft.com/</url>
+ <parameter name="dont_remove_applet" value="yes" />
+ <meta-info>
+ <title>JavaSoft</title>
+ <description>JavaSoft</description>
+ </meta-info>
</portlet-entry>
</portlet-registry>
1.1 jakarta-jetspeed/webapp/WEB-INF/conf/admin.xreg
Index: admin.xreg
===================================================================
<?xml version="1.0" encoding="ISO-8859-1"?>
<registry>
<portlet-entry type="instance" name="Applications" hidden="true">
<security role="user"/>
<classname>org.apache.jetspeed.portal.portlets.ApplicationsPortlet</classname>
</portlet-entry>
<portlet-entry type="instance" name="HomepageCustomizer" hidden="true">
<security role="user"/>
<classname>org.apache.jetspeed.portal.portlets.customize.CustomizePortlet</classname>
<!-- jsp location points to the customize.jsp which displays the customize page -->
<parameter name="jsp_location" value="/dynamic/customizer/customize.jsp"/>
<parameter name="customization_max_number" value="50"/>
</portlet-entry>
<portlet-entry type="instance" name="PortletInfoPortlet" hidden="true">
<classname>org.apache.jetspeed.portal.portlets.PortletInfoPortlet</classname>
<parameter name="thirdparty.portletrenderer.url" value="http://avantgo.com/mydevice/autoadd.html?max=300&depth=5&images=0&links=0&refresh=always&hours=2&dflags=127&hour=0&quarter=00&s=00"/>
<parameter name="thirdparty.portletrenderer.caption" value="Add to Avantgo"/>
<meta-info>
<title>Portlet Information</title>
<description>Provides some information about a portlet</description>
</meta-info>
</portlet-entry>
<!-- BEGIN ADMIN PORTLETS -->
<portlet-entry type="instance" name="GlobalAdminPortlet" hidden="true">
<security role="admin"/>
<classname>org.apache.jetspeed.portal.portlets.admin.GlobalAdminPortlet</classname>
</portlet-entry>
<portlet-entry type="instance" name="JavaRuntimePortlet" hidden="true">
<security role="admin"/>
<classname>org.apache.jetspeed.portal.portlets.admin.JavaRuntimePortlet</classname>
</portlet-entry>
<portlet-entry type="instance" name="DaemonAdminPortlet" hidden="true">
<security role="admin"/>
<classname>org.apache.jetspeed.portal.portlets.admin.DaemonAdminPortlet</classname>
</portlet-entry>
<portlet-entry type="instance" name="JetspeedContentAdmin" hidden="true">
<security role="admin"/>
<classname>org.apache.jetspeed.portal.portlets.admin.JetspeedContentAdmin</classname>
</portlet-entry>
<portlet-entry type="instance" name="BadURLManagerPortlet" hidden="true">
<security role="admin"/>
<classname>org.apache.jetspeed.portal.portlets.admin.BadURLManagerPortlet</classname>
</portlet-entry>
<portlet-entry type="ref" parent="HTML" name="login" hidden="true">
<url>/login.html</url>
<meta-info>
<title>Login</title>
</meta-info>
</portlet-entry>
</registry>
1.1 jakarta-jetspeed/webapp/WEB-INF/conf/controllers.xreg
Index: controllers.xreg
===================================================================
<?xml version="1.0" encoding="ISO-8859-1"?>
<registry>
<portlet-controller-entry name="CardPortletController">
<classname>org.apache.jetspeed.portal.controllers.CardPortletController</classname>
<media-type ref="html"/>
</portlet-controller-entry>
<portlet-controller-entry name="DefaultPortletController">
<classname>org.apache.jetspeed.portal.controllers.DefaultPortletController</classname>
<media-type ref="html"/>
</portlet-controller-entry>
<portlet-controller-entry name="FlowPortletController">
<classname>org.apache.jetspeed.portal.controllers.FlowPortletController</classname>
<media-type ref="html"/>
</portlet-controller-entry>
<portlet-controller-entry name="GridPortletController">
<classname>org.apache.jetspeed.portal.controllers.GridPortletController</classname>
<media-type ref="html"/>
</portlet-controller-entry>
<portlet-controller-entry name="RowColumnPortletController">
<classname>org.apache.jetspeed.portal.controllers.RowColumnPortletController</classname>
<media-type ref="html"/>
</portlet-controller-entry>
</registry>
1.1 jakarta-jetspeed/webapp/WEB-INF/conf/controls.xreg
Index: controls.xreg
===================================================================
<?xml version="1.0" encoding="ISO-8859-1"?>
<registry>
<portlet-control-entry name="BorderPortletControl">
<classname>org.apache.jetspeed.portal.controls.BorderPortletControl</classname>
<meta-info>
<title>BorderPortletControl</title>
</meta-info>
<media-type ref="html"/>
</portlet-control-entry>
<portlet-control-entry name="ClearPortletControl">
<classname>org.apache.jetspeed.portal.controls.ClearPortletControl</classname>
<meta-info>
<title>ClearPortletControl</title>
</meta-info>
<media-type ref="html"/>
</portlet-control-entry>
<portlet-control-entry name="TitlePortletControl">
<classname>org.apache.jetspeed.portal.controls.TitlePortletControl</classname>
<meta-info>
<title>TitlePortletControl</title>
</meta-info>
<media-type ref="html"/>
</portlet-control-entry>
<portlet-control-entry name="PanedPortletControl">
<classname>org.apache.jetspeed.portal.controls.PanedPortletControl</classname>
<meta-info>
<title>PanedPortletControl</title>
</meta-info>
<media-type ref="html"/>
</portlet-control-entry>
</registry>
1.1 jakarta-jetspeed/webapp/WEB-INF/conf/media.xreg
Index: media.xreg
===================================================================
<?xml version="1.0" encoding="ISO-8859-1"?>
<registry>
<media-type-entry name="html">
<mime-type>text/html</mime-type>
<meta-info>
<title>HTML</title>
<description>Rich HTML for HTML 4.0 compliants browsers</description>
</meta-info>
</media-type-entry>
<media-type-entry name="wml">
<mime-type>text/vnd.wap.wml</mime-type>
<meta-info>
<title>WML</title>
<description>Format for mobile phones and PDAs compatible with WML 1.1</description>
</meta-info>
</media-type-entry>
<media-type-entry name="vxml">
<mime-type>text/vxml</mime-type>
<meta-info>
<title>VoiceXML</title>
<description>Format suitable for use with an audio VoiceXML server</description>
</meta-info>
</media-type-entry>
</registry>
1.1 jakarta-jetspeed/webapp/WEB-INF/conf/portlets.xreg
Index: portlets.xreg
===================================================================
<?xml version="1.0" encoding="ISO-8859-1"?>
<registry>
<portlet-entry type="abstract" name="XSL" >
<classname>org.apache.jetspeed.portal.portlets.XSLPortlet</classname>
</portlet-entry>
<portlet-entry type="abstract" name="RSS">
<classname>org.apache.jetspeed.portal.portlets.NewRSSPortlet</classname>
<parameter name="itemdisplayed" value="10"/>
<parameter name="stylesheet.text/html" value="/WEB-INF/xsl/rss.xsl"/>
<parameter name="stylesheet.text/vnd.wap.wml" value="/WEB-INF/xsl/rss-wml.xsl"/>
</portlet-entry>
<portlet-entry type="abstract" name="WML">
<classname>org.apache.jetspeed.portal.portlets.WMLFilePortlet</classname>
</portlet-entry>
<portlet-entry type="abstract" name="HTML">
<classname>org.apache.jetspeed.portal.portlets.FileServerPortlet</classname>
</portlet-entry>
<portlet-entry type="abstract" name="WebPagePortlet">
<classname>org.apache.jetspeed.portal.portlets.WebPagePortlet</classname>
</portlet-entry>
<portlet-entry type="instance" name="ClearPortlet" hidden="true">
<classname>org.apache.jetspeed.portal.portlets.ClearPortlet</classname>
</portlet-entry>
<portlet-entry type="instance" name="JetspeedContent">
<classname>org.apache.jetspeed.portal.portlets.JetspeedContent</classname>
<parameter name="provider-name" value="jetspeed"/>
</portlet-entry>
<portlet-entry type="ref" parent="HTML" name="Search">
<url>/search/index.html</url>
<meta-info>
<title>Search</title>
<description>Search the Internet</description>
</meta-info>
</portlet-entry>
<portlet-entry type="ref" parent="HTML" name="Welcome">
<url>/welcome.html</url>
<meta-info>
<title>Welcome</title>
</meta-info>
</portlet-entry>
<portlet-entry type="ref" parent="RSS" name="XMLHack">
<url>http://www.xmlhack.com/rss.php</url>
<meta-info>
<title>XMLHack</title>
</meta-info>
</portlet-entry>
<portlet-entry type="ref" parent="RSS" name="Apacheweek">
<url>http://www.apacheweek.com/issues/apacheweek-headlines.xml</url>
<meta-info>
<title>Apacheweek</title>
</meta-info>
</portlet-entry>
<portlet-entry type="ref" parent="RSS" name="Mozilla">
<parameter name="itemdisplayed" value="10"/>
<url>http://www.mozilla.org/news.rdf</url>
<meta-info>
<title>Mozilla</title>
</meta-info>
</portlet-entry>
<portlet-entry type="ref" parent="RSS" name="Jetspeed">
<url>/rss/Jetspeed.rss</url>
</portlet-entry>
<portlet-entry type="ref" parent="RSS" name="AdminInfo">
<url>/rss/admin.rss</url>
</portlet-entry>
<portlet-entry type="instance" name="AdminScreen" >
<classname>org.apache.jetspeed.portal.portlets.TurbineScreenPortlet</classname>
<parameter name="display.screen" value="Admin"/>
<parameter name="bgcolor" value="gray"/>
<meta-info>
<title>Turbine Screen in a portlet</title>
<description>We put the Admin Screen in a portlet.</description>
</meta-info>
</portlet-entry>
<portlet-entry type="ref" parent="WebPagePortlet" name="JavaWeb">
<url>http://www.javasoft.com/</url>
<parameter name="dont_remove_applet" value="yes" />
<meta-info>
<title>JavaSoft</title>
<description>JavaSoft</description>
</meta-info>
</portlet-entry>
</registry>
1.1 jakarta-jetspeed/webapp/WEB-INF/conf/registry.xml
Index: registry.xml
===================================================================
<?xml version="1.0"?>
<mapping>
<class name="org.apache.jetspeed.services.registry.RegistryFragment">
<map-to xml="registry"/>
<field name="portlets"
type="org.apache.jetspeed.om.newregistry.base.BasePortletEntry"
collection="vector">
<bind-xml name="portlet-entry"/>
</field>
<field name="controls"
type="org.apache.jetspeed.om.newregistry.base.BasePortletControlEntry"
collection="vector">
<bind-xml name="portlet-control-entry"/>
</field>
<field name="controllers"
type="org.apache.jetspeed.om.newregistry.base.BasePortletControllerEntry"
collection="vector">
<bind-xml name="portlet-controller-entry"/>
</field>
<field name="medias"
type="org.apache.jetspeed.om.newregistry.base.BaseMediaTypeEntry"
collection="vector">
<bind-xml name="media-type-entry"/>
</field>
</class>
<class name="org.apache.jetspeed.om.newregistry.base.BasePortletEntry">
<map-to xml="portlet-entry"/>
<field name="name" type="java.lang.String">
<bind-xml name="name" node="attribute"/>
</field>
<field name="hidden" type="boolean">
<bind-xml name="hidden" node="attribute"/>
</field>
<field name="baseSecurity"
type="org.apache.jetspeed.om.newregistry.base.BaseSecurity">
<bind-xml name="security"/>
</field>
<field name="metaInfo"
type="org.apache.jetspeed.om.newregistry.base.BaseMetaInfo">
<bind-xml name="meta-info"/>
</field>
<field name="classname" type="java.lang.String">
<bind-xml name="classname" node="element"/>
</field>
<field name="parameters"
type="org.apache.jetspeed.om.newregistry.base.BaseParameter"
collection="vector">
<bind-xml name="parameter"/>
</field>
<field name="mediaTypes" type="java.lang.String" collection="vector">
<bind-xml name="media-type"/>
</field>
<field name="type" type="java.lang.String">
<bind-xml name="type" node="attribute"/>
</field>
<field name="parent" type="java.lang.String">
<bind-xml name="parent" node="attribute"/>
</field>
<field name="application" type="boolean">
<bind-xml name="application" node="attribute"/>
</field>
<field name="URL" type="java.lang.String">
<bind-xml name="url" node="element"/>
</field>
</class>
<class name="org.apache.jetspeed.om.newregistry.base.BasePortletControlEntry">
<map-to xml="portlet-control-entry"/>
<field name="name" type="java.lang.String">
<bind-xml name="name" node="attribute"/>
</field>
<field name="hidden" type="boolean">
<bind-xml name="hidden" node="attribute"/>
</field>
<field name="baseSecurity"
type="org.apache.jetspeed.om.newregistry.base.BaseSecurity">
<bind-xml name="security"/>
</field>
<field name="metaInfo"
type="org.apache.jetspeed.om.newregistry.base.BaseMetaInfo">
<bind-xml name="meta-info"/>
</field>
<field name="classname" type="java.lang.String">
<bind-xml name="classname" node="element"/>
</field>
<field name="parameters"
type="org.apache.jetspeed.om.newregistry.base.BaseParameter"
collection="vector">
<bind-xml name="parameter"/>
</field>
<field name="mediaTypes" type="java.lang.String" collection="vector">
<bind-xml name="media-type"/>
</field>
</class>
<class name="org.apache.jetspeed.om.newregistry.base.BasePortletControllerEntry">
<map-to xml="portlet-controller-entry"/>
<field name="name" type="java.lang.String">
<bind-xml name="name" node="attribute"/>
</field>
<field name="hidden" type="boolean">
<bind-xml name="hidden" node="attribute"/>
</field>
<field name="baseSecurity"
type="org.apache.jetspeed.om.newregistry.base.BaseSecurity">
<bind-xml name="security"/>
</field>
<field name="metaInfo"
type="org.apache.jetspeed.om.newregistry.base.BaseMetaInfo">
<bind-xml name="meta-info"/>
</field>
<field name="classname" type="java.lang.String">
<bind-xml name="classname" node="element"/>
</field>
<field name="parameters"
type="org.apache.jetspeed.om.newregistry.base.BaseParameter"
collection="vector">
<bind-xml name="parameter"/>
</field>
<field name="mediaTypes" type="java.lang.String" collection="vector">
<bind-xml name="media-type"/>
</field>
</class>
<class name="org.apache.jetspeed.om.newregistry.base.BaseMediaTypeEntry">
<map-to xml="media-type-entry"/>
<field name="name" type="java.lang.String">
<bind-xml name="name" node="attribute"/>
</field>
<field name="hidden" type="boolean">
<bind-xml name="hidden" node="attribute"/>
</field>
<field name="baseSecurity"
type="org.apache.jetspeed.om.newregistry.base.BaseSecurity">
<bind-xml name="security"/>
</field>
<field name="metaInfo"
type="org.apache.jetspeed.om.newregistry.base.BaseMetaInfo">
<bind-xml name="meta-info"/>
</field>
<field name="mimeType" type="java.lang.String">
<bind-xml name="mime-type" node="element"/>
</field>
</class>
<class name="org.apache.jetspeed.om.newregistry.base.BaseMetaInfo">
<map-to xml="meta-info"/>
<field name="title" type="java.lang.String">
<bind-xml name="title" node="element"/>
</field>
<field name="description" type="java.lang.String">
<bind-xml name="description" node="element"/>
</field>
<field name="image" type="java.lang.String">
<bind-xml name="image" node="element"/>
</field>
</class>
<class name="org.apache.jetspeed.om.newregistry.base.BaseSecurity">
<map-to xml="security"/>
<field name="role" type="java.lang.String">
<bind-xml name="role" node="attribute"/>
</field>
</class>
<class name="org.apache.jetspeed.om.newregistry.base.BaseParameter">
<map-to xml="parameter"/>
<field name="name" type="java.lang.String">
<bind-xml name="name" node="attribute"/>
</field>
<field name="value" type="java.lang.String">
<bind-xml name="value" node="attribute"/>
</field>
<field name="type" type="java.lang.String">
<bind-xml name="type" node="attribute"/>
</field>
</class>
</mapping>
1.1 jakarta-jetspeed/webapp/WEB-INF/conf/wml-examples.xreg
Index: wml-examples.xreg
===================================================================
<?xml version="1.0" encoding="ISO-8859-1"?>
<registry>
<portlet-entry type="ref" parent="WML" name="MyWeather">
<url>/wml/weather.wml</url>
<meta-info>
<title>MyWeather</title>
</meta-info>
</portlet-entry>
<portlet-entry type="ref" parent="WML" name="Stocks">
<url>/wml/stocks.wml</url>
<meta-info>
<title>Stocks</title>
</meta-info>
</portlet-entry>
<portlet-controller-entry name="WAPPortletController">
<classname>org.apache.jetspeed.portal.controllers.WAPPortletController</classname>
<media-type ref="wml"/>
</portlet-controller-entry>
</registry>
1.3 +5 -7 jakarta-jetspeed/webapp/WEB-INF/xsl/ocs.xsl
Index: ocs.xsl
===================================================================
RCS file: /home/cvs/jakarta-jetspeed/webapp/WEB-INF/xsl/ocs.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ocs.xsl 2001/02/20 19:44:28 1.2
+++ ocs.xsl 2001/05/02 10:52:38 1.3
@@ -12,9 +12,7 @@
<xsl:template match="/rdf:RDF">
<registry>
- <portlets>
- <xsl:apply-templates select="./rdf:description/rdf:description"/>
- </portlets>
+ <xsl:apply-templates select="./rdf:description/rdf:description"/>
</registry>
</xsl:template>
@@ -46,7 +44,7 @@
$format2 = 'http://my.netscape.com/rdf/simple/0.9/' or
$format2 = 'http://my.netscape.com/publish/formats/rss-0.9.dtd'
">
- <entry type="ref" parent="RSS" name="{$url}">
+ <portlet-entry type="ref" parent="RSS" name="{$url}">
<url><xsl:value-of select="$url"/></url>
<parameter name="stylesheet" value="/content/xsl/rss.xsl"/>
<!-- uncomment to take metainfo from the ocs description
@@ -62,14 +60,14 @@
</xsl:if>
</metainfo>
-->
- </entry>
+ </portlet-entry>
</xsl:if>
<xsl:if test="$format = 'http://my.netscape.com/publish/formats/rss-0.91.dtd' or
$format2 = 'http://my.netscape.com/publish/formats/rss-0.91.dtd'
">
- <entry type="ref" parent="RSS" name="{$url}">
+ <portlet-entry type="ref" parent="RSS" name="{$url}">
<url><xsl:value-of select="$url"/></url>
<parameter name="stylesheet" value="/content/xsl/rss.xsl"/>
<!-- uncomment to take metainfo from the ocs description
@@ -85,7 +83,7 @@
</xsl:if>
</metainfo>
-->
- </entry>
+ </portlet-entry>
</xsl:if>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org