Added: geronimo/trunk/sandbox/console-ear/project.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-ear/project.xml?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-ear/project.xml (added)
+++ geronimo/trunk/sandbox/console-ear/project.xml Wed Jul 20 18:38:12 2005
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project>
+ <pomVersion>3</pomVersion>
+ <extend>../../etc/project.xml</extend>
+
+ <id>geronimo-console</id>
+ <name>Geronimo :: Console :: Application EAR</name>
+ <type>ear</type>
+
+ <dependencies>
+ <dependency>
+ <groupId>geronimo</groupId>
+ <artifactId>geronimo-console-framework</artifactId>
+ <version>${pom.currentVersion}</version>
+ <type>war</type>
+ <properties>
+ <ear.bundle>true</ear.bundle>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>geronimo</groupId>
+ <artifactId>geronimo-console-standard</artifactId>
+ <version>${pom.currentVersion}</version>
+ <type>war</type>
+ <properties>
+ <ear.bundle>true</ear.bundle>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <groupId>pluto</groupId>
+ <artifactId>pluto</artifactId>
+ <version>${pluto_version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>pluto</groupId>
+ <artifactId>pluto-portal</artifactId>
+ <version>${pluto_version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>geronimo</groupId>
+ <artifactId>geronimo-console-core</artifactId>
+ <version>${pom.currentVersion}</version>
+ </dependency>
+ <dependency>
+ <groupId>portlet-api</groupId>
+ <artifactId>portlet-api</artifactId>
+ <version>${portlet_api_version}</version>
+ </dependency>
+ <dependency>
+ <groupId>castor</groupId>
+ <artifactId>castor</artifactId>
+ <version>${castor_version}</version>
+ </dependency>
+ <dependency>
+ <groupId>jstl</groupId>
+ <artifactId>jstl</artifactId>
+ <version>${jstl_version}</version>
+ </dependency>
+ <dependency>
+ <groupId>taglibs</groupId>
+ <artifactId>standard</artifactId>
+ <version>${standard_taglibs_version}</version>
+ </dependency>
+ </dependencies>
+</project>
+
Propchange: geronimo/trunk/sandbox/console-ear/project.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: geronimo/trunk/sandbox/console-ear/src/application/META-INF/application.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-ear/src/application/META-INF/application.xml?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-ear/src/application/META-INF/application.xml (added)
+++ geronimo/trunk/sandbox/console-ear/src/application/META-INF/application.xml Wed Jul 20 18:38:12 2005
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd"
+ version="1.4">
+ <display-name>Geronimo Console Application</display-name>
+ <module>
+ <web>
+ <web-uri>geronimo-console-framework-${pom.currentVersion}.war</web-uri>
+ <context-root>/console</context-root>
+ </web>
+ </module>
+ <module>
+ <web>
+ <web-uri>geronimo-console-standard-${pom.currentVersion}.war</web-uri>
+ <context-root>/console-standard</context-root>
+ </web>
+ </module>
+</application>
\ No newline at end of file
Propchange: geronimo/trunk/sandbox/console-ear/src/application/META-INF/application.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: geronimo/trunk/sandbox/console-ear/src/plan/geronimo-application.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-ear/src/plan/geronimo-application.xml?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-ear/src/plan/geronimo-application.xml (added)
+++ geronimo/trunk/sandbox/console-ear/src/plan/geronimo-application.xml Wed Jul 20 18:38:12 2005
@@ -0,0 +1,122 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application
+ xmlns="http://geronimo.apache.org/xml/ns/j2ee/application"
+ configId="org/apache/geronimo/Console"
+ parentId="org/apache/geronimo/RuntimeDeployer">
+
+ <!-- these dependencies must be kept here so that their classes are loaded in the "EARs" classloader. -->
+ <dependency>
+ <uri>portlet-api/jars/portlet-api-${portlet_api_version}.jar</uri>
+ </dependency>
+ <dependency>
+ <uri>pluto/jars/pluto-${pluto_version}.jar</uri>
+ </dependency>
+ <dependency>
+ <uri>pluto/jars/pluto-portal-${pluto_version}.jar</uri>
+ </dependency>
+ <dependency>
+ <uri>castor/jars/castor-${castor_version}.jar</uri>
+ </dependency>
+ <!-- Active MQ dependencies -->
+ <dependency>
+ <uri>activemq/jars/activemq-core-${activemq_version}.jar</uri>
+ </dependency>
+ <dependency>
+ <uri>activemq/jars/activemq-gbean-${activemq_version}.jar</uri>
+ </dependency>
+ <dependency>
+ <uri>activeio/jars/activeio-${activeio_version}.jar</uri>
+ </dependency>
+
+ <!-- Deployer dependencies -->
+ <dependency>
+ <uri>geronimo/jars/geronimo-deployment-${pom.currentVersion}.jar</uri>
+ </dependency>
+ <dependency>
+ <uri>geronimo/jars/geronimo-common-${pom.currentVersion}.jar</uri>
+ </dependency>
+ <dependency>
+ <uri>geronimo/jars/geronimo-connector-builder-${pom.currentVersion}.jar</uri>
+ </dependency>
+ <dependency>
+ <!-- <uri>geronimo/jars/geronimo-derby-connector-${pom.currentVersion}.jar</uri> -->
+ <uri>geronimo/jars/geronimo-connector-${pom.currentVersion}.jar</uri>
+ </dependency>
+ <dependency>
+ <uri>geronimo/jars/geronimo-j2ee-builder-${pom.currentVersion}.jar</uri>
+ </dependency>
+ <dependency>
+ <uri>geronimo/jars/geronimo-naming-builder-${pom.currentVersion}.jar</uri>
+ </dependency>
+ <dependency>
+ <uri>geronimo/jars/geronimo-jetty-builder-${pom.currentVersion}.jar</uri>
+ </dependency>
+ <dependency>
+ <uri>geronimo/jars/geronimo-client-builder-${pom.currentVersion}.jar</uri>
+ </dependency>
+ <dependency>
+ <uri>geronimo/jars/geronimo-security-builder-${pom.currentVersion}.jar</uri>
+ </dependency>
+ <dependency>
+ <uri>geronimo/jars/geronimo-service-builder-${pom.currentVersion}.jar</uri>
+ </dependency>
+ <dependency>
+ <uri>xmlbeans/jars/xbean-${xmlbeans_version}.jar</uri>
+ </dependency>
+ <dependency>
+ <uri>geronimo/jars/geronimo-j2ee-schema-${pom.currentVersion}.jar</uri>
+ </dependency>
+
+ <dependency>
+ <uri>geronimo/jars/geronimo-console-core-${pom.currentVersion}.jar</uri>
+ </dependency>
+
+ <dependency>
+ <uri>incubator-derby/jars/derby-${derby_version}.jar</uri>
+ </dependency>
+ <dependency>
+ <uri>incubator-derby/jars/derbynet-${derby_version}.jar</uri>
+ </dependency>
+
+ <dependency>
+ <uri>geronimo/jars/geronimo-derby-${pom.currentVersion}.jar</uri>
+ </dependency>
+
+ <module>
+ <web>geronimo-console-framework-${pom.currentVersion}.war</web>
+ <web-app xmlns="http://geronimo.apache.org/xml/ns/web" configId="console">
+ <context-root>/console</context-root>
+ <context-priority-classloader>false</context-priority-classloader>
+ <security-realm-name>geronimo-properties-realm</security-realm-name>
+ <security>
+ <default-principal realm-name="geronimo-properties-realm">
+ <principal class="org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal" name="system"/>
+ </default-principal>
+ <role-mappings>
+ <role role-name="admin">
+ <realm realm-name="geronimo-properties-realm">
+ <principal class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal" name="admin" designated-run-as="true"/>
+ </realm>
+ </role>
+ </role-mappings>
+ </security>
+ </web-app>
+ </module>
+
+ <module>
+ <web>geronimo-console-standard-${pom.currentVersion}.war</web>
+ <web-app xmlns="http://geronimo.apache.org/xml/ns/web" configId="console-standard">
+ <context-root>/console-standard</context-root>
+ <context-priority-classloader>false</context-priority-classloader>
+ </web-app>
+ </module>
+
+ <!-- Console specific server info
+ <gbean name="SEServerInfo" class="org.apache.geronimo.console.core.system.serverinfo.SEServerInfo"/>-->
+ <gbean name="PropertiesLoginManager" class="org.apache.geronimo.console.core.security.PropertiesLoginModuleManager">
+ <reference name="ServerInfo"><gbean-name>geronimo.server:J2EEApplication=null,J2EEModule=org/apache/geronimo/System,J2EEServer=geronimo,j2eeType=GBean,name=ServerInfo</gbean-name></reference>
+ <reference name="LoginModule">
+ <gbean-name>geronimo.server:J2EEApplication=null,J2EEModule=org/apache/geronimo/Server,J2EEServer=geronimo,j2eeType=LoginModule,name=properties-login</gbean-name>
+ </reference>
+ </gbean>
+</application>
Propchange: geronimo/trunk/sandbox/console-ear/src/plan/geronimo-application.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: geronimo/trunk/sandbox/console-framework/maven.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-framework/maven.xml?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-framework/maven.xml (added)
+++ geronimo/trunk/sandbox/console-framework/maven.xml Wed Jul 20 18:38:12 2005
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project default="default"
+ xmlns:j="jelly:core"
+ xmlns:ant="jelly:ant"
+ xmlns:define="jelly:define"
+ xmlns:velocity="jelly:velocity"
+ xmlns:util="jelly:util">
+
+ <preGoal name="war:install">
+ <attainGoal name="preCompile"/>
+ </preGoal>
+
+ <!-- Output folder for compiled jsps. -->
+ <j:set var="outDir" value="${basedir}/target/${pom.artifactId}/WEB-INF/work"/>
+
+ <!-- pre compile jsps -->
+ <goal name="default">
+ <ant:mkdir dir="${outDir}"/>
+ <attainGoal name="war:install"/>
+ </goal>
+
+
+ <!-- ==================================================== -->
+ <!-- Pre compile JSPs -->
+ <!-- ==================================================== -->
+ <goal name="preCompile">
+ <ant:path id="jspc.classpath">
+ <ant:path refid="maven.dependency.classpath"/>
+ <ant:pathelement path="${maven.build.dest}"/>
+ </ant:path>
+ <ant:echo>Pre-compiling JSPs from ${basedir}/src/webapp to ${outDir}.</ant:echo>
+ <ant:java classname="org.apache.jasper.JspC" fork="true" failonerror="true" classpathref="jspc.classpath">
+ <arg value="-d"/>
+ <arg value="${outDir}"/>
+ <arg value="-webapp"/>
+ <arg value="${basedir}/src/webapp"/>
+ </ant:java>
+ <ant:echo>Compiling generated Java files in ${outDir}.</ant:echo>
+ <ant:javac
+ srcdir="${outDir}"
+ destdir="${outDir}"
+ debug="${maven.compile.debug}"
+ deprecation="${maven.compile.deprecation}"
+ optimize="${maven.compile.optimize}"
+ classpathref="jspc.classpath"/>
+ </goal>
+
+</project>
Added: geronimo/trunk/sandbox/console-framework/project.properties
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-framework/project.properties?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-framework/project.properties (added)
+++ geronimo/trunk/sandbox/console-framework/project.properties Wed Jul 20 18:38:12 2005
@@ -0,0 +1 @@
+maven.multiproject.type=war
\ No newline at end of file
Propchange: geronimo/trunk/sandbox/console-framework/project.properties
------------------------------------------------------------------------------
svn:eol-style = native
Added: geronimo/trunk/sandbox/console-framework/project.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-framework/project.xml?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-framework/project.xml (added)
+++ geronimo/trunk/sandbox/console-framework/project.xml Wed Jul 20 18:38:12 2005
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project>
+ <pomVersion>3</pomVersion>
+ <extend>../../etc/project.xml</extend>
+
+ <id>geronimo-console-framework</id>
+ <name>Geronimo :: Console :: Portal Framework</name>
+
+ <dependencies>
+ <!-- JARs needed to compile JSPs -->
+ <dependency>
+ <groupId>ant</groupId>
+ <artifactId>ant</artifactId>
+ <version>${ant_version}</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-el</groupId>
+ <artifactId>commons-el</artifactId>
+ <version>${commons_el_version}</version>
+ <url>http://jakarta.apache.org/commons/el/</url>
+ <properties>
+ <war.bundle>true</war.bundle>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ <version>${commons_logging_version}</version>
+ <properties>
+ <lib>true</lib>
+ <server>true</server>
+ <deploy>true</deploy>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>geronimo-spec</groupId>
+ <artifactId>geronimo-spec-j2ee</artifactId>
+ <version>${geronimo_spec_j2ee_version}</version>
+ <properties>
+ <repository>true</repository>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>portlet-api</groupId>
+ <artifactId>portlet-api</artifactId>
+ <version>${portlet_api_version}</version>
+ </dependency>
+ <dependency>
+ <groupId>pluto</groupId>
+ <artifactId>pluto</artifactId>
+ <version>${pluto_version}</version>
+ </dependency>
+ <dependency>
+ <groupId>pluto</groupId>
+ <artifactId>pluto-portal</artifactId>
+ <version>${pluto_version}</version>
+ </dependency>
+ <dependency>
+ <groupId>castor</groupId>
+ <artifactId>castor</artifactId>
+ <version>${castor_version}</version>
+ <properties>
+ <war.bundle>true</war.bundle>
+ </properties>
+ </dependency>
+
+ <dependency>
+ <groupId>tomcat</groupId>
+ <artifactId>jasper-runtime</artifactId>
+ <version>${jasper_version}</version>
+ <properties>
+ <war.bundle>true</war.bundle>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>tomcat</groupId>
+ <artifactId>jasper-compiler</artifactId>
+ <version>${jasper_version}</version>
+ <properties>
+ <war.bundle>true</war.bundle>
+ </properties>
+ </dependency>
+
+ </dependencies>
+</project>
+
Propchange: geronimo/trunk/sandbox/console-framework/project.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/Banner.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/Banner.jsp?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/Banner.jsp (added)
+++ geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/Banner.jsp Wed Jul 20 18:38:12 2005
@@ -0,0 +1,36 @@
+<%@ page language="java"%>
+<%@ page import="org.apache.pluto.Environment"%>
+ <%--
+Copyright 2004 The Apache Software Foundation
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+implied.
+
+See the License for the specific language governing permissions and
+limitations under the License.
+--%>
+ <tr>
+ <td>
+ <table width="100%" height="100" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="Logo" width="200">GERONIMO CONSOLE</td>
+ <td class="Top">
+<a href="http://">Mailing List</a>
+ |
+<a href="<%=request.getContextPath()%>/about.jsp">About</a>
+ |
+<a href="<%=request.getContextPath()%>/logout.jsp">Log Out</a>
+
+</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
Propchange: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/Banner.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/ColumnFragment.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/ColumnFragment.jsp?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/ColumnFragment.jsp (added)
+++ geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/ColumnFragment.jsp Wed Jul 20 18:38:12 2005
@@ -0,0 +1,37 @@
+<%--
+Copyright 2004 The Apache Software Foundation
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+implied.
+
+See the License for the specific language governing permissions and
+limitations under the License.
+--%>
+<%@ page session="false" buffer="none" %>
+<%@ page import="java.util.Iterator" %>
+<%@ page import="org.apache.pluto.portalImpl.aggregation.Fragment" %>
+<jsp:useBean id="fragment" type="org.apache.pluto.portalImpl.aggregation.Fragment" scope="request" />
+<!-- inside ColumnFragment -->
+<%
+ Iterator iterator = fragment.getChildFragments().iterator();
+
+ while (iterator.hasNext())
+ {
+%>
+<!-- inside ColumnFragment loop -->
+<%
+ Fragment subfragment = (Fragment)iterator.next();
+ subfragment.service(request, response);
+%>
+<!-- inside ColumnFragment loop -->
+<%
+ }
+%>
+<!-- inside ColumnFragment -->
Propchange: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/ColumnFragment.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/Head.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/Head.jsp?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/Head.jsp (added)
+++ geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/Head.jsp Wed Jul 20 18:38:12 2005
@@ -0,0 +1,22 @@
+<%--
+Copyright 2004 The Apache Software Foundation
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+implied.
+
+See the License for the specific language governing permissions and
+limitations under the License.
+--%>
+<HEAD>
+ <TITLE>Geronimo Console</TITLE>
+ <link rel="stylesheet" href="<%=request.getContextPath()%>/main.css" type="text/css">
+ <link rel="SHORTCUT ICON" href="<%=request.getContextPath()%>/favicon.ico" type="image/x-icon"/>
+ <script language="Javascript" src="<%=request.getContextPath()%>/js/forms.js" type="text/javascript"></script>
+</HEAD>
Propchange: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/Head.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/PageFragment.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/PageFragment.jsp?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/PageFragment.jsp (added)
+++ geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/PageFragment.jsp Wed Jul 20 18:38:12 2005
@@ -0,0 +1,36 @@
+<%--
+Copyright 2004 The Apache Software Foundation
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+implied.
+
+See the License for the specific language governing permissions and
+limitations under the License.
+--%>
+<%@ page session="false" buffer="none" %>
+<%@ page import="java.util.Iterator" %>
+<%@ page import="org.apache.pluto.portalImpl.core.PortalURL" %>
+<%@ page import="org.apache.pluto.portalImpl.core.PortalEnvironment" %>
+<%@ page import="org.apache.pluto.portalImpl.aggregation.Fragment" %>
+<jsp:useBean id="fragment" type="org.apache.pluto.portalImpl.aggregation.Fragment" scope="request" />
+<!-- inside PageFragment -->
+<%
+ PortalURL url = PortalEnvironment.getPortalEnvironment(request).getRequestedPortalURL();
+ if (url.isPartOfGlobalNavigation(fragment.getId()))
+ {
+ Iterator childIterator = fragment.getChildFragments().iterator();
+ while (childIterator.hasNext())
+ {
+ Fragment subfragment = (Fragment)childIterator.next();
+ subfragment.service(request, response);
+ }
+ }
+%>
+<!-- inside PageFragment -->
Propchange: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/PageFragment.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/PortletFragmentFooter.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/PortletFragmentFooter.jsp?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/PortletFragmentFooter.jsp (added)
+++ geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/PortletFragmentFooter.jsp Wed Jul 20 18:38:12 2005
@@ -0,0 +1,30 @@
+<%--
+Copyright 2004 The Apache Software Foundation
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+implied.
+
+See the License for the specific language governing permissions and
+limitations under the License.
+--%>
+<!-- inside PortletFragmentFooter -->
+ </td>
+ <td class="Right"> </td>
+ </tr>
+ <tr>
+ <td class="Left"><img src="<%=request.getContextPath()%>/images/spacer.gif" width="1" height="5px"></td>
+ <td class="Body"><img src="<%=request.getContextPath()%>/images/spacer.gif" width="1" height="1"></td>
+ <td class="Right"><img src="<%=request.getContextPath()%>/images/spacer.gif" width="1" height="1"></td>
+ </tr>
+ </table>
+ </div>
+ </td>
+ </tr>
+<!-- inside PortletFragmentFooter -->
Propchange: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/PortletFragmentFooter.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/PortletFragmentHeader.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/PortletFragmentHeader.jsp?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/PortletFragmentHeader.jsp (added)
+++ geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/PortletFragmentHeader.jsp Wed Jul 20 18:38:12 2005
@@ -0,0 +1,78 @@
+<%--
+Copyright 2004 The Apache Software Foundation
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+implied.
+
+See the License for the specific language governing permissions and
+limitations under the License.
+--%>
+<jsp:useBean id="portletInfo" type="org.apache.pluto.portalImpl.aggregation.PortletFragment.PortletInfo" scope="request" />
+
+<!-- inside PortletFragmentHeader -->
+ <tr>
+ <td>
+ <div class="Content">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td class="TopLeft"><img src="<%=request.getContextPath()%>/images/spacer.gif" width="1" height="1"></td>
+ <td>
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <!-- portlet header -->
+ <td class="Title">
+ <strong>
+ <%= portletInfo.getTitle() %>
+ </strong>
+ </td>
+ <!-- portlet header -->
+ <!-- portlet header links -->
+ <td class="Title" align='right'>
+ <%
+ java.util.List modeList = portletInfo.getAvailablePortletModes();
+ java.util.Collections.sort(modeList);
+ for (java.util.Iterator iter = modeList.iterator(); iter.hasNext();)
+ {
+ org.apache.pluto.portalImpl.aggregation.PortletFragment.PortletModeInfo modeInfo = (org.apache.pluto.portalImpl.aggregation.PortletFragment.PortletModeInfo) iter.next();
+ if (!modeInfo.isCurrent())
+ {
+ %><a href="<%=modeInfo.getUrl() %>"><%=modeInfo.getName()%></a> <%
+ }
+ else
+ {
+ %>[<%=modeInfo.getName()%>] <%
+ }
+ }
+ %>
+ </td>
+ <!-- portlet header links -->
+ </tr>
+ </table>
+ </td>
+ <td class="TopRight"><img src="<%=request.getContextPath()%>/images/spacer.gif" width="1" height="1"></td>
+ </tr>
+ </table>
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <div class="Content">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td class="Left"><img src="<%=request.getContextPath()%>/images/spacer.gif" width="1" height="5px"></td>
+ <td class="Body"><img src="<%=request.getContextPath()%>/images/spacer.gif" width="1" height="1"></td>
+ <td class="Right"><img src="<%=request.getContextPath()%>/images/spacer.gif" width="1" height="1"></td>
+ </tr>
+ <tr>
+ <td class="Left"> </td>
+ <td class="Body">
+<!-- inside PortletFragmentHeader -->
+
\ No newline at end of file
Propchange: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/PortletFragmentHeader.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/RootFragment.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/RootFragment.jsp?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/RootFragment.jsp (added)
+++ geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/RootFragment.jsp Wed Jul 20 18:38:12 2005
@@ -0,0 +1,103 @@
+<%--
+Copyright 2004 The Apache Software Foundation
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+implied.
+
+See the License for the specific language governing permissions and
+limitations under the License.
+--%>
+<%@ page session="true" buffer="none" %>
+<%@ page import="java.util.Iterator" %>
+<%@ page import="org.apache.pluto.portalImpl.aggregation.Fragment" %>
+<%@ page import="org.apache.pluto.portalImpl.aggregation.navigation.AbstractNavigationFragment" %>
+<jsp:useBean id="fragment" type="org.apache.pluto.portalImpl.aggregation.Fragment" scope="request" />
+<html>
+<%@ include file="./Head.jsp" %>
+<body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" rightmargin="0">
+<table width="100%" cellpadding="0" cellspacing="0" border="0" id="rootfragment">
+ <!-- Header -->
+ <%@ include file="./Banner.jsp" %>
+ <!-- Header -->
+ <tr>
+ <td>
+ <table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <!-- Spacer -->
+ <tr>
+ <td class="Gutter"> </td>
+ <td> </td>
+ <td class="Gutter"> </td>
+ <td> </td>
+ <td class="Gutter"> </td>
+ </tr>
+ <!-- Spacer -->
+ <!-- Start of Body -->
+ <tr>
+ <!-- Navigation Column -->
+ <!-- Spacer -->
+ <td class="Gutter"> </td>
+ <!-- Spacer -->
+ <td width="200px" valign="top">
+ <div class="Menu">
+ <table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td>
+<%
+ Iterator childIterator = fragment.getChildFragments().iterator();
+
+ while (childIterator.hasNext()) {
+ Fragment subfragment = (Fragment)childIterator.next();
+
+ if (subfragment instanceof AbstractNavigationFragment)
+ {
+ subfragment.service(request, response);
+ break;
+ }
+
+ }
+%>
+ </td>
+ </tr>
+ </table>
+ </div>
+ </td>
+ <!-- Navigation Column -->
+ <!-- Spacer -->
+ <td class="Gutter"> </td>
+ <!-- Spacer -->
+ <!-- Portlet Section -->
+ <td valign="top">
+ <table width="100%" border="0" cellpadding="0" cellspacing="0">
+<%
+ childIterator = fragment.getChildFragments().iterator();
+
+ while (childIterator.hasNext()) {
+ Fragment subfragment = (Fragment)childIterator.next();
+
+ if (!(subfragment instanceof AbstractNavigationFragment))
+ {
+ subfragment.service(request, response);
+ }
+ }
+%>
+ </table>
+ </td>
+ <!-- Spacer -->
+ <td class="Gutter"> </td>
+ <!-- Spacer -->
+ <td class="Gutter"> </td>
+ </tr>
+ <!-- End of Body -->
+ </table>
+ </td>
+ </tr>
+</table>
+</body>
+</html>
\ No newline at end of file
Propchange: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/RootFragment.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/RowFragment.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/RowFragment.jsp?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/RowFragment.jsp (added)
+++ geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/RowFragment.jsp Wed Jul 20 18:38:12 2005
@@ -0,0 +1,38 @@
+<%--
+Copyright 2004 The Apache Software Foundation
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+implied.
+
+See the License for the specific language governing permissions and
+limitations under the License.
+--%>
+<%@ page session="false" buffer="none" %>
+<%@ page import="java.util.Iterator" %>
+<%@ page import="org.apache.pluto.portalImpl.aggregation.Fragment" %>
+<jsp:useBean id="fragment" type="org.apache.pluto.portalImpl.aggregation.Fragment" scope="request" />
+<!-- inside RowFragment -->
+<tr>
+ <td class="Box">
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+<%
+ Iterator iterator = fragment.getChildFragments().iterator();
+
+ while (iterator.hasNext())
+ {
+ Fragment subfragment = (Fragment)iterator.next();
+ subfragment.service(request, response);
+ }
+%>
+ </table>
+ </td>
+</tr>
+<tr><td> </td></tr>
+<!-- inside RowFragment -->
Propchange: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/RowFragment.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/TabNavigation.jsp
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/TabNavigation.jsp?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/TabNavigation.jsp (added)
+++ geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/TabNavigation.jsp Wed Jul 20 18:38:12 2005
@@ -0,0 +1,115 @@
+<%--
+Copyright 2004 The Apache Software Foundation
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+implied.
+
+See the License for the specific language governing permissions and
+limitations under the License.
+--%>
+<%@ page session="false" buffer="none" %>
+<%@ page import="org.apache.pluto.portalImpl.core.PortalURL" %>
+<%@ page import="org.apache.pluto.portalImpl.core.PortalEnvironment" %>
+<%@ page import="org.apache.pluto.portalImpl.aggregation.navigation.Navigation" %>
+<%@ page import="org.apache.pluto.portalImpl.aggregation.navigation.NavigationTreeBean" %>
+<jsp:useBean id="fragment" type="org.apache.pluto.portalImpl.aggregation.navigation.TabNavigation" scope="request" />
+<table width="200px" border="0" cellpadding="0" cellspacing="0">
+ <tr><td><div class="Selection"><table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="CollapsedLeft"><img src="<%=request.getContextPath()%>/images/spacer.gif" width="1" height="1"></td>
+ <td class="Indent"><img src="<%=request.getContextPath()%>/images/spacer.gif" width="1" height="1"></td>
+ <td class="TopMiddle"><img src="<%=request.getContextPath()%>/images/spacer.gif" width="1" height="1"></td>
+ <td class="CollapsedRight"><img src="<%=request.getContextPath()%>/images/spacer.gif" width="1" height="1"></td>
+ </tr>
+ </table></div></td></tr>
+<%
+ PortalURL url = PortalEnvironment.getPortalEnvironment(request).getRequestedPortalURL();
+ NavigationTreeBean[] tree = fragment.getNavigationView(url);
+ for (int i=0; i<tree.length; i++) {
+%>
+<%
+ Navigation nav = tree[i].navigation;
+ boolean partOfNav = tree[i].partOfGlobalNav;
+
+ if (tree[i].depth>0)
+ {
+%>
+ <tr><td><div class="Subselection"><table width="100%" border="0" cellpadding="1" cellspacing="0">
+ <tr>
+ <td class="Left"> </td>
+ <td class="Indent"> </td>
+ <td class="Middle">
+<%
+ for (int k=0; k<tree[i].depth; k++)
+ {
+%>
+
+<%
+ }
+ if (!partOfNav)
+ {
+%>
+ <a href="<%=new PortalURL(request, nav.getLinkedFragment()).toString()%>"><%=nav.getTitle()%></a>
+<%
+ }
+ else
+ {
+%> <%=nav.getTitle()%>
+<%
+ }
+%>
+ </td>
+ <td class="Right"> </td>
+ </tr>
+ </table></div></td></tr>
+<%
+ }
+ else
+ {
+%>
+
+ <tr><td><div class="Selection"><table width="100%" border="0" cellpadding="1" cellspacing="0">
+ <tr>
+ <td class="CollapsedLeft"> </td>
+ <td class="Indent"> </td>
+ <td class="TopMiddle">
+<%
+ if (!partOfNav)
+ {
+%> <a href="<%=new PortalURL(request, nav.getLinkedFragment()).toString()%>"><%=nav.getTitle()%></a>
+<%
+ }
+ else
+ {
+%> <%=nav.getTitle()%>
+<%
+ }
+%>
+
+
+ </td>
+ <td class="CollapsedRight"> </td>
+ </tr>
+ </table></div></td></tr>
+<%
+ }
+ }
+%>
+ <tr><td><div class="Selection"><table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="CollapsedLeft"><img src="<%=request.getContextPath()%>/images/spacer.gif" width="1" height="1"></td>
+ <td class="Indent"><img src="<%=request.getContextPath()%>/images/spacer.gif" width="1" height="1"></td>
+ <td class="TopMiddle"><img src="<%=request.getContextPath()%>/images/spacer.gif" width="1" height="1"></td>
+ <td class="CollapsedRight"><img src="<%=request.getContextPath()%>/images/spacer.gif" width="1" height="1"></td>
+ </tr>
+ </table></div></td></tr>
+ </table>
+
+
Propchange: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/aggregation/TabNavigation.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Added: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/classes/castor.properties
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/classes/castor.properties?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/classes/castor.properties (added)
+++ geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/classes/castor.properties Wed Jul 20 18:38:12 2005
@@ -0,0 +1,26 @@
+#
+# Copyright 2004 The Apache Software Foundation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+#
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+# Example properties indent the output, require validation
+# on input and turn debugging on.
+#
+org.exolab.castor.parser.validation=false
+org.exolab.castor.parser.namespaces=true
+org.exolab.castor.indent=true
+org.exolab.castor.debug=false
+
+
Propchange: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/classes/castor.properties
------------------------------------------------------------------------------
svn:eol-style = native
Added: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/config/services.properties
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/config/services.properties?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/config/services.properties (added)
+++ geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/config/services.properties Wed Jul 20 18:38:12 2005
@@ -0,0 +1,34 @@
+#
+# Copyright 2004 The Apache Software Foundation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+#
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+# ------------------------------------------- #
+# The List (and Order) of Registered Services #
+# ------------------------------------------- #
+
+org.apache.pluto.portalImpl.services.config.ConfigService = org.apache.pluto.portalImpl.services.config.ConfigServiceImpl
+
+org.apache.pluto.portalImpl.services.log.LogService= org.apache.pluto.portalImpl.services.log.LogServiceImpl
+
+
+org.apache.pluto.portalImpl.services.factorymanager.FactoryManagerService = org.apache.pluto.portalImpl.services.factorymanager.FactoryManagerServiceImpl
+
+org.apache.pluto.portalImpl.services.portletdefinitionregistry.PortletDefinitionRegistryService = org.apache.pluto.portalImpl.services.portletdefinitionregistry.PortletDefinitionRegistryServiceContextImpl
+
+org.apache.pluto.portalImpl.services.portletentityregistry.PortletEntityRegistryService = org.apache.pluto.portalImpl.services.portletentityregistry.PortletEntityRegistryServiceFileImpl
+
+org.apache.pluto.portalImpl.services.pageregistry.PageRegistryService = org.apache.pluto.portalImpl.services.pageregistry.PageRegistryServiceFileImpl
+
Propchange: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/config/services.properties
------------------------------------------------------------------------------
svn:eol-style = native
Added: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/config/services/ConfigService.properties
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/config/services/ConfigService.properties?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/config/services/ConfigService.properties (added)
+++ geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/config/services/ConfigService.properties Wed Jul 20 18:38:12 2005
@@ -0,0 +1,42 @@
+#
+# Copyright 2004 The Apache Software Foundation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+#
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+
+# -------------------------------- #
+# Properties of the Config Service #
+# -------------------------------- #
+
+host.name = localhost
+host.port.http = 8080
+host.port.https =
+
+supported.portletmode = view
+supported.portletmode = edit
+supported.portletmode = help
+supported.portletmode = config
+
+supported.windowstate = normal
+supported.windowstate = maximized
+supported.windowstate = minimized
+
+
+# portlet container relevant properties
+
+portletcontainer.uniquename = pluto
+portletcontainer.entrance.impl = org.apache.pluto.PortletContainerImpl
+portletcontainer.entrance.wrapper.impl = org.apache.pluto.portalImpl.core.PortletContainerWrapperImpl
+
Propchange: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/config/services/ConfigService.properties
------------------------------------------------------------------------------
svn:eol-style = native
Added: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/config/services/FactoryManagerService.properties
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/config/services/FactoryManagerService.properties?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/config/services/FactoryManagerService.properties (added)
+++ geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/config/services/FactoryManagerService.properties Wed Jul 20 18:38:12 2005
@@ -0,0 +1,49 @@
+#
+# Copyright 2004 The Apache Software Foundation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+#
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+
+# ----------------------------------------- #
+# Properties of the Factory Manager Service #
+# ----------------------------------------- #
+
+factory.javax.portlet.ActionRequest = org.apache.pluto.factory.impl.ActionRequestFactoryImpl
+factory.javax.portlet.RenderRequest = org.apache.pluto.factory.impl.RenderRequestFactoryImpl
+factory.javax.portlet.RenderRequest.myproperty = myvalue
+factory.javax.portlet.RenderResponse = org.apache.pluto.factory.impl.RenderResponseFactoryImpl
+factory.javax.portlet.PortletSession = org.apache.pluto.factory.impl.PortletSessionFactoryImpl
+factory.javax.portlet.PortletConfig = org.apache.pluto.factory.impl.PortletConfigFactoryImpl
+factory.javax.portlet.PortletContext = org.apache.pluto.factory.impl.PortletContextFactoryImpl
+factory.javax.portlet.PortletPreferences = org.apache.pluto.factory.impl.PortletPreferencesFactoryImpl
+factory.javax.portlet.PortalContext = org.apache.pluto.factory.impl.PortalContextFactoryImpl
+factory.javax.portlet.ActionResponse = org.apache.pluto.factory.impl.ActionResponseFactoryImpl
+factory.javax.portlet.PortletURL = org.apache.pluto.factory.impl.PortletURLFactoryImpl
+factory.javax.portlet.PortletPreferences = org.apache.pluto.factory.impl.PortletPreferencesFactoryImpl
+
+factory.org.apache.pluto.invoker.PortletInvoker = org.apache.pluto.invoker.impl.PortletInvokerFactoryImpl
+
+factory.org.apache.pluto.util.NamespaceMapper = org.apache.pluto.util.impl.NamespaceMapperFactoryImpl
+
+factory.org.apache.pluto.portalImpl.factory.InformationProviderFactory = org.apache.pluto.portalImpl.core.InformationProviderServiceFactoryImpl
+factory.org.apache.pluto.portalImpl.factory.DynamicTitleServiceFactory = org.apache.pluto.portalImpl.core.DynamicTitleServiceFactoryImpl
+factory.org.apache.pluto.factory.ObjectIDFactory = org.apache.pluto.portalImpl.core.ObjectIDFactoryImpl
+
+
+factory.javax.servlet.http.HttpServletRequest = org.apache.pluto.portalImpl.servlet.ServletRequestFactoryImpl
+factory.javax.servlet.http.HttpServletResponse = org.apache.pluto.portalImpl.servlet.ServletResponseFactoryImpl
+
+factory.org.apache.pluto.om.ControllerFactory = org.apache.pluto.portalImpl.om.ControllerFactoryImpl
+
Propchange: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/config/services/FactoryManagerService.properties
------------------------------------------------------------------------------
svn:eol-style = native
Added: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/config/services/LogService.properties
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/config/services/LogService.properties?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/config/services/LogService.properties (added)
+++ geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/config/services/LogService.properties Wed Jul 20 18:38:12 2005
@@ -0,0 +1,29 @@
+#
+# Copyright 2004 The Apache Software Foundation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+#
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+
+# ----------------------------- #
+# Properties of the Log Service #
+# ----------------------------- #
+
+debug.enable = true
+
+info.enable = true
+
+warn.enable = true
+
+error.enable = true
Propchange: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/config/services/LogService.properties
------------------------------------------------------------------------------
svn:eol-style = native
Added: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/config/services/PageRegistryService.properties
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/config/services/PageRegistryService.properties?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/config/services/PageRegistryService.properties (added)
+++ geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/config/services/PageRegistryService.properties Wed Jul 20 18:38:12 2005
@@ -0,0 +1,22 @@
+#
+# Copyright 2004 The Apache Software Foundation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+#
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+
+# --------------------------------------- #
+# Properties of the Page Registry Service #
+# --------------------------------------- #
+
Propchange: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/config/services/PageRegistryService.properties
------------------------------------------------------------------------------
svn:eol-style = native
Added: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/config/services/PortletDefinitionRegistryService.properties
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/config/services/PortletDefinitionRegistryService.properties?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/config/services/PortletDefinitionRegistryService.properties (added)
+++ geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/config/services/PortletDefinitionRegistryService.properties Wed Jul 20 18:38:12 2005
@@ -0,0 +1,22 @@
+#
+# Copyright 2004 The Apache Software Foundation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+#
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+
+# ----------------------------------------------------- #
+# Properties of the Portlet Definition Registry Service #
+# ----------------------------------------------------- #
+
Propchange: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/config/services/PortletDefinitionRegistryService.properties
------------------------------------------------------------------------------
svn:eol-style = native
Added: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/config/services/PortletEntityRegistryService.properties
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/config/services/PortletEntityRegistryService.properties?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/config/services/PortletEntityRegistryService.properties (added)
+++ geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/config/services/PortletEntityRegistryService.properties Wed Jul 20 18:38:12 2005
@@ -0,0 +1,22 @@
+#
+# Copyright 2004 The Apache Software Foundation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+#
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+
+# ------------------------------------------------- #
+# Properties of the Portlet Entity Registry Service #
+# ------------------------------------------------- #
+
Propchange: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/config/services/PortletEntityRegistryService.properties
------------------------------------------------------------------------------
svn:eol-style = native
Added: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/data/pageregistry.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/data/pageregistry.xml?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/data/pageregistry.xml (added)
+++ geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/data/pageregistry.xml Wed Jul 20 18:38:12 2005
@@ -0,0 +1,271 @@
+<?xml version="1.0"?>
+<!--
+Copyright 2004 The Apache Software Foundation
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+implied.
+
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<portal>
+
+ <fragment name="navigation" class="org.apache.pluto.portalImpl.aggregation.navigation.TabNavigation">
+ </fragment>
+
+ <fragment name="info" type="page">
+ <navigation>
+ <title>Server Info</title>
+ <description>Show info about this server</description>
+ </navigation>
+
+ <fragment name="row2" type="row">
+ <fragment name="col2" type="column">
+ <fragment name="p7" type="portlet">
+ <property name="portlet" value="5.8"/>
+ </fragment>
+ </fragment>
+ </fragment>
+ <fragment name="row3" type="row">
+ <fragment name="col2" type="column">
+ <fragment name="p7" type="portlet">
+ <property name="portlet" value="5.24"/>
+ </fragment>
+ </fragment>
+ </fragment>
+ </fragment>
+
+ <fragment name="server" type="page">
+ <navigation>
+ <title>Server Management</title>
+ <description>Manage this server</description>
+ </navigation>
+
+ <fragment name="row2" type="row">
+ <fragment name="col2" type="column">
+ <fragment name="p7" type="portlet">
+ <property name="portlet" value="5.30"/>
+ </fragment>
+ </fragment>
+ </fragment>
+ </fragment>
+
+ <fragment name="logs" type="page">
+ <navigation>
+ <title>Logs</title>
+ <description>View Log Files</description>
+ </navigation>
+ <fragment name="row1" type="row">
+ <fragment name="col1" type="column">
+ <fragment name="p2" type="portlet">
+ <property name="portlet" value="5.10"/>
+ </fragment>
+ </fragment>
+ </fragment>
+ <fragment name="row2" type="row">
+ <fragment name="col1" type="column">
+ <fragment name="p2" type="portlet">
+ <property name="portlet" value="5.26"/>
+ </fragment>
+ </fragment>
+ </fragment>
+ <fragment name="row3" type="row">
+ <fragment name="col1" type="column">
+ <fragment name="p2" type="portlet">
+ <property name="portlet" value="5.27"/>
+ </fragment>
+ </fragment>
+ </fragment>
+ <fragment name="row4" type="row">
+ <fragment name="col1" type="column">
+ <fragment name="p2" type="portlet">
+ <property name="portlet" value="5.28"/>
+ </fragment>
+ </fragment>
+ </fragment>
+
+ </fragment>
+
+ <fragment name="apps" type="page">
+ <navigation>
+ <title>Applications</title>
+ <description>Manage applications on this server</description>
+ </navigation>
+
+ <fragment name="row2" type="row">
+ <fragment name="col2" type="column">
+ <fragment name="p3" type="portlet">
+ <property name="portlet" value="5.1"/>
+ </fragment>
+ </fragment>
+ </fragment>
+ <fragment name="row3" type="row">
+ <fragment name="col2" type="column">
+ <fragment name="p3" type="portlet">
+ <property name="portlet" value="5.22"/>
+ </fragment>
+ </fragment>
+ </fragment>
+ </fragment>
+
+ <fragment name="repo" type="page">
+ <navigation>
+ <title>Repository</title>
+ <description>View Repository</description>
+ </navigation>
+ <fragment name="row2" type="row">
+ <fragment name="col2" type="column">
+ <fragment name="p3" type="portlet">
+ <property name="portlet" value="5.29"/>
+ </fragment>
+ </fragment>
+ </fragment>
+ </fragment>
+
+ <fragment name="jdbc" type="page">
+ <navigation>
+ <title>Databases</title>
+ <description>Manage database connections</description>
+ </navigation>
+
+ <fragment name="row3" type="row">
+ <fragment name="col3" type="column">
+ <fragment name="p4" type="portlet">
+ <property name="portlet" value="5.2"/>
+ </fragment>
+ </fragment>
+ </fragment>
+ </fragment>
+
+ <fragment name="jms" type="page">
+ <navigation>
+ <title>JMS</title>
+ <description>Configure Java Message Service</description>
+ </navigation>
+ <fragment name="row3" type="row">
+ <fragment name="col3" type="column">
+ <fragment name="p4" type="portlet">
+ <property name="portlet" value="5.31"/>
+ </fragment>
+ </fragment>
+ </fragment>
+ <fragment name="row4" type="row">
+ <fragment name="col4" type="column">
+ <fragment name="p5" type="portlet">
+ <property name="portlet" value="5.17"/>
+ </fragment>
+ </fragment>
+ </fragment>
+ </fragment>
+
+ <fragment name="Security" type="page">
+ <navigation>
+ <title>Security</title>
+ <description>Manage security on this server</description>
+ </navigation>
+ <fragment name="Console" type="page">
+ <navigation>
+ <title>Console Realm</title>
+ <description>Manage the console security realm on this server</description>
+ </navigation>
+ <fragment name="row1" type="row">
+ <fragment name="col1" type="column">
+ <fragment name="p2" type="portlet">
+ <property name="portlet" value="5.3"/>
+ </fragment>
+ </fragment>
+ </fragment>
+ <fragment name="row2" type="row">
+ <fragment name="col1" type="column">
+ <fragment name="p3" type="portlet">
+ <property name="portlet" value="5.4" />
+ </fragment>
+ </fragment>
+ </fragment>
+ </fragment>
+ </fragment>
+ <fragment name="web" type="page">
+ <navigation>
+ <title>Web Server</title>
+ <description>Configure Web Server</description>
+ </navigation>
+ <fragment name="row1" type="row">
+ <fragment name="col1" type="column">
+ <fragment name="p1" type="portlet">
+ <property name="portlet" value="5.18"/>
+ </fragment>
+ </fragment>
+ </fragment>
+ <fragment name="row2" type="row">
+ <fragment name="col1" type="column">
+ <fragment name="p2" type="portlet">
+ <property name="portlet" value="5.19"/>
+ </fragment>
+ </fragment>
+ </fragment>
+ <fragment name="row3" type="row">
+ <fragment name="col1" type="column">
+ <fragment name="p3" type="portlet">
+ <property name="portlet" value="5.20"/>
+ </fragment>
+ </fragment>
+ </fragment>
+ <fragment name="row4" type="row">
+ <fragment name="col1" type="column">
+ <fragment name="p4" type="portlet">
+ <property name="portlet" value="5.21"/>
+ </fragment>
+ </fragment>
+ </fragment>
+ </fragment>
+ <fragment name="internalDB" type="page">
+ <navigation>
+ <title>Internal DB</title>
+ <description>Show info about the server's internal database</description>
+ </navigation>
+
+ <fragment name="DBInfo" type="page">
+ <navigation>
+ <title>DB Info</title>
+ <description>Information about the internal database/s</description>
+ </navigation>
+
+ <fragment name="row2" type="row">
+ <fragment name="col2" type="column">
+ <fragment name="p8" type="portlet">
+ <property name="portlet" value="5.32"/>
+ </fragment>
+ </fragment>
+ </fragment>
+ </fragment>
+
+ <fragment name="DBManager" type="page">
+ <navigation>
+ <title>DB Manager</title>
+ <description>Manage the internal database/s</description>
+ </navigation>
+
+ <fragment name="row3" type="row">
+ <fragment name="col2" type="column">
+ <fragment name="p9" type="portlet">
+ <property name="portlet" value="5.33"/>
+ </fragment>
+ </fragment>
+ </fragment>
+ <fragment name="row2" type="row">
+ <fragment name="col2" type="column">
+ <fragment name="p9" type="portlet">
+ <property name="portlet" value="5.34"/>
+ </fragment>
+ </fragment>
+ </fragment>
+ </fragment>
+ </fragment>
+</portal>
Propchange: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/data/pageregistry.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/data/portletcontexts.txt
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/data/portletcontexts.txt?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/data/portletcontexts.txt (added)
+++ geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/data/portletcontexts.txt Wed Jul 20 18:38:12 2005
@@ -0,0 +1 @@
+/console-standard
\ No newline at end of file
Propchange: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/data/portletcontexts.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/data/portletentityregistry.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/data/portletentityregistry.xml?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/data/portletentityregistry.xml (added)
+++ geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/data/portletentityregistry.xml Wed Jul 20 18:38:12 2005
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright 2004 The Apache Software Foundation
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+implied.
+
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<portlet-entity-registry>
+ <application id="5">
+ <definition-id>console-standard</definition-id>
+ <portlet id="1">
+ <definition-id>console-standard.Applications</definition-id>
+ </portlet>
+ <portlet id="2">
+ <definition-id>console-standard.Databases</definition-id>
+ </portlet>
+ <portlet id="3">
+ <definition-id>console-standard.SEUsers</definition-id>
+ </portlet>
+ <portlet id="4">
+ <definition-id>console-standard.SEGroups</definition-id>
+ </portlet>
+ <portlet id="8">
+ <definition-id>console-standard.ServerInfo</definition-id>
+ </portlet>
+ <portlet id="10">
+ <definition-id>console-standard.LogManager</definition-id>
+ </portlet>
+ <portlet id="17">
+ <definition-id>console-standard.JMSManager</definition-id>
+ </portlet>
+
+ <portlet id="18">
+ <definition-id>console-standard.WebServerManager</definition-id>
+ </portlet>
+ <portlet id="19">
+ <definition-id>console-standard.HTTPConnectorManager</definition-id>
+ </portlet>
+ <portlet id="20">
+ <definition-id>console-standard.HTTPSConnectorManager</definition-id>
+ </portlet>
+ <portlet id="21">
+ <definition-id>console-standard.AJP13ConnectorManager</definition-id>
+ </portlet>
+ <portlet id="22">
+ <definition-id>console-standard.Deployment</definition-id>
+ </portlet>
+ <portlet id="24">
+ <definition-id>console-standard.JavaSysInfo</definition-id>
+ </portlet>
+
+ <portlet id="26">
+ <definition-id>console-standard.LogViewer</definition-id>
+ </portlet>
+ <portlet id="27">
+ <definition-id>console-standard.DerbyLogViewer</definition-id>
+ </portlet>
+ <portlet id="28">
+ <definition-id>console-standard.WebAccessLogViewer</definition-id>
+ </portlet>
+
+ <portlet id="29">
+ <definition-id>console-standard.RepositoryViewer</definition-id>
+ </portlet>
+ <portlet id="30">
+ <definition-id>console-standard.ServerManager</definition-id>
+ </portlet>
+ <portlet id="31">
+ <definition-id>console-standard.JMSConnections</definition-id>
+ </portlet>
+ <portlet id="32">
+ <definition-id>console-standard.InternalDB</definition-id>
+ </portlet>
+ <portlet id="33">
+ <definition-id>console-standard.DBViewer</definition-id>
+ </portlet>
+ <portlet id="34">
+ <definition-id>console-standard.RunSQL</definition-id>
+ </portlet>
+ </application>
+</portlet-entity-registry>
Propchange: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/data/portletentityregistry.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/data/xml/pageregistrymapping.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/data/xml/pageregistrymapping.xml?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/data/xml/pageregistrymapping.xml (added)
+++ geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/data/xml/pageregistrymapping.xml Wed Jul 20 18:38:12 2005
@@ -0,0 +1,90 @@
+<?xml version="1.0"?>
+<!DOCTYPE mapping PUBLIC "-//EXOLAB/Castor Mapping DTD Version 1.0//EN"
+ "http://castor.exolab.org/mapping.dtd">
+<!--
+Copyright 2004 The Apache Software Foundation
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+implied.
+
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<mapping>
+
+ <class name="org.apache.pluto.portalImpl.om.page.impl.PropertyImpl">
+
+ <field name="name" type="java.lang.String" required="true">
+ <bind-xml name="name" node="attribute"/>
+ </field>
+
+ <field name="value" type="java.lang.String" required="true">
+ <bind-xml name="value" node="attribute"/>
+ </field>
+
+ </class>
+
+ <class name="org.apache.pluto.portalImpl.om.page.impl.NavigationImpl">
+
+ <field name="title" type="java.lang.String" required="true">
+ <bind-xml name="title" node="element"/>
+ </field>
+
+ <field name="description" type="java.lang.String" required="false">
+ <bind-xml name="description" node="element"/>
+ </field>
+
+ </class>
+
+ <class name="org.apache.pluto.portalImpl.om.page.impl.FragmentImpl">
+
+ <field name="name" type="java.lang.String" required="true">
+ <bind-xml name="name" node="attribute"/>
+ </field>
+ <field name="classname" type="java.lang.String">
+ <bind-xml name="class" node="attribute"/>
+ </field>
+ <field name="type" type="java.lang.String">
+ <bind-xml name="type" node="attribute"/>
+ </field>
+
+ <field name="navigation"
+ type="org.apache.pluto.portalImpl.om.page.impl.NavigationImpl"
+ required="false">
+ <bind-xml name="navigation" node="element"/>
+ </field>
+
+ <field name="properties"
+ type="org.apache.pluto.portalImpl.om.page.impl.PropertyImpl"
+ collection="collection">
+ <bind-xml name="property" node="element"/>
+ </field>
+
+ <field name="fragments"
+ type="org.apache.pluto.portalImpl.om.page.impl.FragmentImpl"
+ collection="collection">
+ <bind-xml name="fragment" node="element"/>
+ </field>
+
+ </class>
+
+ <class name="org.apache.pluto.portalImpl.om.page.impl.PortalImpl">
+ <map-to xml="portal"/>
+
+ <field name="fragments"
+ type="org.apache.pluto.portalImpl.om.page.impl.FragmentImpl"
+ collection="collection"
+ required="true">
+ <bind-xml name="fragment" node="element"/>
+ </field>
+
+ </class>
+
+</mapping>
\ No newline at end of file
Propchange: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/data/xml/pageregistrymapping.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/data/xml/portletdefinitionmapping.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/data/xml/portletdefinitionmapping.xml?rev=219976&view=auto
==============================================================================
--- geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/data/xml/portletdefinitionmapping.xml (added)
+++ geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/data/xml/portletdefinitionmapping.xml Wed Jul 20 18:38:12 2005
@@ -0,0 +1,218 @@
+<?xml version="1.0"?>
+<!DOCTYPE mapping PUBLIC "-//EXOLAB/Castor Mapping DTD Version 1.0//EN"
+ "http://castor.exolab.org/mapping.dtd">
+<!--
+Copyright 2004 The Apache Software Foundation
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+implied.
+
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<mapping xmlns:portlet="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
+
+ <class name="org.apache.pluto.portalImpl.om.common.impl.DisplayNameImpl">
+
+ <field name="displayName" type="java.lang.String">
+ <bind-xml node="text"/>
+ </field>
+ <field name="castorLocale" type="java.lang.String">
+ <bind-xml name="xml:lang" node="attribute"/>
+ </field>
+
+ </class>
+
+ <class name="org.apache.pluto.portalImpl.om.common.impl.DescriptionImpl">
+
+ <field name="description" type="java.lang.String">
+ <bind-xml node="text"/>
+ </field>
+ <field name="castorLocale" type="java.lang.String">
+ <bind-xml name="xml:lang" node="attribute"/>
+ </field>
+
+ </class>
+
+ <class name="org.apache.pluto.portalImpl.om.common.impl.SecurityRoleRefImpl">
+
+ <field name="castorDescriptions"
+ type="org.apache.pluto.portalImpl.om.common.impl.DescriptionImpl"
+ collection="collection">
+ <bind-xml name="portlet:description" node="element"/>
+ </field>
+ <field name="roleName" type="java.lang.String" required="true">
+ <bind-xml name="portlet:role-name" node="element"/>
+ </field>
+ <field name="roleLink" type="java.lang.String">
+ <bind-xml name="portlet:role-link" node="element"/>
+ </field>
+
+ </class>
+
+ <class name="org.apache.pluto.portalImpl.om.common.impl.ParameterImpl">
+ <field name="castorDescriptions"
+ type="org.apache.pluto.portalImpl.om.common.impl.DescriptionImpl"
+ collection="collection">
+ <bind-xml name="portlet:description" node="element"/>
+ </field>
+ <field name="name" type="java.lang.String" required="true">
+ <bind-xml name="portlet:name" node="element"/>
+ </field>
+ <field name="value" type="java.lang.String" required="true">
+ <bind-xml name="portlet:value" node="element"/>
+ </field>
+
+ </class>
+
+ <class name="org.apache.pluto.portalImpl.om.common.impl.PreferenceImpl">
+
+ <field name="name" type="java.lang.String" required="true">
+ <bind-xml name="portlet:name" node="element"/>
+ </field>
+ <field name="castorValues" type="java.lang.String" collection="collection" required="true">
+ <bind-xml name="portlet:value" node="element"/>
+ </field>
+ <!--field name="modifiable" type="java.lang.Boolean">
+ <bind-xml name="portlet:modifiable" node="element"/>
+ </field-->
+ <field name="readOnly" type="java.lang.String">
+ <bind-xml name="portlet:read-only" node="element"/>
+ </field>
+
+ </class>
+
+ <class name="org.apache.pluto.portalImpl.om.portlet.impl.ContentTypeImpl">
+
+ <field name="contentType" type="java.lang.String">
+ <bind-xml name="portlet:mime-type" node="element"/>
+ </field>
+
+ <field name="castorPortletModes"
+ type="java.lang.String"
+ collection="collection">
+ <bind-xml name="portlet:portlet-mode" node="element"/>
+ </field>
+
+ </class>
+
+ <class name="org.apache.pluto.portalImpl.om.common.impl.PreferenceSetImpl">
+
+ <field name="castorPreferences" type="org.apache.pluto.portalImpl.om.common.impl.PreferenceImpl" collection="collection">
+ <bind-xml name="portlet:preference" node="element"/>
+ </field>
+ <field name="castorPreferencesValidator" type="java.lang.String">
+ <bind-xml name="portlet:preferences-validator" node="element"/>
+ </field>
+
+ </class>
+
+ <class name="org.apache.pluto.portalImpl.om.common.impl.LanguageSetImpl">
+
+ <field name="title" type="java.lang.String">
+ <bind-xml name="portlet:title" node="element"/>
+ </field>
+ <field name="shortTitle" type="java.lang.String">
+ <bind-xml name="portlet:short-title" node="element"/>
+ </field>
+ <field name="castorKeywords" type="java.lang.String">
+ <bind-xml name="portlet:keywords" node="element"/>
+ </field>
+
+ </class>
+
+ <class name="org.apache.pluto.portalImpl.om.portlet.impl.PortletDefinitionImpl">
+
+ <field name="id" type="java.lang.String" direct="true">
+ <bind-xml name="id" node="attribute"/>
+ </field>
+ <field name="castorDescriptions"
+ type="org.apache.pluto.portalImpl.om.common.impl.DescriptionImpl"
+ collection="collection">
+ <bind-xml name="portlet:description" node="element"/>
+ </field>
+ <field name="name" type="java.lang.String">
+ <bind-xml name="portlet:portlet-name" node="element"/>
+ </field>
+ <field name="castorDisplayNames"
+ type="org.apache.pluto.portalImpl.om.common.impl.DisplayNameImpl"
+ collection="collection">
+ <bind-xml name="portlet:display-name" node="element"/>
+ </field>
+ <field name="className" type="java.lang.String">
+ <bind-xml name="portlet:portlet-class" node="element"/>
+ </field>
+ <field name="castorInitParams"
+ type="org.apache.pluto.portalImpl.om.common.impl.ParameterImpl"
+ collection="collection">
+ <bind-xml name="portlet:init-param" node="element"/>
+ </field>
+
+ <field name="expirationCache" type="java.lang.String">
+ <bind-xml name="portlet:expiration-cache" node="element"/>
+ </field>
+ <field name="castorContentTypes"
+ type="org.apache.pluto.portalImpl.om.portlet.impl.ContentTypeImpl"
+ collection="collection">
+ <bind-xml name="portlet:supports" node="element"/>
+ </field>
+ <field name="castorSupportedLocales" type="java.lang.String" collection="collection">
+ <bind-xml name="portlet:supported-locale" node="element"/>
+ </field>
+ <field name="resourceBundle" type="java.lang.String">
+ <bind-xml name="portlet:resource-bundle" node="element"/>
+ </field>
+ <field name="castorResources" type="org.apache.pluto.portalImpl.om.common.impl.LanguageSetImpl">
+ <bind-xml name="portlet:portlet-info" node="element"/>
+ </field>
+
+ <field name="castorPreferences"
+ type="org.apache.pluto.portalImpl.om.common.impl.PreferenceSetImpl">
+ <bind-xml name="portlet:portlet-preferences" node="element"/>
+ </field>
+ <field name="castorInitSecurityRoleRefs"
+ type="org.apache.pluto.portalImpl.om.common.impl.SecurityRoleRefImpl"
+ collection="collection">
+ <bind-xml name="portlet:security-role-ref" node="element"/>
+ </field>
+
+ </class>
+
+ <class name="org.apache.pluto.portalImpl.om.portlet.impl.PortletApplicationDefinitionImpl">
+ <map-to xml="portlet-app" ns-uri="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"/>
+
+ <field name="version" type="java.lang.String">
+ <bind-xml name="version" node="attribute"/>
+ </field>
+ <field name="appId" type="java.lang.String">
+ <bind-xml name="id" node="attribute"/>
+ </field>
+
+ <field name="castorPortlets"
+ type="org.apache.pluto.portalImpl.om.portlet.impl.PortletDefinitionImpl"
+ collection="collection">
+ <bind-xml name="portlet:portlet" node="element"/>
+ </field>
+ <field name="customPortletMode" type="java.lang.String" collection="collection">
+ <bind-xml name="portlet:custom-portlet-mode" node="element"/>
+ </field>
+ <field name="customPortletState" type="java.lang.String" collection="collection">
+ <bind-xml name="portlet:custom-window-state" node="element"/>
+ </field>
+ <field name="userAttribute" type="java.lang.String" collection="collection">
+ <bind-xml name="portlet:user-attribute" node="element"/>
+ </field>
+ <field name="securityConstraint" type="java.lang.String" collection="collection">
+ <bind-xml name="portlet:security-constraint" node="element"/>
+ </field>
+
+ </class>
+
+</mapping>
Propchange: geronimo/trunk/sandbox/console-framework/src/webapp/WEB-INF/data/xml/portletdefinitionmapping.xml
------------------------------------------------------------------------------
svn:eol-style = native
|