root/trunk/calendar3/deployment/webpublic/uportal2/portlet.xml

Revision 609 (checked in by douglm, 7 years ago)

More uportal integration

When running as a portlet will now suffix the approot with "_" + protletPlatform.

Allows us to have a separate set of stylesheets for portlet mode as against stand-alone mode.

Committed a copy of the current set of standalone stylesheets ready for customization.

Also made more run-time properties available via the options object.

Line 
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!--
3   Based on jpetstore example application with contributions from:
4
5   Author: Xavier Lawrence @ jahia . com
6   Author: Mike Douglass    douglm@rpi.edu
7 -->
8 <portlet-app id="calApp" version="1.0">
9   <portlet id="PublicEventsPortlet">
10     <portlet-name>PublicCal</portlet-name>
11     <display-name>Public Events Display</display-name>
12     <portlet-class>org.apache.portals.bridges.struts.StrutsPortlet</portlet-class>
13     <init-param>
14       <name>ServletContextProvider</name>
15       <value>ca.mun.portal.strutsbridge.PortalServletContextProvider</value>
16     </init-param>
17     <init-param>
18       <name>ViewPage</name>
19       <value>/initialise.rdo</value>
20     </init-param>
21     <description>
22         The Bedework application displays public events.
23     </description>
24     <expiration-cache>-1</expiration-cache>
25     <supports>
26       <mime-type>text/html</mime-type>
27       <portlet-mode>VIEW</portlet-mode>
28       <!--<portlet-mode>HELP</portlet-mode>-->
29     </supports>
30     <portlet-info>
31       <title>PublicCal</title>
32       <short-title>PublicCal</short-title>
33       <keywords>Struts, Bedework, Calendar, Public, Events</keywords>
34     </portlet-info>
35   </portlet>
36 </portlet-app>
37
Note: See TracBrowser for help on using the browser.