-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Made Portal Extension more self descriptive.
- Loading branch information
Showing
6 changed files
with
216 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
105 changes: 48 additions & 57 deletions
105
gatein-portal-extension/war/src/main/webapp/WEB-INF/portlet.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,58 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Copyright (C) 2009 eXo Platform SAS. | ||
This is free software; you can redistribute it and/or modify it | ||
under the terms of the GNU Lesser General Public License as | ||
published by the Free Software Foundation; either version 2.1 of | ||
the License, or (at your option) any later version. | ||
This software is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
Lesser General Public License for more details. | ||
JBoss, Home of Professional Open Source | ||
Copyright 2012, Red Hat, Inc. and/or its affiliates, and individual | ||
contributors by the @authors tag. See the copyright.txt in the | ||
distribution for a full listing of individual contributors. | ||
You should have received a copy of the GNU Lesser General Public | ||
License along with this software; if not, write to the Free | ||
Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | ||
02110-1301 USA, or see the FSF site: http://www.fsf.org. | ||
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-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd" | ||
version="1.0"> | ||
|
||
<!-- | ||
<portlet-app version="1.0" xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"> | ||
--> | ||
|
||
<portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd" version="1.0"> | ||
<portlet> | ||
<description xml:lang="EN">Awesome Portlet</description> | ||
<portlet-name>AwesomePortlet</portlet-name> | ||
<display-name xml:lang="EN">Awesome Portlet</display-name> | ||
<portlet-class>org.exoplatform.webui.application.portlet.PortletApplicationController</portlet-class> | ||
|
||
<portlet> | ||
<description xml:lang="EN">Awesome Portlet</description> | ||
<portlet-name>AwesomePortlet</portlet-name> | ||
<display-name xml:lang="EN">Awesome Portlet</display-name> | ||
<portlet-class>org.exoplatform.webui.application.portlet.PortletApplicationController</portlet-class> | ||
|
||
<init-param> | ||
<name>webui.configuration</name> | ||
<value>/WEB-INF/conf/portlet/web/AwesomePortlet/webui/configuration.xml</value> | ||
</init-param> | ||
<init-param> | ||
<name>webui.configuration</name> | ||
<value>/WEB-INF/conf/portlet/web/AwesomePortlet/webui/configuration.xml</value> | ||
</init-param> | ||
|
||
<expiration-cache>0</expiration-cache> | ||
<supports> | ||
<mime-type>text/html</mime-type> | ||
<portlet-mode>help</portlet-mode> | ||
</supports> | ||
<supported-locale>en</supported-locale> | ||
<resource-bundle>locale.portal.extension</resource-bundle> | ||
|
||
<portlet-info> | ||
<title>Awesome Portlet</title> | ||
<short-title>Awesome Portlet</short-title> | ||
<keywords>System</keywords> | ||
</portlet-info> | ||
<expiration-cache>0</expiration-cache> | ||
<supports> | ||
<mime-type>text/html</mime-type> | ||
<portlet-mode>help</portlet-mode> | ||
</supports> | ||
<supported-locale>en</supported-locale> | ||
<resource-bundle>locale.portal.extension</resource-bundle> | ||
|
||
<portlet-preferences> | ||
<preference> | ||
<name>template</name> | ||
<value>system:/templates/groovy/webui/component/UIAwesomePortlet.gtmpl</value> | ||
<read-only>false</read-only> | ||
</preference> | ||
</portlet-preferences> | ||
|
||
</portlet> | ||
<portlet-info> | ||
<title>Awesome Portlet</title> | ||
<short-title>Awesome Portlet</short-title> | ||
<keywords>System</keywords> | ||
</portlet-info> | ||
|
||
<portlet-preferences> | ||
<preference> | ||
<name>template</name> | ||
<value>system:/templates/groovy/webui/component/UIAwesomePortlet.gtmpl</value> | ||
<read-only>false</read-only> | ||
</preference> | ||
</portlet-preferences> | ||
|
||
</portlet> | ||
|
||
</portlet-app> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.