[portal-commits] JBoss Portal SVN: r6076 - in trunk/core/src/resources: portal-core-war/WEB-INF and 1 other directory.

portal-commits at lists.jboss.org portal-commits at lists.jboss.org
Tue Jan 23 09:36:09 EST 2007


Author: julien at jboss.com
Date: 2007-01-23 09:36:09 -0500 (Tue, 23 Jan 2007)
New Revision: 6076

Added:
   trunk/core/src/resources/dtd/jboss-portlet_2_6.dtd
Modified:
   trunk/core/src/resources/portal-core-war/WEB-INF/jboss-portlet.xml
Log:
dtd for jboss-portlet.xml 2.6

Added: trunk/core/src/resources/dtd/jboss-portlet_2_6.dtd
===================================================================
--- trunk/core/src/resources/dtd/jboss-portlet_2_6.dtd	                        (rev 0)
+++ trunk/core/src/resources/dtd/jboss-portlet_2_6.dtd	2007-01-23 14:36:09 UTC (rev 6076)
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+  ~ JBoss, a division of Red Hat                                              ~
+  ~ Copyright 2006, Red Hat Middleware, LLC, and individual                   ~
+  ~ contributors as indicated by the @authors tag. See the                    ~
+  ~ copyright.txt in the distribution for a full listing of                   ~
+  ~ individual contributors.                                                  ~
+  ~                                                                           ~
+  ~ 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.                           ~
+  ~                                                                           ~
+  ~ 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.                  ~
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!--
+<!DOCTYPE jboss-web PUBLIC
+   "-//JBoss Portal//DTD JBoss Portlet 2.6//EN"
+   "http://www.jboss.org/portal/dtd/jboss-portlet_2_6.dtd">
+-->
+
+<!--
+The remotable element is used to configure the default behavior of the portlets with respect to WSRP
+exposure.
+For each portlet defined in portlet.xml, it is possible to configure specific settings
+of the portlet container.
+-->
+<!ELEMENT portlet-app (remotable?,portlet*)>
+
+<!--
+Additional configuration for a portlet.
+
+-->
+<!ELEMENT portlet (portlet-name,remotable?,trans-attribute?)>
+
+<!--
+The portlet name defines the name of the portlet. It must match a portlet defined already in portlet.xml
+of the same web application.
+-->
+<!ELEMENT portlet-name (#PCDATA)>
+
+<!--
+The remotable value is used for WSRP exposure. The accepted values are the litterals true of false.
+-->
+<!ELEMENT remotable (#PCDATA)>
+
+<!--
+The trans-attribute value specifies the behavior of the portlet when it is invoked at runtime with
+respect to the transactionnal context. The accepted values are Required, Mandatory, Never, Supports,
+NotSupported and RequiresNew. According to how the portlet is invoked a transaction may exist or not
+before the portlet is invoked. Usually in the local context the portal transaction could be present.
+By default the value considered is NotSupported which means that the portal transaction will be suspended
+for the duration of the portlet invocation.
+-->
+<!ELEMENT trans-attribute (#PCDATA)>

Modified: trunk/core/src/resources/portal-core-war/WEB-INF/jboss-portlet.xml
===================================================================
--- trunk/core/src/resources/portal-core-war/WEB-INF/jboss-portlet.xml	2007-01-23 13:12:46 UTC (rev 6075)
+++ trunk/core/src/resources/portal-core-war/WEB-INF/jboss-portlet.xml	2007-01-23 14:36:09 UTC (rev 6076)
@@ -48,12 +48,6 @@
       </transaction>
    </portlet>
    <portlet>
-      <portlet-name>ThemeManager</portlet-name>
-      <transaction>
-         <trans-attribute>Required</trans-attribute>
-      </transaction>
-   </portlet>
-   <portlet>
       <portlet-name>CatalogPortlet</portlet-name>
       <transaction>
          <trans-attribute>Required</trans-attribute>
@@ -69,26 +63,12 @@
       </transaction>
    </portlet>
    <portlet>
-      <portlet-name>PolicyConfiguratorPortlet</portlet-name>
-      <security-constraint>
-         <policy-permission>
-            <role-name>Admin</role-name>
-            <action-name>view</action-name>
-         </policy-permission>
-      </security-constraint>
-   </portlet>
-   <portlet>
-      <portlet-name>ThemeSelectorPortlet</portlet-name>
-      <transaction>
-         <trans-attribute>Required</trans-attribute>
-      </transaction>
-   </portlet>
-   <portlet>
       <portlet-name>ConfiguratorPortlet</portlet-name>
       <transaction>
          <trans-attribute>Required</trans-attribute>
       </transaction>
    </portlet>
+
    <!-- Service injected in the portlet context. -->
    <service>
       <service-name>PortalObjectContainer</service-name>




More information about the portal-commits mailing list