JBoss Portal SVN: r10995 - docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules.
by portal-commits@lists.jboss.org
Author: mmcallis
Date: 2008-06-11 22:15:10 -0400 (Wed, 11 Jun 2008)
New Revision: 10995
Modified:
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/ajax.xml
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/errorhandling.xml
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/themeandlayouts.xml
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/tutorials.xml
Log:
removing unnecessary trademark symbols for JSP
Modified: docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/ajax.xml
===================================================================
--- docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/ajax.xml 2008-06-12 01:15:07 UTC (rev 10994)
+++ docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/ajax.xml 2008-06-12 02:15:10 UTC (rev 10995)
@@ -20,7 +20,7 @@
<para>Part of the Ajax capabilities are implemented in the layout framework which provide the structure for
generating portal pages. The good news is that the existing layout only requires a few modifications in
order to be ajaxified.</para>
- <para>We will use as example an simplified version of the layout <trademark trade="trade">JSP</trademark> provided in JBoss Portal 2.6 and outline
+ <para>We will use as example an simplified version of the layout JSP provided in JBoss Portal 2.6 and outline
what are the required changes that makes it an ajaxified layout:
<programlisting><![CDATA[
<%@ taglib uri="/WEB-INF/theme/portal-layout.tld" prefix="p" %>
Modified: docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/errorhandling.xml
===================================================================
--- docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/errorhandling.xml 2008-06-12 01:15:07 UTC (rev 10994)
+++ docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/errorhandling.xml 2008-06-12 02:15:10 UTC (rev 10995)
@@ -118,7 +118,7 @@
<sect2>
<title>Portal Policy</title>
<para>
- The portal error-policy controls the response sent to the Web browser when an error occurs. A default error policy exists, which can be configured per portal. If an error occurs, the policy can either handle a redirect to a <trademark class="trade">JSP</trademark> page, or ignore it. If the error is ignored, it is handled by the default policy, otherwise a JSP page is invoked with the appropriate request attributes, allowing page customization.
+ The portal error-policy controls the response sent to the Web browser when an error occurs. A default error policy exists, which can be configured per portal. If an error occurs, the policy can either handle a redirect to a JSP page, or ignore it. If the error is ignored, it is handled by the default policy, otherwise a JSP page is invoked with the appropriate request attributes, allowing page customization.
</para>
</sect2>
<sect2>
@@ -135,7 +135,7 @@
</listitem>
<listitem>
<para>
- replace the markup of the window using a redirection to a <trademark class="trade">JSP</trademark> page.
+ replace the markup of the window using a redirection to a JSP page.
</para>
</listitem>
</itemizedlist>
@@ -193,7 +193,7 @@
</row>
<row>
<entry align="center"><computeroutput>control.portal.resource_uri</computeroutput></entry>
- <entry align="center">the path of the <trademark class="trade">JSP</trademark> used for redirections</entry>
+ <entry align="center">the path of the JSP used for redirections</entry>
<entry align="center">a valid path to a JSP located in the <filename>portal-core.war/</filename> directory</entry>
</row>
</tbody>
@@ -286,7 +286,7 @@
</row>
<row>
<entry align="center"><computeroutput>control.page.resource_uri</computeroutput></entry>
- <entry align="center">the path of the <trademark class="trade">JSP</trademark> used for redirections</entry>
+ <entry align="center">the path of the JSP used for redirections</entry>
<entry align="center"><computeroutput>ignore</computeroutput>, <computeroutput>jsp</computeroutput> and <computeroutput>hide</computeroutput></entry>
</row>
</tbody>
Modified: docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/themeandlayouts.xml
===================================================================
--- docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/themeandlayouts.xml 2008-06-12 01:15:07 UTC (rev 10994)
+++ docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/themeandlayouts.xml 2008-06-12 02:15:10 UTC (rev 10995)
@@ -31,7 +31,7 @@
responsible to render markup that will wrap the markup fragments produced by the individual
portlets. Themes, on the other hand, are responsible to style and enhance this markup.
</para>
- <para>In JBoss Portal, layouts are implemented as a <trademark class="trade">JSP</trademark> or a Servlet. Themes are implemented using CSS Style sheets, javascript and images. The binding element between layouts and themes are the class and id attributes of the rendered markup.
+ <para>In JBoss Portal, layouts are implemented as a JSP or a Servlet. Themes are implemented using CSS Style sheets, javascript and images. The binding element between layouts and themes are the class and id attributes of the rendered markup.
</para>
<para>JBoss Portal has the concept of regions on a page. When a page is defined, and portlet
windows are assigned to the page, the region, and order inside the region, has to be
@@ -129,7 +129,7 @@
<listitem>The first option would simply require to modify
the theme CSS, by doing this you could change the fonts, the way tabs are rendered, colors and many
other things but not change the content.</listitem>
- <listitem>The second option is to modify the provided <trademark class="trade">JSP</trademark> files, <literal>header.jsp</literal> and
+ <listitem>The second option is to modify the provided JSP files, <literal>header.jsp</literal> and
<literal>tabs.jsp</literal>. It gives you more flexibility than the previous solution on modifying
the content. Links to legacy application could easily be added, URLs could be arranged differently, the CSS
approach could be replaced by good old HTML, CSS style names could be changed... The drawback of
@@ -259,7 +259,7 @@
some ingredients from the portal itself, and at the end write the response back to the
requesting client.
</para>
- <para>Layouts can be either a <trademark class="trade">JSP</trademark> or a Servlet. The portal determines the layout to use
+ <para>Layouts can be either a JSP or a Servlet. The portal determines the layout to use
via the configured properties of the portal, or the requested page. Both, portal and
pages, can define the layout to use in order to render their content. In case both
define a layout, the layout defined for the page will overwrite the one defined for the
@@ -320,7 +320,7 @@
<para>As you can see, the portal or page property points to the layout to use via the
name of the layout. The name has been given to the layout in the layout descriptor.
It is in that layout descriptor where the name gets linked to the physical resource
- (the <trademark class="trade">JSP</trademark> or Servlet) that will actually render the layout.
+ (the JSP or Servlet) that will actually render the layout.
</para>
</sect3>
<sect3>
@@ -801,7 +801,7 @@
swap, or change individual items of it. No compile or redeploy is necessary. Themes
can be added or removed while the portal is active. Themes can be deployed in separate
web applications furthering even more the flexibility of this approach. Web developers
- don't have to work with <trademark class="trade">JSP</trademark> pages. They can stay in their favorite design tool and simple
+ don't have to work with JSP pages. They can stay in their favorite design tool and simple
work against the exploded war content that is deployed into the portal. The results can
be validated life in the portal.
</para>
@@ -887,7 +887,7 @@
<para>Again, analogous to the way it is done for layouts, themes are specified in the
portal descriptor as a portal or page property. The page property overwrites the portal
property. In addition to these two options, themes can also be specified as part of the
- theme <trademark class="trade">JSP</trademark> tag , that is placed on the layout JSP. Here is an example portal descriptor
+ theme JSP tag , that is placed on the layout JSP. Here is an example portal descriptor
that specifies the phalanx theme as the theme for the entire portal, and the industrial
theme for the theme test page:
<programlisting>
@@ -1005,7 +1005,7 @@
");]]>
</programlisting>
Note that in order for the header content injection to work, the layout needs to make
- use of the headerContent <trademark class="trade">JSP</trademark> tag, like:
+ use of the headerContent JSP tag, like:
<programlisting>
<![CDATA[<%@ taglib uri="/WEB-INF/theme/portal-layout.tld" prefix="p" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
@@ -1040,7 +1040,7 @@
</portlet-app>]]></programlisting>
</para>
<para>This functionality, just like the previously described header content injection,
- requires the layout <trademark class="trade">JSP</trademark> to add the "headerContent" JSP tag (see example above). One thing to note here is
+ requires the layout JSP to add the "headerContent" JSP tag (see example above). One thing to note here is
the order of the tags. If the headerContent tag is placed after the theme tag, it will allow portlet
injected
CSS files to overwrite the theme's behavior, making this feature even more powerful!
Modified: docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/tutorials.xml
===================================================================
--- docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/tutorials.xml 2008-06-12 01:15:07 UTC (rev 10994)
+++ docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/tutorials.xml 2008-06-12 02:15:10 UTC (rev 10995)
@@ -554,7 +554,7 @@
Note: the directory names will be different for your system.
</para>
<para>
- Expanding the <filename>helloworldportlet.war</filename> file allows you to deploy the portlet as an expanded directory, which makes development easier. As well, it gives you access to the application descriptors, resource files, JSF, and <trademark class="trade">JSP</trademark> pages. To expand the <filename>helloworldportlet.war</filename> file:
+ Expanding the <filename>helloworldportlet.war</filename> file allows you to deploy the portlet as an expanded directory, which makes development easier. As well, it gives you access to the application descriptors, resource files, JSF, and JSP pages. To expand the <filename>helloworldportlet.war</filename> file:
</para>
<para>
<orderedlist>
@@ -786,7 +786,7 @@
</screen></term>
<listitem>
<para>
- The <literal>doView</literal> implementation is responsible for dispatching to the appropriate <trademark class="trade">JSP</trademark>, <filename>HelloWorldJSPPortlet/WEB-INF/jsp/view.jsp</filename> or <filename>HelloWorldJSPPortlet/WEB-INF/jsp/view2.jsp</filename>, depending on the existence of the <literal>yourname</literal> parameter passed in from <literal>processAction</literal>.
+ The <literal>doView</literal> implementation is responsible for dispatching to the appropriate JSP, <filename>HelloWorldJSPPortlet/WEB-INF/jsp/view.jsp</filename> or <filename>HelloWorldJSPPortlet/WEB-INF/jsp/view2.jsp</filename>, depending on the existence of the <literal>yourname</literal> parameter passed in from <literal>processAction</literal>.
</para>
</listitem>
</varlistentry>
@@ -1203,7 +1203,7 @@
Note: the directory names will be different for your system.
</para>
<para>
- Expanding the <filename>helloworldjsfsunriportlet.war</filename> file allows you to deploy the portlet as an expanded directory, which makes development easier. As well, it gives you access to the application descriptors, resource files, JSF, and <trademark class="trade">JSP</trademark> pages. To expand the <filename>helloworldjsfsunriportlet.war</filename> file:
+ Expanding the <filename>helloworldjsfsunriportlet.war</filename> file allows you to deploy the portlet as an expanded directory, which makes development easier. As well, it gives you access to the application descriptors, resource files, JSF, and JSP pages. To expand the <filename>helloworldjsfsunriportlet.war</filename> file:
</para>
<para>
<orderedlist>
@@ -1508,7 +1508,7 @@
Note: the directory names will be different for your system.
</para>
<para>
- Expanding the <filename>helloworldjsfmyfacesportlet.war</filename> file allows you to deploy the portlet as an expanded directory, which makes development easier. As well, it gives you access to the application descriptors, resource files, JSF, and <trademark class="trade">JSP</trademark> pages. To expand the <filename>helloworldjsfmyfacesportlet.war</filename> file:
+ Expanding the <filename>helloworldjsfmyfacesportlet.war</filename> file allows you to deploy the portlet as an expanded directory, which makes development easier. As well, it gives you access to the application descriptors, resource files, JSF, and JSP pages. To expand the <filename>helloworldjsfmyfacesportlet.war</filename> file:
</para>
<para>
<orderedlist>
17 years, 10 months
JBoss Portal SVN: r10994 - docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules.
by portal-commits@lists.jboss.org
Author: mmcallis
Date: 2008-06-11 21:15:07 -0400 (Wed, 11 Jun 2008)
New Revision: 10994
Modified:
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/ajax.xml
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/errorhandling.xml
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/identityportlets.xml
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/tutorials.xml
Log:
fixing trademarks for JavaServer. Removing all
symbols, apart from the trademark page, and the first
use of JavaServer (for Faces and Pages)
Modified: docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/ajax.xml
===================================================================
--- docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/ajax.xml 2008-06-11 19:12:39 UTC (rev 10993)
+++ docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/ajax.xml 2008-06-12 01:15:07 UTC (rev 10994)
@@ -209,7 +209,7 @@
<listitem>
<para>Form GET are not handled, however it should not be an issue as this situation is discouraged
by the Portlet specification. It however taken in account, just in case of. Here is an example
- of a <trademark class="trade">JavaServer</trademark> Page that would do one:</para>
+ of a JavaServer Page that would do one:</para>
<programlisting><![CDATA[
<form action="<%= renderResponse.createActionURL() %>" method="get">
...
Modified: docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/errorhandling.xml
===================================================================
--- docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/errorhandling.xml 2008-06-11 19:12:39 UTC (rev 10993)
+++ docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/errorhandling.xml 2008-06-12 01:15:07 UTC (rev 10994)
@@ -383,7 +383,7 @@
<para>
<note>
<title><trademark class="trade">JSP</trademark> Location</title>
- The <trademark class="trade">JavaServer</trademark> Pages must be located in the <filename>jboss-portal.sar/portal-core.war/</filename> web application.
+ The JavaServer Pages must be located in the <filename>jboss-portal.sar/portal-core.war/</filename> web application.
</note>
</para>
</sect1>
Modified: docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/identityportlets.xml
===================================================================
--- docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/identityportlets.xml 2008-06-11 19:12:39 UTC (rev 10993)
+++ docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/identityportlets.xml 2008-06-12 01:15:07 UTC (rev 10994)
@@ -383,7 +383,7 @@
</itemizedlist>
</para>
<note>
- This is not a <trademark class="trade">JavaServer</trademark> Faces tutorial. Basic knowledge of
+ This is not a JavaServer Faces tutorial. Basic knowledge of
this technology is a precondition for customizing the User
Portlet Interface.
</note>
Modified: docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/tutorials.xml
===================================================================
--- docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/tutorials.xml 2008-06-11 19:12:39 UTC (rev 10993)
+++ docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/tutorials.xml 2008-06-12 01:15:07 UTC (rev 10994)
@@ -148,7 +148,7 @@
<sect3>
<title>Package Structure</title>
<para>
- Like other Java Platform, Enterprise Edition (Java EE) applications, portlets are packaged in WAR files. A typical portlet WAR file can include servlets, resource bundles, images, HTML, <trademark class="trade">JSP</trademark>, and other static or dynamic files. The following is an example of the directory structure of the HelloWorldPortlet portlet:
+ Like other Java Platform, Enterprise Edition (Java EE) applications, portlets are packaged in WAR files. A typical portlet WAR file can include servlets, resource bundles, images, HTML, <trademark class="trade">JavaServer</trademark> Pages (<trademark class="trade">JSP</trademark>), and other static or dynamic files. The following is an example of the directory structure of the HelloWorldPortlet portlet:
</para>
<para>
<mediaobject>
17 years, 10 months
JBoss Portal SVN: r10993 - branches/JBoss_Portal_Branch_2_7/core-identity/src/resources/portal-identity-war/WEB-INF.
by portal-commits@lists.jboss.org
Author: thomas.heute(a)jboss.com
Date: 2008-06-11 15:12:39 -0400 (Wed, 11 Jun 2008)
New Revision: 10993
Modified:
branches/JBoss_Portal_Branch_2_7/core-identity/src/resources/portal-identity-war/WEB-INF/faces-config.xml
Log:
minor
Modified: branches/JBoss_Portal_Branch_2_7/core-identity/src/resources/portal-identity-war/WEB-INF/faces-config.xml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-identity/src/resources/portal-identity-war/WEB-INF/faces-config.xml 2008-06-11 18:53:55 UTC (rev 10992)
+++ branches/JBoss_Portal_Branch_2_7/core-identity/src/resources/portal-identity-war/WEB-INF/faces-config.xml 2008-06-11 19:12:39 UTC (rev 10993)
@@ -34,6 +34,12 @@
<view-handler>
org.jboss.portletbridge.application.PortletViewHandler
</view-handler>
+ <locale-config>
+ <default-locale>en</default-locale>
+ <supported-locale>it</supported-locale>
+ <supported-locale>ru</supported-locale>
+ </locale-config>
+
</application>
<factory>
<faces-context-factory>
17 years, 11 months
JBoss Portal SVN: r10992 - in branches/JBoss_Portal_Branch_2_7: core/src/resources/portal-server-war/WEB-INF/classes and 8 other directories.
by portal-commits@lists.jboss.org
Author: thomas.heute(a)jboss.com
Date: 2008-06-11 14:53:55 -0400 (Wed, 11 Jun 2008)
New Revision: 10992
Added:
branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/WEB-INF/classes/Resource_de.properties
branches/JBoss_Portal_Branch_2_7/core-cms/src/resources/portal-cms-war/WEB-INF/classes/Resource_de.properties
branches/JBoss_Portal_Branch_2_7/core-samples/src/resources/portal-jsp-samples-war/WEB-INF/classes/Resource_de.properties
branches/JBoss_Portal_Branch_2_7/core-samples/src/resources/portal-users-samples-war/WEB-INF/classes/Resource_de.properties
branches/JBoss_Portal_Branch_2_7/core/src/resources/portal-core-war/WEB-INF/classes/Resource_de.properties
branches/JBoss_Portal_Branch_2_7/core/src/resources/portal-server-war/WEB-INF/classes/Resource_de.properties
Modified:
branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/WEB-INF/faces-config.xml
branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/WEB-INF/portlet.xml
branches/JBoss_Portal_Branch_2_7/core-cms/src/resources/portal-cms-war/WEB-INF/portlet.xml
branches/JBoss_Portal_Branch_2_7/core-samples/src/resources/portal-jsp-samples-war/WEB-INF/portlet.xml
branches/JBoss_Portal_Branch_2_7/core-samples/src/resources/portal-users-samples-war/WEB-INF/portlet.xml
Log:
German version
Added: branches/JBoss_Portal_Branch_2_7/core/src/resources/portal-core-war/WEB-INF/classes/Resource_de.properties
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core/src/resources/portal-core-war/WEB-INF/classes/Resource_de.properties (rev 0)
+++ branches/JBoss_Portal_Branch_2_7/core/src/resources/portal-core-war/WEB-INF/classes/Resource_de.properties 2008-06-11 18:53:55 UTC (rev 10992)
@@ -0,0 +1,337 @@
+################################################################################
+# 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. #
+################################################################################
+
+_ASREGISTERED=Sie sind noch nicht registriert? <a href\="">Melden Sie sich an</a>.
+_BLOCKNICKNAME=Benutzername
+_BLOCKPASSWORD=Passwort
+
+
+
+MessageOrder=Nachrichtenreihenfolge
+Ascending=Aufsteigend
+Descending=Absteigend
+
+AIM=AIM-Name
+ICQ=ICQ-Nummer
+YIM=Yahoo-Name
+MSNM=Windows Live Adresse
+
+YourAIM=Ihr AIM-Name
+YourICQ=Ihre ICQ-Nummer
+YourYIM=Ihr Yahoo-Name
+YourMSNM=Ihre Windows Live Adresse
+
+MyEmail=Meine E-Mail-Adresse
+MyHomePage=Meine Homepage
+
+Question=Geheime Frage
+Answer=Geheime Antwort
+Location=Wohnort
+Occupation=Beruf
+Interests=Interessen
+ExtraInfo=Weitere Informationen
+YourLocation=Ihr Wohnort
+YourOccupation=Ihr Beruf
+YourInterests=Ihre Interessen
+Signature=Signatur
+
+LoginSite=Anmeldung.
+Register=Registrierung.
+
+UserExist=Der Benutzername existiert bereits
+ToChangeInfo=um Ihre Informationen zu bearbeiten
+EmailVerify=Aktivierungslink wurde abgeschickt! \u00dcberpr\u00fcfen Sie Ihren Posteingang und klicken Sie auf den Aktivierungslink
+AccountActivated=Ihr Konto wurde erfolgreich aktiviert!
+UnableActivate=Das Benutzerkonto konnte nicht aktiviert werden.
+LoggingYou=Anmeldung erfolgt, bitte warten\!
+YouAreLoggedOut=Sie wurden erfolgreich abgemeldet\!
+PassDifferent=Die von Ihnen angegebenen Passw\u00f6rter sind nicht identisch.
+YourPassMustBe=Ihr Passwort muss mindestens
+CharLong=Zeichen lang sein
+UserNotExist=Benutzer existiert nicht\!
+UserRegLogin=Benutzer Anmeldung/Registrierung
+SelectOption=Bitte w\u00e4hlen Sie eine Option aus dem folgenden Men\u00fc\:
+RetrievePass=Passwort vergessen?
+RegNewUser=Neue Benutzerregistrierung
+PasswordAgain=Passwort best\u00e4tigen
+Email=E-Mail-Adresse
+Options=Optionen
+AllowEmailView=Anderen Benutzern erlauben, meine E-Mail-Adresse einzusehen
+AsRegUser=Als registrierter Benutzer k\u00f6nnen Sie\:
+AsReg6=Zwischen verschiedenen Designs w\u00e4hlen
+AsReg5=Kommentare anpassen
+AsReg4=Festlegen, wie viele Meldungen auf der Startseite angezeigt werden
+AsReg3=Einen pers\u00f6nlichen Bereich auf der Startseite einrichten
+AsReg2=Nachrichten mit Ihrem Benutzernamen einschicken
+AsReg1=Kommentare mit Ihrem Benutzernamen verfassen
+RegisterNow=Jetzt kostenlos registrieren\!
+WeDontGive=Ihre pers\u00f6nlichen Informationen werden vertraulich verhandelt und nicht an Dritte weitergegeben.
+WelcomeTo=Willkommen im
+Registration=Registrierungsbereich.
+
+Over13_1=Ich bin
+Over13_2=oder \u00e4lter bzw. habe die Zustimmung meiner Eltern
+MustBe_1=Sie m\u00fcssen
+MustBe_2=oder \u00e4lter sein bzw. die Zustimmung Ihrer Eltern haben, um sich registrieren zu k\u00f6nnen.
+Consent_1=(Durch einen Klick auf den obenstehenden Link best\u00e4tigen Sie, dass sie entweder <br>
+Consent_2=oder \u00e4lter sind bzw. dass Sie die Zustimmung Ihrer Eltern haben, sich hier zu registrieren.)
+Under13_1=Ich bin j\u00fcnger als
+Under13_2=und habe nicht die Zustimmung meiner Eltern.
+
+Sorry=Entschuldigung.
+Click=Bitte klicken Sie
+Here=hier
+Return=um zur Startseite zur\u00fcckzukehren.
+UserName=Benutzername
+GoBack=Zur\u00fcck
+Finish=Fertigstellen
+PersonalInfo=Pers\u00f6nliche Informationen
+RealName=Richtiger Name
+Optional=(optional)
+CanKnowAbout=(max. 255 Zeichen. Schreiben Sie, was andere \u00fcber Sie wissen sollen.)
+Language=Sprache
+255CharMax=(max. 255 Zeichen. Sie k\u00f6nnen HTML in Ihrer Signatur verwenden.)
+YourAvatar=Ihr Avatar
+YourHomePage=Ihre Website
+TimeZoneOffset=Zeitzonenausgleich
+EmailNotPublic=(Ihre E-Mail-Adresse wird nicht ver\u00f6ffentlicht, ist aber f\u00fcr die Registrierung erforderlich. An diese Adresse wird Ihr Passwort geschickt, sollten Sie es vergessen.)
+EmailPublic=(Diese E-Mail-Adresse ist \u00f6ffentlich einsehbar. Sie k\u00f6nnen eingeben, was Sie wollen. Spam-gesch\u00fctzt.)
+RealEmail=Richtige E-Mail-Adresse
+FakeEmail=Fake-E-Mail-Adresse
+NewUser=Neuer Benutzer
+SaveChanges=\u00c4nderungen speichern
+SaveChange=\u00c4nderung speichern
+TypeNewPassword=(Geben Sie Ihr neues Passwort zweimal ein, um es zu \u00e4ndern)
+Search=Suche
+All=Alle
+UsersFoundFor=Benutzer gefunden f\u00fcr
+Pages=Seiten
+UsersShown=Angezeigte Benutzer
+Delete=L\u00f6schen
+Edit=Bearbeiten
+Ok=OK
+Cancel=Abbrechen
+AreYouSureToDeleteUser=Sind Sie sicher, dass Sie diesen Benutzer l\u00f6schen m\u00f6chten?
+UserDeleted=Benutzer erfolgreich gel\u00f6scht
+ReturnToMemberList=Zur Mitgliederliste zur\u00fcckkehren
+Avatar=Avatar
+AdminFunctions=Administratorfunktionen
+URL=URL
+UpdateUser=Benutzer aktualisieren
+UserID=Benutzer-ID
+ForChanges=(Nur f\u00fcr \u00c4nderungen)
+MemberList=Mitgliederliste
+SearchTip=Tipp: W\u00e4hlen Sie einen Buchstaben, lassen Sie alle anzeigen oder suchen Sie nach einem Benutzer, wenn Sie seinen Benutzernamen kennen
+
+ThemeText1=Diese Option wird das Aussehen der kompletten Seite \u00e4ndern.
+ThemeText2=Die \u00c4nderungen werden nur Sie betreffen.
+ThemeText3=Jeder Benutzer kann f\u00fcr die Seite ein anderes Design ausw\u00e4hlen.
+SelectTheme=W\u00e4hlen Sie ein Design
+ThemeSelection=Designauswahl
+
+CannotLogin=Weiterleiten zur Anmeldung fehlgeschlagen
+
+LoginInvalidName=Der Benutzername ist ung\u00fcltig
+LoginNoSuchUser=Der Benutzername existiert nicht
+LoginBadPassword=Ihr Passwort ist falsch
+LoginUnexpectedError=Unerwarteter Fehler
+LoginUserDisabled=Ihr Konto wurde deaktiviert. Bitte kontaktieren Sie den Administrator.
+
+Enable=aktivieren
+Disable=deaktivieren
+StatusChanged=Der Benutzerstatus wurde erfolgreich ge\u00e4ndert
+
+NotAuth=Sie haben nicht die erforderliche Berechtigung, um diese Aktion auszuf\u00fchren
+
+
+REMEMBERME=Bei jedem Besuch automatisch einloggen
+LOGIN=Anmeldung
+USERNAME=Benutzername
+PASSWORD=Passwort
+USERLOGIN=Benutzeranmeldung
+
+OPTIONAL=Optional
+REQUIRED=Erforderlich
+
+255MAX=(Signatur mit max. 255 Zeichen)
+
+NAMENOTAVAILABLE=n.v.
+
+MODIFIED_PROFILE=Ihr Profil wurde ge\u00e4ndert. Das Portal wird mit ihrem bisherigen Profil weiterarbeiten, bis Sie sich neu angemeldet haben.
+
+# Registration
+REGISTER_NOT_LOGGED_IN=Sie sind momentan nicht angemeldet.
+REGISTER_REGISTER=Sie k\u00f6nnen ein Benutzerkonto erstellen.
+REGISTER_REGISTER_LINK=erstellen
+REGISTER_REGISTER_ADMIN_LINK=Benutzerkonto erstellen
+REGISTER_TY=Vielen Dank f\u00fcr Ihre Registrierung.
+REGISTER_BASICINFO=Grundlegende Benutzerinformationen
+REGISTER_IM=Instant-Messenger-Identit\u00e4ten
+REGISTER_ADDITIONAL=Weitere optionale Benutzerinformationen
+REGISTER_NEWUSER=Neue Benutzerregistrierung
+REGISTER_PASSWORDAGAIN=Passwort best\u00e4tigen
+REGISTER_REALEMAIL=Richtige E-Mail-Adresse
+REGISTER_EMAILNOTPUBLIC=(Ihre E-Mail-Adresse wird nicht ver\u00f6ffentlicht, ist aber f\u00fcr die Registrierung erforderlich. An diese Adresse wird Ihr Passwort geschickt, sollten Sie es vergessen.)
+REGISTER_FAKEEMAIL=Fake-E-Mail-Adresse
+REGISTER_EMAILPUBLIC=(Diese E-Mail-Adresse ist \u00f6ffentlich einsehbar. Sie k\u00f6nnen eingeben, was Sie wollen. Spam-gesch\u00fctzt.)
+REGISTER_FAKEEMAIL_EXPLAIN=Wenn Sie eine Fake-E-Mail-Adresse angeben, werden an Ihre richtige E-Mail-Adresse nur Benachrichtigungen geschickt.
+REGISTER_QUESTION=Geheime Frage
+REGISTER_ANSWER=Geheime Antwort
+REGISTER_ASREGUSER=Als registrierter Benutzer k\u00f6nnen Sie\:
+REGISTER_ASREG6=Zwischen verschiedenen Designs w\u00e4hlen
+REGISTER_ASREG5=Kommentare anpassen
+REGISTER_ASREG4=Festlegen, wie viele Meldungen auf der Startseite angezeigt werden
+REGISTER_ASREG3=Einen pers\u00f6nlichen Bereich auf der Startseite einrichten
+REGISTER_ASREG2=Nachrichten mit Ihrem Benutzernamen einschicken
+REGISTER_ASREG1=Kommentare mit Ihrem Benutzernamen verfassen
+REGISTER_REGISTERNOW=Jetzt kostenlos registrieren\!
+REGISTER_WEDONTGIVE=Ihre pers\u00f6nlichen Informationen werden vertraulich verhandelt und nicht an Dritte weitergegeben.
+REGISTER_ALREADYHAVEACCOUNT=Sie haben bereits ein Benutzerkonto:
+REGISTER_SIGNIN=Anmelden
+REGISTER_GIVENNAME=Vorname
+REGISTER_FAMILYNAME=Nachname
+REGISTER_PERSONALINFO=Pers\u00f6nliche Informationen
+REGISTER_VIEWREALEMAIL=Anderen Benutzern erlauben, meine richtige E-Mail-Adresse einzusehen
+REGISTER_HOMEPAGE=Adresse Ihrer pers\u00f6nlichen Homepage
+REGISTER_TIMEZONEOFFSET=Zeitzonenausgleich
+REGISTER_THEME=Design
+REGISTER_DEFAULT_THEME=Standarddesign
+REGISTER_ICQ=ICQ-Nummer
+REGISTER_AIM=AIM-Name
+REGISTER_YIM=Yahoo-Name
+REGISTER_MSNM=Windows Live Adresse
+REGISTER_SKYPE=Skype-Name
+REGISTER_XMMP=XMMP-Adresse
+REGISTER_LOCATION=Wohnort
+REGISTER_LANGUAGE=Bevorzugte Sprache
+REGISTER_OCCUPATION=Beruf
+REGISTER_INTERESTS=Interessen
+REGISTER_SIGNATURE=Signatur
+REGISTER_EXTRAINFO=Weitere Informationen
+REGISTER_CANKNOWABOUT=(max. 255 Zeichen. Schreiben Sie, was andere \u00fcber Sie wissen sollen.)
+REGISTER_SAVECHANGES=\u00c4nderungen speichern
+REGISTER_CONFIRMATIONEMAIL=Best\u00e4tigungsmail
+
+REGISTER_SHOWMENU=Zum Benutzermen\u00fc zur\u00fcckkehren
+
+REGISTER_ERROR_INVALIDUSERNAME=Der gew\u00fcnschte Benutzername ist ung\u00fcltig
+REGISTER_ERROR_EXISTINGUSERNAME=Der gew\u00fcnschte Benutzername ist bereits vergeben
+REGISTER_ERROR_INVALIDPASSWORD1=Das gew\u00fcnschte Passwort ist unzul\u00e4ssig
+REGISTER_ERROR_INVALIDPASSWORD2=Das gew\u00fcnschte Passwort ist unzul\u00e4ssig
+REGISTER_ERROR_PASSWORDMISMATCH=Die eingegebenen Passw\u00f6rter sind nicht identisch
+REGISTER_ERROR_INVALIDREALEMAIL=Die eingegebene E-Mail-Adresse ist ung\u00fcltig
+
+REGISTER_CONFIRM=Benutzer erfolgreich erstellt.
+REGISTER_ADMIN_SEARCH=Benutzer anzeigen/bearbeiten
+
+
+MENU_LOGOUT=Abmelden
+MENU_EDITPROFILE=Profil bearbeiten
+MENU_LISTUSERS=Alle Benutzer anzeigen
+
+LIST_FILTERS=Filter auf die Liste anwenden
+LIST_USERSPERPAGE=Benutzer pro Seite
+LIST_USERNAMECONTAINS=Benutzername beinhaltet
+LIST_FULLNAME=Vollst\u00e4ndiger Name
+LIST_USERNAME=Benutzername
+LIST_FIRSTNAME=Vorname
+LIST_LASTNAME=Nachname
+LIST_ROLES=Rollen
+LIST_ACTIONS=Aktionen
+LIST_ACTIONSSHOWPROFILE=Profil
+LIST_ACTIONADDROLESTOUSER=Rollen
+LIST_ACTIONEDITROLES=Rollen bearbeiten
+LIST_ACTIONDELETEUSER=Benutzer l\u00f6schen
+LIST_CONFIRMDELETEUSER=Sie sind dabei, einen Benutzer zu l\u00f6schen
+LIST_SEARCHRESULTS=Suchergebnis f\u00fcr
+LIST_MATCHING=Gefundene Benutzer
+FILTER=Filter
+
+NEXTPAGE=N\u00e4chste Seite
+PREVIOUSPAGE=Vorherige Seite
+
+ASSIGNROLES=Rollen zuweisen
+ASSIGNEDROLES=Zugewiesene Rollen
+ROLESAVAILABLE=Verf\u00fcgbare Rollen
+EDITROLESFORUSER=Rollen f\u00fcr diesen Benutzer bearbeiten
+
+
+ROLE_THEREARE=
+ROLE_THEREIS=
+ROLE_ROLESDEFINED=Rollen sind definiert
+ROLE_ROLEDEFINED=Rolle ist definiert
+
+ROLE_NAME=Name der Rolle
+ROLE_DISPLAYNAME=Anzeigename der Rolle
+ROLE_NEWDISPLAYNAME=Neuer Anzeigename f\u00fcr die Rolle
+ROLE_SELECTONETOMODIFY= W\u00e4hlen Sie die Rolle, die Sie bearbeiten m\u00f6chten
+ROLE_SELECTONETODELETE= W\u00e4hlen Sie die Rolle, die Sie l\u00f6schen m\u00f6chten
+ROLE_CREATE=Benutzerrolle erstellen
+ROLE_UPDATE=Benutzerrolle aktualisieren
+ROLE_EDIT=Benutzerrolle bearbeiten
+ROLE_DELETE=Ausgew\u00e4hlte Benutzerrolle l\u00f6schen
+ROLE_CONFIRM_DELETE=Sie sind dabei, eine Benutzerrolle zu l\u00f6schen
+ROLE_DELETED=Die Rolle wurde gel\u00f6scht
+ROLE_EDIT_MEMBERS=Rollenmitglieder bearbeiten
+ROLE_MAINLIST=Zur\u00fcck zur Rollenbearbeitung
+ROLE_EDIT_USER=Benutzer der Rolle bearbeiten
+ROLE_ADD=Rolle hinzuf\u00fcgen
+ROLE_REMOVE=Rolle entfernen
+
+ROLE_ERROR_DISPLAYNAMEALREADYEXISTS=Es existiert bereits eine Rolle mit diesem Anzeigenamen
+ROLE_ERROR_NAMEALREADYEXISTS=Es existiert bereits eine Rolle mit diesem Namen
+ROLE_ERROR_NAMEEMPTY=Bitte geben Sie einen Namen f\u00fcr die Rolle an
+ROLE_ERROR_DISPLAYNAMEEMPTY=Bitte geben Sie einen Anzeigenamen f\u00fcr die Rolle an
+ROLE_ERROR_DELETE_FAILED=Die Rolle konnte nicht gel\u00f6scht werden
+
+MENU_CREATEROLE=Neue Rolle erstellen
+MENU_EDITROLE=Existierende Rolle bearbeiten
+MENU_EDITROLEMEMBERS=Rollenmitglied
+
+ROLE_TEXT_1=Benutzen Sie dieses Portlet um Benutzerrollen anzulegen, zu bearbeiten, zu l\u00f6schen und sie Benutzern zuzuordnen.
+ROLE_TEXT_2=Diese Rollen werden vom Management-Portlet genutzt, um Zugriffsberechtigungen festzulegen.
+
+PERMISSION_PICKPORTLET=Portlet-Berechtigungsverwaltung
+PERMISSION_PERMISSIONS=Berechtigungen zum bearbeiten
+PERMISSION_TOP=W\u00e4hlen Sie eine Komponente, um sie zu bearbeiten
+PERMISSION_FINERGRAIN=W\u00e4hlen sie eine Unterkomponente, um ihre Berechtigungen festzulegen
+PERMISSION_MODIFYROLES=Rollen hinzuf\u00fcgen/entfernen
+PERMISSION_MODIFYINGROLES=Bearbeitung der Rolle f\u00fcr
+PERMISSION_DOMAIN=Domain
+PERMISSION_DOMAIN_MOD=Domain bearbeiten
+PERMISSION_DEFINEDROLES=Definierte Rollen
+PERMISSION_IMPLIEDROLES=Implizite Rollen
+
+POWERED_BY=Powered by
+BAD_LOGIN=Anmeldungsfehler
+THEME_BY=Design von
+PORTLET_INSTANCE_ASSOCIATED=Mit diesem Fenster verkn\u00fcpfte Portlet-Instanz
+PORTLET_NAME=Portlet-Name
+PORTLET_DESCRIPTION=Portlet-Beschreibung
+DASHBOARD=Dashboard
+CONFIGURE_DASHBOARD=Dashboard konfigurieren
+COPY_TO_DASHBOARD=Auf mein Dashboard kopieren
+PORTAL=Portal
+ADMIN=Administrator
+MEMBERS=Mitglieder
+LOGGED=Angemeldet als
Added: branches/JBoss_Portal_Branch_2_7/core/src/resources/portal-server-war/WEB-INF/classes/Resource_de.properties
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core/src/resources/portal-server-war/WEB-INF/classes/Resource_de.properties (rev 0)
+++ branches/JBoss_Portal_Branch_2_7/core/src/resources/portal-server-war/WEB-INF/classes/Resource_de.properties 2008-06-11 18:53:55 UTC (rev 10992)
@@ -0,0 +1,32 @@
+################################################################################
+# 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. #
+################################################################################
+
+ACCOUNT_DISABLED=Ihr Konto ist deaktiviert
+ACCOUNT_INEXISTING_OR_WRONG_PASSWORD=Ung\u00fcltiger Benutzername oder falsches Passwort
+ACCOUNT_NOTASSIGNEDTOROLE=Der Benutzer verf\u00fcgt nicht \u00fcber die erforderliche Berechtigung
+
+LOGIN_TITLE=JBoss Portal Anmeldung
+LOGIN_USERNAME=Benutzername
+LOGIN_PASSWORD=Passwort
+LOGIN_CANCEL=Abbrechen
+LOGIN_SUBMIT=Abschicken
Added: branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/WEB-INF/classes/Resource_de.properties
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/WEB-INF/classes/Resource_de.properties (rev 0)
+++ branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/WEB-INF/classes/Resource_de.properties 2008-06-11 18:53:55 UTC (rev 10992)
@@ -0,0 +1,202 @@
+################################################################################
+# 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. #
+################################################################################
+
+PORTLET_INSTANCES=Portlet-Instanzen
+INSTANCE_DELETE=Instanz l\u00f6schen
+PORTLET_CAUSING_REFERENCING_NOT_ABLE=Die Instanz verhindert, dass Fenster, die sie referenzieren, ihren Inhalt nicht mehr anzeigen k\u00f6nnen
+ARE_YOU_SURE_DELETE=Sind Sie sicher, dass Sie diese Portlet-Instanz l\u00f6schen wollen?
+DASHBOARD_THEME_PROPERTIES=Dashboard-Design-Eigenschaften
+CONFIGURE_DASHBOARD_SETTINGS=Dashboard-Einstellungen konfigurieren
+DASHBOARDS=Dashboards
+ADD_DISPLAY_NAMES=Anzeigenamen hinzuf\u00fcgen
+CURRENT_DISPLAY_NAMES=Aktuelle Anzeigenamen
+SAVE=Speichern
+MANAGE=Verwalten
+PORTALS=Portale
+PORTAL=Portal
+SUB_PORTALS=Unterportale
+PAGES_WITHIN=Enthaltene Seiten
+CREATE_PORTAL_NAMED=Ein Portal erstellen mit dem Namen
+PAGE_LAYOUT=Seitenlayout
+SECURITY=Sicherheit
+THEME=Design
+RENAME=Umbenennen
+DISPLAY_NAMES=Anzeigenamen
+MANAGE_SUB_PAGES_WITHIN=Enthaltene Unterseiten verwalten
+CREATE_PAGE_NAMED=Eine Seite erstellen mit dem Namen
+SET_PAGE_PERMISSIONS=Bitte legen Sie die Seiteneigenschaften fest
+PAGE_THEME_PROPERTIES=Seitendesign-Eigenschaften
+SET_PORTAL_PERMISSIONS=Bitte legen Sie die Portal-Berechtigungen fest
+PORTAL_THEME_PROPERTIES=Portaldesign-Eigenschaften
+SETTINGS_ARE_INHERITED_BY_ALL_PAGES=Diese Eigenschaften werden von allen Seiten und Fenster dieses Portals geerbt. Sie k\u00f6nnen diese Einstellungen \u00fcberschreiben, indem Sie die gew\u00fcnschten Einstellungen auf der entsprechenden in den Designeigenschaften festlegen
+EVENT_LISTENER_BINDING=Event-Listener-Verkn\u00fcpfung
+CHOOSE_ID_PORTALEVENTLISTENER=W\u00e4hlen Sie die ID des zu verkn\u00fcpfenden PortalEventListener
+SET_PERMISSIONS_FOR=Bitte legen Sie die Berechtigungen fest f\u00fcr
+WINDOW=Fenster
+WINDOW_THEME_PROPERTIES=Fenster-Design-Eigenschaften
+INSTANCE_ID=Instanz-ID
+INSTANCE_NAME=Instanz-Name
+ACTIONS=Aktionen
+PREFERENCES=Eigenschaften
+PORTLET_DETAILS=Portlet-Details
+ASSOCIATED_PORTLET_NOT_AVAILABLE=Das zugewiesene Portlet ist nicht verf\u00fcgbar
+PREFERENCES=Eigenschaften
+SECURITY_SETTINGS=Sicherheitseinstellungen
+MAKE_DEFAULT=Zum Standard machen
+MANAGE_WINDOWS_WITHIN=Enthaltene Fenster verwalten
+PORTAL_OBJECTS=Portal-Objekte
+PORTALS=Portale
+PORTLET_NAME=Portlet-Name
+DESCRIPTION=Beschreibung
+REMOTE=Remote
+REMOTABLE=Remote-f\u00e4hig
+ACTIONS=Aktionen
+CREATE_INSTANCE=Instanz erstellen
+PORTLET_DEFINITIONS=Portlet-Definitionen
+DETAILS=Details
+INSTANCE_CREATION=Instanz erstellen
+CREATE_INSTANCE_NAMED=Instanz erstellen mit dem Namen
+RENAME_THE=Umbenennen von
+TO=in
+THIS_MINIMIZED_STATE=Dieses Fenster ist minimiert
+THIS_NORMAL_STATE=Dieses Fenster befindet sich im normalen Status
+THIS_MAXIMIZED_STATE=Dieses Fenster ist maximiert
+THIS_MINIMIZED_STATE_BECAUSE_MAXIMIZED=Dieses Fenster ist standardm\u00e4\u00dfig minimiert, da ein Fenster dieser Seite maximiert ist
+SWITCH_TO_WIZARD_MODE=Zum Assistenten wechseln
+CREATE_PORTAL=Portal erstellen
+CREATE_PAGE=Seite erstellen
+DEFAULT=Standard
+WINDOW=Fenster
+VIEW_PORTLETS_PROVIDED_BY=Portlets anzeigen vom Portlet-Anbieter
+VIEW_PORTLETS=Portlets anzeigen
+
+COMMON_INCONSISTENT_STATE=Inkonsistenter Status
+COMMON_DELETE=L\u00f6schen
+COMMON_DELETING=WARNUNG! Sie sind dabei,
+COMMON_FROM=zu l\u00f6schen von
+COMMON_SURE_DELETE=Sind Sie sicher, dass Sie fortfahren wollen mit dem L\u00f6schen von
+COMMON_ERROR_HANDLING=Seiten-Fehlerbehandlung
+COMMON_CONFIGURE_ERRORS=Konfigurieren Sie die Behandlung von Fehlern auf Seitenebene
+COMMON_CASE=Fall
+COMMON_INHERITANCE=Vererbung
+COMMON_ACTION=Aktion
+COMMON_INHERIT_ACTION=Aktion von \u00fcbergeordnetem Element erben
+COMMON_CONTENT_DEFINITION=Inhaltsdefinition
+COMMON_DEFINE_NAME_WINDOW=Legen Sie einen Namen f\u00fcr das Fenster des Inhalts fest (optional)
+COMMON_WINDOW_NAME=Fenstername
+COMMON_SELECT_TYPE_CONTENT=W\u00e4hlen Sie den Inhaltstype, der zur Seite hinzuf\u00fcgt wird
+COMMON_CONTENT_TYPE=Inhaltstype
+COMMON_SELECT_CONTENT=W\u00e4hlen Sie den Inhalt, der zur Seite hinzugef\u00fcgt wird
+COMMON_PAGE_LAYOUT=Seitenlayout
+COMMON_REGION=Bereich
+COMMON_UNASSIGNED_WINDOW=Nicht-zugeordnete Fenster
+COMMON_PORTAL_ERROR_HANDLING=Portal-Fehlerbehandlung
+COMMON_PORTAL_CONFIGURE_ERRORS=Konfigurieren Sie die Behandlung von Fehlern auf Portalebene
+COMMON_KEY=Schl\u00fcssel
+COMMON_NAME=Name
+COMMON_READONLY=Schreibgesch\u00fctzt
+COMMON_VALUE=Wert
+COMMON_NO_DEFINED_PREFERENCES=Keine Eigenschaften f\u00fcr dieses Portlet definiert
+COMMON_EDIT_EXISTING_VALUES=Existierende Werte bearbeiten
+COMMON_APPEND_VALUE=Wert anf\u00fcgen
+COMMON_PROPERTIES=Eigenschaften
+COMMON_ADD_PROPERTY=Eigenschaft hinzuf\u00fcgen
+COMMON_SELECT_PREDEFINED_PROPERTY=Vordefinierte Eigenschaft ausw\u00e4hlen
+COMMON_OR=oder
+COMMON_ENTER_PROPERTY_NAME=Name der Eigenschaft eingeben
+COMMON_MANAGE_PROPERTIES=Derzeit definierte Eigenschaften verwalten
+COMMON_DESCRIPTION=Beschreibung
+COMMON_INHERITED=Geerbt
+COMMON_YES=Ja
+COMMON_NO=Nein
+COMMON_ROLES=Rollen
+COMMON_PERMISSIONS=Berechtigungen
+COMMON_ROLE=Rolle
+COMMON_SETTING=Einstellung
+COMMON_LAYOUT=Layout
+COMMON_NAME_LAYOUT_IMPLEMENTATION=Name der Layoutimplementation, die verwendet wird, um Portletfenster auf Seiten anzuordnen
+COMMON_THEME=Design
+COMMON_NAME_LOOK_AND_FEEL=Name des anzuwendenden Designs
+COMMON_RENDERSET=RenderSet
+COMMON_NAME_RENDER_ENGINE_PAGES=Name der zum Rendering von Seiten zu verwendenden Render-Engine
+COMMON_WINDOW_RENDERER=Fenster-Renderer
+COMMON_NAME_RENDER_ENGINE_WINDOWS=Name der zum Rendering von Fenstern zu verwendenden Render-Engine
+COMMON_DECORATION_RENDERER=Dekorations-Renderer
+COMMON_NAME_RENDER_ENGINE_DECORATIONS=Name der zum Rendering von Fensterdekorationen zu verwendenden Render-Engine
+COMMON_PORTLET_RENDERER=Portlet-Renderer
+COMMON_NAME_RENDER_ENGINE_PORTLETS=Name der zum Rendering von Portlets zu verwendenden Render-Engine
+COMMON_PORTLET_INSTANCE_INFORMATION=Portlet-Instanz-Informationen
+COMMON_PORTLET_NAME=Portlet-Name
+COMMON_PORTLET_DESCRIPTION=Portlet-Beschreibung
+COMMON_PORTLET_TITLE=Portlet-Titel
+COMMON_PORTLET_KEYWORDS=Portlet-Schl\u00fcsselw\u00f6rter
+COMMON_PORTLET_LOCALES=Portlet-Locales
+COMMON_PORTLET_INSTANCE_DISPLAY_NAMES=Portlet-Instanz-Anzeigenamen
+COMMON_ADD_INSTANCE_DISPLAY_NAMES=Instanz-Anzeigenamen hinzuf\u00fcgen
+COMMON_CURRENT_INSTANCE_DISPLAY_NAMES=Aktuelle Instanz-Anzeigenamen
+COMMON_CANCEL=Abbrechen
+COMMON_UPDATE=Aktualisieren
+COMMON_ADD=Hinzuf\u00fcgen
+COMMON_ADD_PROPERTY=Eigenschaft hinzuf\u00fcgen
+COMMON_UP=Nach oben
+COMMON_DOWN=Nach unten
+COMMON_NEW_VALUE=Neuer Wert
+COMMON_APPEND=Anf\u00fcgen
+COMMON_LOCALE=Locale
+COMMON_DISPLAY_NAME=Anzeigename
+
+DASHBOARD_PERSONAL_EDITOR=Pers\u00f6nlicher Dashboard-Editor
+DASHBOARD_CREATE_NEW_PAGE=Neue Seite erstellen
+DASHBOARD_CREATE_PAGE=Seitenname
+DASHBOARD_RENAME_THIS_PAGE=Diese Seite umbenennen
+DASHBOARD_NEW_PAGE_NAME=Neuer Seitenname
+DASHBOARD_USE_PAGE_MANAGE_CONTENT_APPEARANCE=Verwenden Sie diese Seite, um den Inhalt und das Erscheinungsbild Ihrer Dashboard-Seiten zu verwalten
+DASHBOARD_YOU_CAN_CONTROL_TITLES_COLUMN_THEMES=Sie k\u00f6nnen Einstellungen an den Seitentiteln, Spaltenlayouts und Seitendesigns vornehmen sowie Portlets hinzuf\u00fcgen, entfernen und neu anordnen
+DASHBOARD_CURRENTLY_EDITING_PAGE=Derzeit bearbeitete Seite
+DASHBOARD_THEME_AND_LAYOUT=Design und Layout
+DASHBOARD_APPLY_THEME=Wenden Sie ein Design auf Ihr Dashboard an oder w\u00e4hlen Sie die Anzahl der Spalten f\u00fcr das Layout
+DASHBOARD_CHOOSE_LAYOUT=W\u00e4hlen Sie ein Layout
+DASHBOARD_CHOOSE_THEME=W\u00e4hlen Sie ein Design
+DASHBOARD_CANNOT_UNDO_ACTION=Sie k\u00f6nnen diese Aktion nicht r\u00fcckg\u00e4ngig machen
+DASHBOARD_DELETE_THIS_PAGE=Diese Seite l\u00f6schen
+DASHBOARD_SAVE=Speichern
+DASHBOARD_SELECT=Ausw\u00e4hlen
+
+WIZARD_ADDING_NEW_PORTLET=Neues Portlet hinzuf\u00fcgen
+WIZARD_STEP=Schritt
+WIZARD_SELECT_PORTLET=Portlet ausw\u00e4hlen
+WIZARD_SELECT_PORTAL=Portal ausw\u00e4hlen
+WIZARD_SELECT_PAGE=Seite ausw\u00e4hlen
+WIZARD_SELECT_REGION=Bereich ausw\u00e4hlen
+WIZARD_CONFIRM=Best\u00e4tigen
+WIZARD_CONTENT=Inhalt
+WIZARD_SWITCH_ADVANCED_MODE=Zum erweiterten Modus wechseln
+WIZARD_PORTLET=Portlet
+WIZARD_PORTAL=Portal
+WIZARD_PAGE=Seite
+WIZARD_REGION=Bereich
+WIZARD_PREVIOUS=Zur\u00fcck
+WIZARD_NEXT=Weiter
+WIZARD_SUB_PAGES=Unterseiten
+WIZARD_PORTLET_PROVIDER=Portlet-Anbieter
+WIZARD_CHANGE=\u00c4ndern
Modified: branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/WEB-INF/faces-config.xml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/WEB-INF/faces-config.xml 2008-06-11 16:39:05 UTC (rev 10991)
+++ branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/WEB-INF/faces-config.xml 2008-06-11 18:53:55 UTC (rev 10992)
@@ -36,6 +36,7 @@
<locale-config>
<default-locale>en</default-locale>
<supported-locale>it</supported-locale>
+ <supported-locale>de</supported-locale>
</locale-config>
</application>
Modified: branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/WEB-INF/portlet.xml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/WEB-INF/portlet.xml 2008-06-11 16:39:05 UTC (rev 10991)
+++ branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/WEB-INF/portlet.xml 2008-06-11 18:53:55 UTC (rev 10992)
@@ -34,6 +34,7 @@
<portlet-class>javax.portlet.faces.GenericFacesPortlet</portlet-class>
<supported-locale>en</supported-locale>
<supported-locale>it</supported-locale>
+ <supported-locale>de</supported-locale>
<init-param>
<name>javax.portlet.faces.defaultViewId.view</name>
<value>/jsf/objects.xhtml</value>
Added: branches/JBoss_Portal_Branch_2_7/core-cms/src/resources/portal-cms-war/WEB-INF/classes/Resource_de.properties
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-cms/src/resources/portal-cms-war/WEB-INF/classes/Resource_de.properties (rev 0)
+++ branches/JBoss_Portal_Branch_2_7/core-cms/src/resources/portal-cms-war/WEB-INF/classes/Resource_de.properties 2008-06-11 18:53:55 UTC (rev 10992)
@@ -0,0 +1,124 @@
+################################################################################
+# 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. #
+################################################################################
+
+## CMS ADMIN PORTLET
+TITLE_HEAD=CMS-Administrator
+TITLE_BROWSE=Verzeichnis-Browser
+TITLE_FILEBROWSE=Datei-Browser
+TITLE_DELETECONFIRM=L\u00f6schen best\u00e4tigen
+TITLE_CREATECOLLCONFIRM=Verzeichniserstellung best\u00e4tigen
+TITLE_COPYCONFIRM=Kopieren von Ressource best\u00e4tigen
+TITLE_MOVECONFIRM=Verschieben von Ressource best\u00e4tigen
+TITLE_VIEWFILE=Dateieigenschaften anzeigen
+TITLE_EDIT=Datei bearbeiten
+TITLE_CREATE=Datei erstellen
+TITLE_UPLOAD=Datei hochladen
+TITLE_SECURECONFIRM=Knoten sichern
+
+CMS_SEARCH=Suche
+CMS_SEARCHNORESULT=Keine Ergebnisse
+CMS_MENU=Aktions-Men\u00fc
+CMS_ACTION=Aktion
+CMS_NAME=Name
+CMS_TYPE=Typ
+CMS_CREATED=Erstellt am
+CMS_MODIFIED=Bearbeitet am
+CMS_DESCRIPTION=Beschreibung
+CMS_VIEW=Anzeigen
+CMS_COPY=Kopieren
+CMS_MOVE=Verschieben
+CMS_DELETE=L\u00f6schen
+CMS_FOLDER=Verzeichnis
+CMS_FILE=Datei
+CMS_CREATE=Erstellen
+CMS_CANCEL=Abbrechen
+CMS_EDIT=Bearbeiten
+CMS_UPLOAD=Hochladen
+CMS_MODIFY=Anpassen
+CMS_CREATEFOLDER= Verzeichnis erstellen
+CMS_CREATEFILE=Datei erstellen
+CMS_UPLOADARCHIVE=Archiv hochladen
+CMS_UPLOADARCHIVE_ASYNC=Asynchron vorgehen
+CMS_BACKTOBROWSER=Zur\u00fcck zum Verzeichnis-Browser
+CMS_TRANSFER=Importieren/Exportieren
+CMS_EXPORTARCHIVE=Verzeichnis exportieren
+CMS_SECURE=Sichern
+CMS_PREVIEW=Vorschau
+
+CMS_CREATEFILEINDIR=Datei in Verzeichnis erstellen
+CMS_FILENAME=Dateiname
+CMS_TITLE=Titel
+CMS_LANGUAGE=Sprache
+
+CMS_DELETEPATH=L\u00f6schen best\u00e4tigen von
+CMS_DELETEWARN1=WARNUNG! Sie k\u00f6nnen diese \u00c4nderung nicht r\u00fcckg\u00e4ngig machen\!
+CMS_DELETEWARN2=Sind Sie sicher, dass Sie diese Ressource l\u00f6schen m\u00f6chten\?
+
+CMS_DESTINATION=Ziel
+CMS_SOURCE=Quelle
+
+CMS_EDITING=Datei wird bearbeitet
+CMS_LIVE=\"Live\" stellen
+CMS_VERSION=Version
+CMS_WYSIWYG=WYSIWYG-Editor
+
+CMS_LIVEVERSION=Live-Version
+CMS_SIZE=Gr\u00f6\u00dfe
+
+CMS_CONTENT_DIR=Inhaltsverzeichnis
+CMS_CONTENT_DIR_USE=Verwenden Sie den Verzeichnisbaum, um durch die Portal-Verzeichnisstruktur zu navigieren.
+CMS_MAIN_USE=Benutzen Sie das CMS-Administrationsportlet, um den Inhalt Ihres Portals zu verwalten.
+CMS_MANAGE=Inhalte verwalten
+
+CMS_CREATED_BY=Erstellt von
+CMS_APPROVE=Freigeben
+CMS_DENY=Ablehnen
+CMS_APPROVAL=Ausstehende Elemente
+CMS_PATH=Ort
+
+CMS_EMPTY_FOLDER=Dieses Verzeichnis ist leer.
+
+CMS_ERROR_UPLOADARCHIVE_ASYNC=Beim Verarbeiten Ihres Archivs ist ein Fehler aufgetreten. Bitte aktivieren Sie die Option 'Asynchron vorgehen' und versuchen Sie es erneut.
+CMS_MSG_UPLOADARCHIVE_ASYNC=Ihr Archiv wurde zur Verarbeitung akzeptiert. Sobald die Verarbeitung abgeschlossen ist, wird die Ressource wird in Ihrem Verzeichnis gelistet werden.
+
+CMS_REQUIRED=Erforderlich
+CMS_LINK_TO_RESOURCES=Verweise auf Ressourcen innerhalb dieses Portals sollten absolut sein. Beispiel: Ein Verweis auf ein Bild mit dem Pfad default/images/back.gif sollte genau wie hier aufgef\u00fchrt eingegeben werden. Stellen Sie dem Ressourcenpfad kein Slash (/) voran. Sie k\u00f6nnen den Verweis \u00fcberpr\u00fcfen, indem Sie auf den Vorschau-Button im Editor klicken.
+
+CMS_ERROR_PROCESSING=Fehler beim Verarbeiten der Export-Anfrage
+CMS_YOUR_EXPORT_0=Ihr Export von
+CMS_YOUR_EXPORT_1=ist bereit zum Herunterladen
+CMS_CLICK_TO_DOWNLOAD=Klicken Sie hier zum Herunterladen
+CMS_ROOT_FOLDER=Stammverzeichnis
+CMS_MESSAGES=Nachrichten
+CMS_HOME=Startseite
+CMS_ERROR=Fehler
+CMS_PENDING_APPROVAL_QUEUE=Zur Publikation freigegebene Artikel
+CMS_CONFIGURE_RESTRICTION=Sicherheitseinstellungen des Knotens konfigurieren
+CMS_SELECT_ACTION=W\u00e4hlen Sie eine Aktion
+CMS_BROWSING=Suche
+CMS_CONTENT_NOT_FOUND=F\u00fcr die ausgew\u00e4hlte Datei konnte kein Inhalt gefunden werden
+CMS_INTRODUCTION=Einf\u00fchrung
+CMS_HELP=Das CMS-Portlet zeigt Inhalte des Dateisystems innerhalb (bzw. im Falle von bin\u00e4rem Inhalt au\u00dferhalb) eines Portlet-Fensters an.
+
+CMS_TO_MODIFY=Um das Verhalten dieses Portlets zu modifizieren,
+CMS_CLICK_HERE=bitte hier klicken
Modified: branches/JBoss_Portal_Branch_2_7/core-cms/src/resources/portal-cms-war/WEB-INF/portlet.xml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-cms/src/resources/portal-cms-war/WEB-INF/portlet.xml 2008-06-11 16:39:05 UTC (rev 10991)
+++ branches/JBoss_Portal_Branch_2_7/core-cms/src/resources/portal-cms-war/WEB-INF/portlet.xml 2008-06-11 18:53:55 UTC (rev 10992)
@@ -43,6 +43,8 @@
<supported-locale>fr</supported-locale>
<supported-locale>es</supported-locale>
<supported-locale>ru</supported-locale>
+ <supported-locale>de</supported-locale>
+ <supported-locale>pt_BR</supported-locale>
<resource-bundle>Resource</resource-bundle>
<portlet-info>
<title>CMS</title>
@@ -69,6 +71,9 @@
<supported-locale>en</supported-locale>
<supported-locale>fr</supported-locale>
<supported-locale>es</supported-locale>
+ <supported-locale>ru</supported-locale>
+ <supported-locale>de</supported-locale>
+ <supported-locale>pt_BR</supported-locale>
<resource-bundle>Resource</resource-bundle>
<portlet-info>
<title>CMS Administration</title>
Added: branches/JBoss_Portal_Branch_2_7/core-samples/src/resources/portal-jsp-samples-war/WEB-INF/classes/Resource_de.properties
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-samples/src/resources/portal-jsp-samples-war/WEB-INF/classes/Resource_de.properties (rev 0)
+++ branches/JBoss_Portal_Branch_2_7/core-samples/src/resources/portal-jsp-samples-war/WEB-INF/classes/Resource_de.properties 2008-06-11 18:53:55 UTC (rev 10992)
@@ -0,0 +1,2 @@
+javax.portlet.title=Guten Tag!
+javax.portlet.keywords=beispiel,test
Modified: branches/JBoss_Portal_Branch_2_7/core-samples/src/resources/portal-jsp-samples-war/WEB-INF/portlet.xml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-samples/src/resources/portal-jsp-samples-war/WEB-INF/portlet.xml 2008-06-11 16:39:05 UTC (rev 10991)
+++ branches/JBoss_Portal_Branch_2_7/core-samples/src/resources/portal-jsp-samples-war/WEB-INF/portlet.xml 2008-06-11 18:53:55 UTC (rev 10992)
@@ -36,6 +36,9 @@
<mime-type>text/html</mime-type>
<portlet-mode>VIEW</portlet-mode>
</supports>
+ <supported-locale>en</supported-locale>
+ <supported-locale>fr</supported-locale>
+ <supported-locale>de</supported-locale>
<resource-bundle>Resource</resource-bundle>
</portlet>
</portlet-app>
Added: branches/JBoss_Portal_Branch_2_7/core-samples/src/resources/portal-users-samples-war/WEB-INF/classes/Resource_de.properties
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-samples/src/resources/portal-users-samples-war/WEB-INF/classes/Resource_de.properties (rev 0)
+++ branches/JBoss_Portal_Branch_2_7/core-samples/src/resources/portal-users-samples-war/WEB-INF/classes/Resource_de.properties 2008-06-11 18:53:55 UTC (rev 10992)
@@ -0,0 +1,37 @@
+################################################################################
+# 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. #
+################################################################################
+
+NO_USERS_ONLINE=Keine Benutzer online
+ONE_USER_ONLINE_0=Es ist <b>
+ONE_USER_ONLINE_1=</b> Benutzer online
+ONE_USER_LOGGED_1=</b> Benutzer angemeldet
+ONE_USER_IS_0=<b>
+ONE_USER_IS_1=</b>
+USERS_ONLINE_0=Es sind <b>
+USERS_ONLINE_1=</b> Benutzer online
+USERS_LOGGED_1=</b> Benutzer angemeldet
+USERS_ARE_0=<b>
+USERS_ARE_1=</b>
+USERS_WHICH_0=von denen <b>
+USERS_WHICH_1=</b> angemeldet sind:
+USERS_WHICH_2=</b> angemeldet ist:
Modified: branches/JBoss_Portal_Branch_2_7/core-samples/src/resources/portal-users-samples-war/WEB-INF/portlet.xml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-samples/src/resources/portal-users-samples-war/WEB-INF/portlet.xml 2008-06-11 16:39:05 UTC (rev 10991)
+++ branches/JBoss_Portal_Branch_2_7/core-samples/src/resources/portal-users-samples-war/WEB-INF/portlet.xml 2008-06-11 18:53:55 UTC (rev 10992)
@@ -52,6 +52,7 @@
<supported-locale>en</supported-locale>
<supported-locale>it</supported-locale>
<supported-locale>fr</supported-locale>
+ <supported-locale>de</supported-locale>
<supported-locale>ru</supported-locale>
<resource-bundle>Resource</resource-bundle>
<portlet-info>
17 years, 11 months
JBoss Portal SVN: r10991 - branches/JBoss_Portal_Branch_2_7/core-admin/src/main/org/jboss/portal/core/admin/ui.
by portal-commits@lists.jboss.org
Author: thomas.heute(a)jboss.com
Date: 2008-06-11 12:39:05 -0400 (Wed, 11 Jun 2008)
New Revision: 10991
Modified:
branches/JBoss_Portal_Branch_2_7/core-admin/src/main/org/jboss/portal/core/admin/ui/PropertiesBean.java
Log:
Use Request locale
Modified: branches/JBoss_Portal_Branch_2_7/core-admin/src/main/org/jboss/portal/core/admin/ui/PropertiesBean.java
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-admin/src/main/org/jboss/portal/core/admin/ui/PropertiesBean.java 2008-06-11 16:38:51 UTC (rev 10990)
+++ branches/JBoss_Portal_Branch_2_7/core-admin/src/main/org/jboss/portal/core/admin/ui/PropertiesBean.java 2008-06-11 16:39:05 UTC (rev 10991)
@@ -25,12 +25,14 @@
import org.jboss.portal.core.admin.ui.actions.PropertyAction;
import org.jboss.portal.core.model.portal.PortalObject;
+import javax.faces.context.FacesContext;
import javax.faces.model.DataModel;
import javax.faces.model.ListDataModel;
import javax.faces.model.SelectItem;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
+import java.util.Locale;
import java.util.SortedMap;
import java.util.TreeMap;
@@ -145,7 +147,8 @@
// Add only property user can change state
if (propertyInfo.getScope() == PropertyInfo.PUBLIC_SCOPE && propertyInfo.getAccessMode() == PropertyInfo.READ_WRITE_ACCESS_MODE && !PropertiesInfo.isControlProperty(propertyName))
{
- items.add(new SelectItem(propertyInfo.getName(), propertyInfo.getDisplayName().getDefaultString(), propertyInfo.getDescription().getDefaultString()));
+ Locale locale = FacesContext.getCurrentInstance().getExternalContext(). getRequestLocale();
+ items.add(new SelectItem(propertyInfo.getName(), propertyInfo.getDisplayName().getString(locale, true), propertyInfo.getDescription().getDefaultString()));
}
}
}
17 years, 11 months
JBoss Portal SVN: r10990 - branches/JBoss_Portal_Branch_2_6/core-admin/src/main/org/jboss/portal/core/admin/ui.
by portal-commits@lists.jboss.org
Author: thomas.heute(a)jboss.com
Date: 2008-06-11 12:38:51 -0400 (Wed, 11 Jun 2008)
New Revision: 10990
Modified:
branches/JBoss_Portal_Branch_2_6/core-admin/src/main/org/jboss/portal/core/admin/ui/PropertiesBean.java
Log:
Use request locale
Modified: branches/JBoss_Portal_Branch_2_6/core-admin/src/main/org/jboss/portal/core/admin/ui/PropertiesBean.java
===================================================================
--- branches/JBoss_Portal_Branch_2_6/core-admin/src/main/org/jboss/portal/core/admin/ui/PropertiesBean.java 2008-06-11 16:25:43 UTC (rev 10989)
+++ branches/JBoss_Portal_Branch_2_6/core-admin/src/main/org/jboss/portal/core/admin/ui/PropertiesBean.java 2008-06-11 16:38:51 UTC (rev 10990)
@@ -25,6 +25,7 @@
import org.jboss.portal.core.admin.ui.actions.PropertyAction;
import org.jboss.portal.core.model.portal.PortalObject;
+import javax.faces.context.FacesContext;
import javax.faces.model.DataModel;
import javax.faces.model.ListDataModel;
import javax.faces.model.SelectItem;
@@ -33,6 +34,7 @@
import java.util.List;
import java.util.SortedMap;
import java.util.TreeMap;
+import java.util.Locale;
/**
* @author <a href="mailto:julien@jboss.org">Julien Viet</a>
@@ -145,7 +147,8 @@
// Add only property user can change state
if (propertyInfo.getScope() == PropertyInfo.PUBLIC_SCOPE && propertyInfo.getAccessMode() == PropertyInfo.READ_WRITE_ACCESS_MODE && !PropertiesInfo.isControlProperty(propertyName))
{
- items.add(new SelectItem(propertyInfo.getName(), propertyInfo.getDisplayName().getDefaultString(), propertyInfo.getDescription().getDefaultString()));
+ Locale locale = FacesContext.getCurrentInstance().getExternalContext(). getRequestLocale();
+ items.add(new SelectItem(propertyInfo.getName(), propertyInfo.getDisplayName().getString(locale, true), propertyInfo.getDescription().getDefaultString()));
}
}
}
17 years, 11 months
JBoss Portal SVN: r10989 - branches/JBoss_Portal_Branch_2_7/core-admin/src/main/org/jboss/portal/core/admin/ui.
by portal-commits@lists.jboss.org
Author: thomas.heute(a)jboss.com
Date: 2008-06-11 12:25:43 -0400 (Wed, 11 Jun 2008)
New Revision: 10989
Modified:
branches/JBoss_Portal_Branch_2_7/core-admin/src/main/org/jboss/portal/core/admin/ui/PortalObjectManagerBean.java
Log:
- Fix, take the request locale, not the system locale
Modified: branches/JBoss_Portal_Branch_2_7/core-admin/src/main/org/jboss/portal/core/admin/ui/PortalObjectManagerBean.java
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-admin/src/main/org/jboss/portal/core/admin/ui/PortalObjectManagerBean.java 2008-06-11 16:22:50 UTC (rev 10988)
+++ branches/JBoss_Portal_Branch_2_7/core-admin/src/main/org/jboss/portal/core/admin/ui/PortalObjectManagerBean.java 2008-06-11 16:25:43 UTC (rev 10989)
@@ -874,7 +874,7 @@
{
SelectItem[] result = new SelectItem[ids.size() + 1];
int i = 1;
- ResourceBundle rb = ResourceBundle.getBundle("Resource");
+ ResourceBundle rb = ResourceBundle.getBundle("Resource", FacesContext.getCurrentInstance().getExternalContext().getRequestLocale());
result[0] = new SelectItem("", rb.getString("NO_BOUND_LISTENER"));
for (Iterator idsIt = ids.iterator(); idsIt.hasNext();)
{
17 years, 11 months
JBoss Portal SVN: r10988 - in branches/JBoss_Portal_Branch_2_6/core-admin: src/main/org/jboss/portal/core/admin/ui and 2 other directories.
by portal-commits@lists.jboss.org
Author: thomas.heute(a)jboss.com
Date: 2008-06-11 12:22:50 -0400 (Wed, 11 Jun 2008)
New Revision: 10988
Added:
branches/JBoss_Portal_Branch_2_6/core-admin/src/main/org/jboss/portal/core/admin/ui/PropertiesInfoBuilder.java
Modified:
branches/JBoss_Portal_Branch_2_6/core-admin/.classpath
branches/JBoss_Portal_Branch_2_6/core-admin/src/main/org/jboss/portal/core/admin/ui/ControlPropertiesBean.java
branches/JBoss_Portal_Branch_2_6/core-admin/src/main/org/jboss/portal/core/admin/ui/PortalObjectManagerBean.java
branches/JBoss_Portal_Branch_2_6/core-admin/src/main/org/jboss/portal/core/admin/ui/PropertiesInfo.java
branches/JBoss_Portal_Branch_2_6/core-admin/src/main/org/jboss/portal/core/admin/ui/PropertyBean.java
branches/JBoss_Portal_Branch_2_6/core-admin/src/resources/portal-admin-war/WEB-INF/classes/Resource.properties
branches/JBoss_Portal_Branch_2_6/core-admin/src/resources/portal-admin-war/WEB-INF/classes/Resource_it.properties
branches/JBoss_Portal_Branch_2_6/core-admin/src/resources/portal-admin-war/WEB-INF/faces-config.xml
branches/JBoss_Portal_Branch_2_6/core-admin/src/resources/portal-admin-war/WEB-INF/portlet.xml
Log:
i18n
Modified: branches/JBoss_Portal_Branch_2_6/core-admin/.classpath
===================================================================
--- branches/JBoss_Portal_Branch_2_6/core-admin/.classpath 2008-06-11 15:09:56 UTC (rev 10987)
+++ branches/JBoss_Portal_Branch_2_6/core-admin/.classpath 2008-06-11 16:22:50 UTC (rev 10988)
@@ -17,10 +17,11 @@
<classpathentry kind="lib" path="/thirdparty/sun-servlet/lib/servlet-api.jar"/>
<classpathentry kind="lib" path="/thirdparty/sun-servlet/lib/jsp-api.jar"/>
<classpathentry kind="lib" path="/thirdparty/apache-log4j/lib/log4j.jar"/>
- <classpathentry kind="lib" path="/thirdparty/jboss-portal/modules/common/lib/portal-common-lib.jar"/>
+ <classpathentry kind="lib" path="/thirdparty/jboss-portal/modules/common/lib/portal-common-lib.jar" sourcepath="/module-common"/>
<classpathentry kind="lib" path="/thirdparty/jboss-portal/modules/common/lib/portal-common-portal-lib.jar"/>
<classpathentry kind="lib" path="/thirdparty/jboss-portal/modules/identity/lib/portal-identity-lib.jar"/>
<classpathentry kind="lib" path="/thirdparty/jboss-portal/modules/portlet/lib/portal-portlet-federation-lib.jar"/>
<classpathentry kind="lib" path="/thirdparty/jboss-portal/modules/portlet/lib/portal-portlet-lib.jar"/>
+ <classpathentry kind="lib" path="/thirdparty/portlet/lib/portlet-api.jar"/>
<classpathentry kind="output" path="output/classes"/>
</classpath>
Modified: branches/JBoss_Portal_Branch_2_6/core-admin/src/main/org/jboss/portal/core/admin/ui/ControlPropertiesBean.java
===================================================================
--- branches/JBoss_Portal_Branch_2_6/core-admin/src/main/org/jboss/portal/core/admin/ui/ControlPropertiesBean.java 2008-06-11 15:09:56 UTC (rev 10987)
+++ branches/JBoss_Portal_Branch_2_6/core-admin/src/main/org/jboss/portal/core/admin/ui/ControlPropertiesBean.java 2008-06-11 16:22:50 UTC (rev 10988)
@@ -22,12 +22,23 @@
package org.jboss.portal.core.admin.ui;
+import org.jboss.portal.common.i18n.LocalizedString;
+import org.jboss.portal.common.i18n.ResourceBundleManager;
+import org.jboss.portal.common.i18n.SimpleResourceBundleFactory;
import org.jboss.portal.core.model.portal.PortalObject;
import org.jboss.portal.core.model.portal.control.ControlConstants;
+import javax.faces.context.FacesContext;
import javax.faces.model.SelectItem;
+import javax.portlet.PortletConfig;
+import javax.portlet.PortletRequest;
+
import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.HashMap;
import java.util.List;
+import java.util.Locale;
+import java.util.Map;
/**
* @author <a href="mailto:boleslaw dot dawidowicz at redhat anotherdot com">Boleslaw Dawidowicz</a>
@@ -37,44 +48,65 @@
{
/** . */
- private List portalSelectItems;
+ private Map<Locale, List<SelectItem>> portalSelectItems;
/** . */
- private List pageSelectItems;
+ private Map<Locale, List<SelectItem>> pageSelectItems;
/** . */
+ private static final String BUNDLE_BASE_NAME = "Resource";
+
+ /** . */
final PortalObjectManagerBean pomgr;
- private static final String DISPLAY_THE_DEFAULT_ERROR_MESSAGE = "Display the default error message";
- private static final String REDIRECT_TO_THE_SPECIFIED_RESOURCE = "Redirect to the specified resource";
- private static final String REMOVE_THE_RESOURCE_FROM_PAGE = "Remove the resource from page";
+ private static LocalizedString DISPLAY_THE_DEFAULT_ERROR_MESSAGE = null;
+ private static LocalizedString REDIRECT_TO_THE_SPECIFIED_RESOURCE = null;
+ private static LocalizedString REMOVE_THE_RESOURCE_FROM_PAGE = null;
public ControlPropertiesBean(PortalObjectManagerBean pomgr)
{
this.pomgr = pomgr;
+
+ ResourceBundleManager rbm = new ResourceBundleManager(null, new SimpleResourceBundleFactory(BUNDLE_BASE_NAME, PropertiesInfoBuilder.class.getClassLoader()));
+ // Load all supported locales
+ Iterator<Locale> locales = FacesContext.getCurrentInstance().getApplication().getSupportedLocales();
+ while (locales.hasNext())
+ {
+ Locale locale = locales.next();
+ rbm.getResourceBundle(locale);
+ }
+ DISPLAY_THE_DEFAULT_ERROR_MESSAGE = rbm.getLocalizedValue("DISPLAY_THE_DEFAULT_ERROR_MESSAGE", "Display the default error message");
+ REDIRECT_TO_THE_SPECIFIED_RESOURCE = rbm.getLocalizedValue("REDIRECT_TO_THE_SPECIFIED_RESOURCE", "Redirect to the specified resource");
+ REMOVE_THE_RESOURCE_FROM_PAGE = rbm.getLocalizedValue("REMOVE_THE_RESOURCE_FROM_PAGE", "Remove the resource from page");
+ portalSelectItems = new HashMap<Locale, List<SelectItem>>();
+ pageSelectItems = new HashMap<Locale, List<SelectItem>>();
}
- public List getPortalSelectItems()
+ public List<SelectItem> getPortalSelectItems()
{
- if (portalSelectItems == null)
+ Locale locale = FacesContext.getCurrentInstance().getExternalContext().getRequestLocale();
+ if (portalSelectItems.get(locale) == null)
{
- portalSelectItems = new ArrayList();
- portalSelectItems.add(new SelectItem(ControlConstants.IGNORE_CONTROL_VALUE, DISPLAY_THE_DEFAULT_ERROR_MESSAGE));
- portalSelectItems.add(new SelectItem(ControlConstants.JSP_CONTROL_VALUE, REDIRECT_TO_THE_SPECIFIED_RESOURCE));
+ List<SelectItem> list = new ArrayList<SelectItem>();
+ list.add(new SelectItem(ControlConstants.IGNORE_CONTROL_VALUE, DISPLAY_THE_DEFAULT_ERROR_MESSAGE.getString(locale, true)));
+ list.add(new SelectItem(ControlConstants.JSP_CONTROL_VALUE, REDIRECT_TO_THE_SPECIFIED_RESOURCE.getString(locale, true)));
+ portalSelectItems.put(locale, list);
}
- return portalSelectItems;
+ return portalSelectItems.get(locale);
}
- public List getPageSelectItems()
+ public List<SelectItem> getPageSelectItems()
{
- if (pageSelectItems == null)
+ Locale locale = FacesContext.getCurrentInstance().getExternalContext().getRequestLocale();
+ if (pageSelectItems.get(locale) == null)
{
- pageSelectItems = new ArrayList();
- pageSelectItems.add(new SelectItem(ControlConstants.IGNORE_CONTROL_VALUE, DISPLAY_THE_DEFAULT_ERROR_MESSAGE));
- pageSelectItems.add(new SelectItem(ControlConstants.HIDE_CONTROL_VALUE, REMOVE_THE_RESOURCE_FROM_PAGE));
- pageSelectItems.add(new SelectItem(ControlConstants.JSP_CONTROL_VALUE, REDIRECT_TO_THE_SPECIFIED_RESOURCE));
+ List<SelectItem> list = new ArrayList<SelectItem>();
+ list.add(new SelectItem(ControlConstants.IGNORE_CONTROL_VALUE, DISPLAY_THE_DEFAULT_ERROR_MESSAGE.getString(locale, true)));
+ list.add(new SelectItem(ControlConstants.HIDE_CONTROL_VALUE, REMOVE_THE_RESOURCE_FROM_PAGE.getString(locale, true)));
+ list.add(new SelectItem(ControlConstants.JSP_CONTROL_VALUE, REDIRECT_TO_THE_SPECIFIED_RESOURCE.getString(locale, true)));
+ pageSelectItems.put(locale, list);
}
- return pageSelectItems;
+ return pageSelectItems.get(locale);
}
private ControlPropertyBean grabProperty(String name)
Modified: branches/JBoss_Portal_Branch_2_6/core-admin/src/main/org/jboss/portal/core/admin/ui/PortalObjectManagerBean.java
===================================================================
--- branches/JBoss_Portal_Branch_2_6/core-admin/src/main/org/jboss/portal/core/admin/ui/PortalObjectManagerBean.java 2008-06-11 15:09:56 UTC (rev 10987)
+++ branches/JBoss_Portal_Branch_2_6/core-admin/src/main/org/jboss/portal/core/admin/ui/PortalObjectManagerBean.java 2008-06-11 16:22:50 UTC (rev 10988)
@@ -22,6 +22,23 @@
******************************************************************************/
package org.jboss.portal.core.admin.ui;
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.LinkedList;
+import java.util.List;
+import java.util.Map;
+import java.util.ResourceBundle;
+import java.util.Set;
+
+import javax.faces.application.FacesMessage;
+import javax.faces.context.FacesContext;
+import javax.faces.event.ActionEvent;
+import javax.faces.model.SelectItem;
+
import org.jboss.portal.core.admin.ui.actions.AddPageAction;
import org.jboss.portal.core.admin.ui.actions.PropertyAction;
import org.jboss.portal.core.admin.ui.common.PageManagerBean;
@@ -50,21 +67,6 @@
import org.jboss.portal.theme.LayoutService;
import org.jboss.portal.theme.ThemeService;
-import javax.faces.application.FacesMessage;
-import javax.faces.context.FacesContext;
-import javax.faces.event.ActionEvent;
-import javax.faces.model.SelectItem;
-import java.io.Serializable;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.LinkedList;
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
-
/** The portal object manager bean. */
public class PortalObjectManagerBean implements Serializable, AddPageAction.Listener
{
@@ -872,7 +874,8 @@
{
SelectItem[] result = new SelectItem[ids.size() + 1];
int i = 1;
- result[0] = new SelectItem("", "no bound listener");
+ ResourceBundle rb = ResourceBundle.getBundle("Resource", FacesContext.getCurrentInstance().getExternalContext().getRequestLocale());
+ result[0] = new SelectItem("", rb.getString("NO_BOUND_LISTENER"));
for (Iterator idsIt = ids.iterator(); idsIt.hasNext();)
{
result[i++] = new SelectItem(idsIt.next());
Modified: branches/JBoss_Portal_Branch_2_6/core-admin/src/main/org/jboss/portal/core/admin/ui/PropertiesInfo.java
===================================================================
--- branches/JBoss_Portal_Branch_2_6/core-admin/src/main/org/jboss/portal/core/admin/ui/PropertiesInfo.java 2008-06-11 15:09:56 UTC (rev 10987)
+++ branches/JBoss_Portal_Branch_2_6/core-admin/src/main/org/jboss/portal/core/admin/ui/PropertiesInfo.java 2008-06-11 16:22:50 UTC (rev 10988)
@@ -44,41 +44,41 @@
//
- public static final PropertyInfo THEME_LAYOUT_ID = new PropertyInfo(ThemeConstants.PORTAL_PROP_LAYOUT, new LocalizedString("Layout id"), new LocalizedString("The layout value formats a page"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
- public static final PropertyInfo THEME_THEME_ID = new PropertyInfo(ThemeConstants.PORTAL_PROP_THEME, new LocalizedString("Theme id"), new LocalizedString("The theme value skins a page"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
- public static final PropertyInfo THEME_RENDER_SET_ID = new PropertyInfo(ThemeConstants.PORTAL_PROP_RENDERSET, new LocalizedString("Renderset id"), new LocalizedString("The render set id"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
- public static final PropertyInfo THEME_RENDER_REGION_ID = new PropertyInfo(ThemeConstants.PORTAL_PROP_REGION, new LocalizedString("Region id"), new LocalizedString("The region that will the window"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
- public static final PropertyInfo THEME_RENDER_REGION_ORDER = new PropertyInfo(ThemeConstants.PORTAL_PROP_ORDER, new LocalizedString("Region order"), new LocalizedString("The vertical or horizontal order of the window within a region"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PUBLIC_SCOPE);
+ public static final PropertyInfo THEME_LAYOUT_ID = PropertiesInfoBuilder.getPropertiesInfo().get(ThemeConstants.PORTAL_PROP_LAYOUT);
+ public static final PropertyInfo THEME_THEME_ID = PropertiesInfoBuilder.getPropertiesInfo().get(ThemeConstants.PORTAL_PROP_THEME);
+ public static final PropertyInfo THEME_RENDER_SET_ID = PropertiesInfoBuilder.getPropertiesInfo().get(ThemeConstants.PORTAL_PROP_RENDERSET);
+ public static final PropertyInfo THEME_RENDER_REGION_ID = PropertiesInfoBuilder.getPropertiesInfo().get(ThemeConstants.PORTAL_PROP_REGION);
+ public static final PropertyInfo THEME_RENDER_REGION_ORDER = PropertiesInfoBuilder.getPropertiesInfo().get(ThemeConstants.PORTAL_PROP_ORDER);
//
- public static final PropertyInfo AJAX_PARTIAL_REFRESH = new PropertyInfo(DynaRenderOptions.PARTIAL_REFRESH_ENABLED, new LocalizedString("Partial refresh"), new LocalizedString("Enable partial refresh for portlets"), "java.lang.Boolean", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PUBLIC_SCOPE);
- public static final PropertyInfo AJAX_DND = new PropertyInfo(DynaRenderOptions.DND_ENABLED, new LocalizedString("Drag and drop"), new LocalizedString("Enable window drag and drop"), "java.lang.Boolean", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PUBLIC_SCOPE);
+ public static final PropertyInfo AJAX_PARTIAL_REFRESH = PropertiesInfoBuilder.getPropertiesInfo().get(DynaRenderOptions.PARTIAL_REFRESH_ENABLED);
+ public static final PropertyInfo AJAX_DND = PropertiesInfoBuilder.getPropertiesInfo().get(DynaRenderOptions.DND_ENABLED);
//
- public static final PropertyInfo WINDOW_CONTENT_TYPE = new PropertyInfo(WindowImpl.PORTAL_PROP_WINDOW_CONTENT_TYPE, new LocalizedString("Content type"), new LocalizedString("The type of content of a window"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
- public static final PropertyInfo DEFAULT_CHILD_NAME = new PropertyInfo(WindowImpl.PORTAL_PROP_DEFAULT_OBJECT_NAME, new LocalizedString("Default child name"), new LocalizedString("The child name used when no specific child name is explicited"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PUBLIC_SCOPE);
- public static final PropertyInfo PAGE_ORDER = new PropertyInfo("order", new LocalizedString("Tab order"), new LocalizedString("The order value to display pages in tabs"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PUBLIC_SCOPE);
- public static final PropertyInfo INITIAL_WINDOW_STATE = new PropertyInfo(WindowImpl.PORTAL_INITIAL_WINDOW_STATE, new LocalizedString("Initial Mode"), new LocalizedString("The inital mode of the window"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PUBLIC_SCOPE);
+ public static final PropertyInfo WINDOW_CONTENT_TYPE = PropertiesInfoBuilder.getPropertiesInfo().get(WindowImpl.PORTAL_PROP_WINDOW_CONTENT_TYPE);
+ public static final PropertyInfo DEFAULT_CHILD_NAME = PropertiesInfoBuilder.getPropertiesInfo().get(WindowImpl.PORTAL_PROP_DEFAULT_OBJECT_NAME);
+ public static final PropertyInfo PAGE_ORDER = PropertiesInfoBuilder.getPropertiesInfo().get("order");
+ public static final PropertyInfo INITIAL_WINDOW_STATE = PropertiesInfoBuilder.getPropertiesInfo().get(WindowImpl.PORTAL_INITIAL_WINDOW_STATE);
//
- public static final PropertyInfo CONTROL_POLICY_PAGE_ACCESS_DENIED = new PropertyInfo(ControlConstants.PAGE_ACCESS_DENIED_CONTROL_KEY, new LocalizedString("When access to the window is denied"), new LocalizedString("When access to the window is denied"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
- public static final PropertyInfo CONTROL_POLICY_PAGE_UNAVAILABLE = new PropertyInfo(ControlConstants.PAGE_UNAVAILABLE_CONTROL_KEY, new LocalizedString("When the window is unavailable"), new LocalizedString("When the window is unavailable"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
- public static final PropertyInfo CONTROL_POLICY_PAGE_ERROR = new PropertyInfo(ControlConstants.PAGE_ERROR_CONTROL_KEY, new LocalizedString("When there is an error on the window"), new LocalizedString("When there is an error on the window"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
- public static final PropertyInfo CONTROL_POLICY_PAGE_INTERNAL_ERROR = new PropertyInfo(ControlConstants.PAGE_INTERNAL_ERROR_CONTROL_KEY, new LocalizedString("When there is an error within the window"), new LocalizedString("When there is an error within the window"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
- public static final PropertyInfo CONTROL_POLICY_PAGE_NOT_FOUND = new PropertyInfo(ControlConstants.PAGE_NOT_FOUND_CONTROL_KEY, new LocalizedString("When the window is not found"), new LocalizedString("When the window is not found"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
- public static final PropertyInfo CONTROL_POLICY_PAGE_RESOURCE_URI = new PropertyInfo(ControlConstants.PAGE_RESOURCE_URI_CONTROL_KEY, new LocalizedString("On error redirect to this resource"), new LocalizedString("On error redirect to this resource"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
+ public static final PropertyInfo CONTROL_POLICY_PAGE_ACCESS_DENIED = PropertiesInfoBuilder.getPropertiesInfo().get(ControlConstants.PAGE_ACCESS_DENIED_CONTROL_KEY);
+ public static final PropertyInfo CONTROL_POLICY_PAGE_UNAVAILABLE = PropertiesInfoBuilder.getPropertiesInfo().get(ControlConstants.PAGE_UNAVAILABLE_CONTROL_KEY);
+ public static final PropertyInfo CONTROL_POLICY_PAGE_ERROR = PropertiesInfoBuilder.getPropertiesInfo().get(ControlConstants.PAGE_ERROR_CONTROL_KEY);
+ public static final PropertyInfo CONTROL_POLICY_PAGE_INTERNAL_ERROR = PropertiesInfoBuilder.getPropertiesInfo().get(ControlConstants.PAGE_INTERNAL_ERROR_CONTROL_KEY);
+ public static final PropertyInfo CONTROL_POLICY_PAGE_NOT_FOUND = PropertiesInfoBuilder.getPropertiesInfo().get(ControlConstants.PAGE_NOT_FOUND_CONTROL_KEY);
+ public static final PropertyInfo CONTROL_POLICY_PAGE_RESOURCE_URI = PropertiesInfoBuilder.getPropertiesInfo().get(ControlConstants.PAGE_RESOURCE_URI_CONTROL_KEY);
//
- public static final PropertyInfo CONTROL_POLICY_PORTAL_ACCESS_DENIED = new PropertyInfo(ControlConstants.PORTAL_ACCESS_DENIED_CONTROL_KEY, new LocalizedString("When access to the page is denied"), new LocalizedString("When access to the page is denied"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
- public static final PropertyInfo CONTROL_POLICY_PORTAL_UNAVAILABLE = new PropertyInfo(ControlConstants.PORTAL_UNAVAILABLE_CONTROL_KEY, new LocalizedString("When the page is unavailable"), new LocalizedString("When the page is unavailable"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
- public static final PropertyInfo CONTROL_POLICY_PORTAL_ERROR = new PropertyInfo(ControlConstants.PORTAL_ERROR_CONTROL_KEY, new LocalizedString("When there is an error on the page"), new LocalizedString("When there is an error on the page"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
- public static final PropertyInfo CONTROL_POLICY_PORTAL_INTERNAL_ERROR = new PropertyInfo(ControlConstants.PORTAL_INTERNAL_ERROR_CONTROL_KEY, new LocalizedString("When there is an error within the page"), new LocalizedString("When there is an error within the page"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
- public static final PropertyInfo CONTROL_POLICY_PORTAL_NOT_FOUND = new PropertyInfo(ControlConstants.PORTAL_NOT_FOUND_CONTROL_KEY, new LocalizedString("When the page is not found"), new LocalizedString("When the page is not found"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
- public static final PropertyInfo CONTROL_POLICY_PORTAL_RESOURCE_URI = new PropertyInfo(ControlConstants.PORTAL_RESOURCE_URI_CONTROL_KEY, new LocalizedString("On error redirect to this resource"), new LocalizedString("On error redirect to this resource"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
+ public static final PropertyInfo CONTROL_POLICY_PORTAL_ACCESS_DENIED = PropertiesInfoBuilder.getPropertiesInfo().get(ControlConstants.PORTAL_ACCESS_DENIED_CONTROL_KEY);
+ public static final PropertyInfo CONTROL_POLICY_PORTAL_UNAVAILABLE = PropertiesInfoBuilder.getPropertiesInfo().get(ControlConstants.PORTAL_UNAVAILABLE_CONTROL_KEY);
+ public static final PropertyInfo CONTROL_POLICY_PORTAL_ERROR = PropertiesInfoBuilder.getPropertiesInfo().get(ControlConstants.PORTAL_ERROR_CONTROL_KEY);
+ public static final PropertyInfo CONTROL_POLICY_PORTAL_INTERNAL_ERROR = PropertiesInfoBuilder.getPropertiesInfo().get(ControlConstants.PORTAL_INTERNAL_ERROR_CONTROL_KEY);
+ public static final PropertyInfo CONTROL_POLICY_PORTAL_NOT_FOUND = PropertiesInfoBuilder.getPropertiesInfo().get(ControlConstants.PORTAL_NOT_FOUND_CONTROL_KEY);
+ public static final PropertyInfo CONTROL_POLICY_PORTAL_RESOURCE_URI = PropertiesInfoBuilder.getPropertiesInfo().get(ControlConstants.PORTAL_RESOURCE_URI_CONTROL_KEY);
/** . */
Copied: branches/JBoss_Portal_Branch_2_6/core-admin/src/main/org/jboss/portal/core/admin/ui/PropertiesInfoBuilder.java (from rev 10901, branches/JBoss_Portal_Branch_2_7/core-admin/src/main/org/jboss/portal/core/admin/ui/PropertiesInfoBuilder.java)
===================================================================
--- branches/JBoss_Portal_Branch_2_6/core-admin/src/main/org/jboss/portal/core/admin/ui/PropertiesInfoBuilder.java (rev 0)
+++ branches/JBoss_Portal_Branch_2_6/core-admin/src/main/org/jboss/portal/core/admin/ui/PropertiesInfoBuilder.java 2008-06-11 16:22:50 UTC (rev 10988)
@@ -0,0 +1,172 @@
+/******************************************************************************
+ * 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. *
+ ******************************************************************************/
+package org.jboss.portal.core.admin.ui;
+
+import java.util.Iterator;
+import java.util.HashMap;
+import java.util.Locale;
+import java.util.Map;
+
+import javax.faces.context.FacesContext;
+import javax.portlet.PortletConfig;
+import javax.portlet.PortletRequest;
+
+import org.jboss.portal.common.i18n.LocalizedString;
+import org.jboss.portal.common.i18n.ResourceBundleManager;
+import org.jboss.portal.common.i18n.SimpleResourceBundleFactory;
+import org.jboss.portal.core.impl.model.portal.WindowImpl;
+import org.jboss.portal.core.model.portal.control.ControlConstants;
+import org.jboss.portal.theme.ThemeConstants;
+import org.jboss.portal.theme.impl.render.dynamic.DynaRenderOptions;
+
+/**
+ * @author <a href="mailto:theute@jboss.org">Thomas Heute</a>
+ * @version $Revision$
+ */
+public class PropertiesInfoBuilder
+{
+ private static Map<String, PropertyInfo> map;
+
+ private static final String BUNDLE_BASE_NAME = "Resource";
+
+ public static Map<String, PropertyInfo> getPropertiesInfo()
+ {
+ if (map == null)
+ {
+ map = new HashMap<String, PropertyInfo>();
+
+ ResourceBundleManager rbm = new ResourceBundleManager(null, new SimpleResourceBundleFactory(BUNDLE_BASE_NAME, PropertiesInfoBuilder.class.getClassLoader()));
+
+ // Load all supported locales
+ Iterator<Locale> locales = FacesContext.getCurrentInstance().getApplication().getSupportedLocales();
+ while (locales.hasNext())
+ {
+ Locale locale = locales.next();
+ rbm.getResourceBundle(locale);
+ }
+
+ LocalizedString name = rbm.getLocalizedValue("THEME_LAYOUT_ID_NAME", "Layout id");
+ LocalizedString desc = rbm.getLocalizedValue("THEME_LAYOUT_ID_DESCRIPTION", "The layout value formats a page");
+ map.put(ThemeConstants.PORTAL_PROP_LAYOUT, new PropertyInfo(ThemeConstants.PORTAL_PROP_LAYOUT, name, desc, "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE));
+
+ name = rbm.getLocalizedValue("THEME_THEME_ID_NAME", "Theme id");
+ desc = rbm.getLocalizedValue("THEME_THEME_ID_DESCRIPTION", "The theme value skins a page");
+ map.put(ThemeConstants.PORTAL_PROP_THEME, new PropertyInfo(ThemeConstants.PORTAL_PROP_THEME, name, desc, "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE));
+
+ name = rbm.getLocalizedValue("THEME_RENDER_SET_ID_NAME", "Renderset id");
+ desc = rbm.getLocalizedValue("THEME_RENDER_SET_ID_DESCRIPTION", "The render set id");
+ map.put(ThemeConstants.PORTAL_PROP_RENDERSET, new PropertyInfo(ThemeConstants.PORTAL_PROP_RENDERSET, name, desc, "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE));
+
+ name = rbm.getLocalizedValue("THEME_RENDER_REGION_ID_NAME", "Region id");
+ desc = rbm.getLocalizedValue("THEME_RENDER_REGION_ID_DESCRIPTION", "The region that will the window");
+ map.put(ThemeConstants.PORTAL_PROP_REGION, new PropertyInfo(ThemeConstants.PORTAL_PROP_REGION, name, desc, "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE));
+
+ name = rbm.getLocalizedValue("THEME_RENDER_REGION_ORDER_NAME", "Region order");
+ desc = rbm.getLocalizedValue("THEME_RENDER_REGION_ORDER_DESCRIPTION", "The vertical or horizontal order of the window within a region");
+ map.put(ThemeConstants.PORTAL_PROP_ORDER, new PropertyInfo(ThemeConstants.PORTAL_PROP_ORDER, name, desc, "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PUBLIC_SCOPE));
+
+
+ name = rbm.getLocalizedValue("AJAX_PARTIAL_REFRESH_NAME", "Partial refresh");
+ desc = rbm.getLocalizedValue("AJAX_PARTIAL_REFRESH_DESCRIPTION", "Enable partial refresh for portlets");
+ map.put(DynaRenderOptions.PARTIAL_REFRESH_ENABLED, new PropertyInfo(DynaRenderOptions.PARTIAL_REFRESH_ENABLED, name, desc, "java.lang.Boolean", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PUBLIC_SCOPE));
+
+ name = rbm.getLocalizedValue("AJAX_DND_NAME", "Drag and drop");
+ desc = rbm.getLocalizedValue("AJAX_DND_DESCRIPTION", "Enable window drag and drop");
+ map.put(DynaRenderOptions.DND_ENABLED, new PropertyInfo(DynaRenderOptions.DND_ENABLED, name, desc, "java.lang.Boolean", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PUBLIC_SCOPE));
+
+
+ name = rbm.getLocalizedValue("WINDOW_CONTENT_TYPE_NAME", "Content type");
+ desc = rbm.getLocalizedValue("WINDOW_CONTENT_TYPE_DESCRIPTION", "The type of content of a window");
+ map.put(WindowImpl.PORTAL_PROP_WINDOW_CONTENT_TYPE, new PropertyInfo(WindowImpl.PORTAL_PROP_WINDOW_CONTENT_TYPE, name, desc, "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE));
+
+ name = rbm.getLocalizedValue("DEFAULT_CHILD_NAME_NAME", "Default child name");
+ desc = rbm.getLocalizedValue("DEFAULT_CHILD_NAME_DESCRIPTION", "The child name used when no specific child name is explicited");
+ map.put(WindowImpl.PORTAL_PROP_DEFAULT_OBJECT_NAME, new PropertyInfo(WindowImpl.PORTAL_PROP_DEFAULT_OBJECT_NAME, name, desc, "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PUBLIC_SCOPE));
+
+ name = rbm.getLocalizedValue("TAB_ORDER_NAME", "Tab order");
+ desc = rbm.getLocalizedValue("TAB_ORDER_DESCRIPTION", "The order value to display pages in tabs");
+ map.put("order", new PropertyInfo("order", name, desc, "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PUBLIC_SCOPE));
+
+
+ name = rbm.getLocalizedValue("INITIAL_WINDOW_STATE_NAME", "Initial Mode");
+ desc = rbm.getLocalizedValue("INITIAL_WINDOW_STATE_DESCRIPTION", "The inital mode of the window");
+ map.put(WindowImpl.PORTAL_INITIAL_WINDOW_STATE, new PropertyInfo(WindowImpl.PORTAL_INITIAL_WINDOW_STATE, name, desc, "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PUBLIC_SCOPE));
+
+ //
+
+ name = rbm.getLocalizedValue("CONTROL_POLICY_PAGE_ACCESS_DENIED_NAME", "When access to the window is denied");
+ desc = rbm.getLocalizedValue("CONTROL_POLICY_PAGE_ACCESS_DENIED_DESCRIPTION", "When access to the window is denied");
+ map.put(ControlConstants.PAGE_ACCESS_DENIED_CONTROL_KEY, new PropertyInfo(ControlConstants.PAGE_ACCESS_DENIED_CONTROL_KEY, name, desc, "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE));
+
+ name = rbm.getLocalizedValue("CONTROL_POLICY_PAGE_UNAVAILABLE_NAME", "When the window is unavailable");
+ desc = rbm.getLocalizedValue("CONTROL_POLICY_PAGE_UNAVAILABLE_DESCRIPTION", "When the window is unavailable");
+ map.put(ControlConstants.PAGE_UNAVAILABLE_CONTROL_KEY, new PropertyInfo(ControlConstants.PAGE_UNAVAILABLE_CONTROL_KEY, name, desc, "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE));
+
+ name = rbm.getLocalizedValue("CONTROL_POLICY_PAGE_ERROR_NAME", "When there is an error on the window");
+ desc = rbm.getLocalizedValue("CONTROL_POLICY_PAGE_ERROR_DESCRIPTION", "When there is an error on the window");
+ map.put(ControlConstants.PAGE_ERROR_CONTROL_KEY, new PropertyInfo(ControlConstants.PAGE_ERROR_CONTROL_KEY, name, desc, "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE));
+
+ name = rbm.getLocalizedValue("CONTROL_POLICY_PAGE_INTERNAL_ERROR_NAME", "When there is an error within the window");
+ desc = rbm.getLocalizedValue("CONTROL_POLICY_PAGE_INTERNAL_ERROR_DESCRIPTION", "When there is an error within the window");
+ map.put(ControlConstants.PAGE_INTERNAL_ERROR_CONTROL_KEY, new PropertyInfo(ControlConstants.PAGE_INTERNAL_ERROR_CONTROL_KEY, name, desc, "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE));
+
+ name = rbm.getLocalizedValue("CONTROL_POLICY_PAGE_NOT_FOUND_NAME", "When the window is not found");
+ desc = rbm.getLocalizedValue("CONTROL_POLICY_PAGE_NOT_FOUND_DESCRIPTION", "When the window is not found");
+ map.put(ControlConstants.PAGE_NOT_FOUND_CONTROL_KEY, new PropertyInfo(ControlConstants.PAGE_NOT_FOUND_CONTROL_KEY, name, desc, "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE));
+
+ name = rbm.getLocalizedValue("CONTROL_POLICY_PAGE_RESOURCE_URI_NAME", "On error redirect to this resource");
+ desc = rbm.getLocalizedValue("CONTROL_POLICY_PAGE_RESOURCE_URI_DESCRIPTION", "On error redirect to this resource");
+ map.put(ControlConstants.PAGE_RESOURCE_URI_CONTROL_KEY, new PropertyInfo(ControlConstants.PAGE_RESOURCE_URI_CONTROL_KEY, name, desc, "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE));
+
+ //
+
+ name = rbm.getLocalizedValue("CONTROL_POLICY_PORTAL_ACCESS_DENIED_NAME", "When access to the page is denied");
+ desc = rbm.getLocalizedValue("CONTROL_POLICY_PORTAL_ACCESS_DENIED_DESCRIPTION", "When access to the page is denied");
+ map.put(ControlConstants.PORTAL_ACCESS_DENIED_CONTROL_KEY, new PropertyInfo(ControlConstants.PORTAL_ACCESS_DENIED_CONTROL_KEY, name, desc, "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE));
+
+ name = rbm.getLocalizedValue("CONTROL_POLICY_PORTAL_UNAVAILABLE_NAME", "When the page is unavailable");
+ desc = rbm.getLocalizedValue("CONTROL_POLICY_PORTAL_UNAVAILABLE_DESCRIPTION", "When the page is unavailable");
+ map.put(ControlConstants.PORTAL_UNAVAILABLE_CONTROL_KEY, new PropertyInfo(ControlConstants.PORTAL_UNAVAILABLE_CONTROL_KEY, name, desc, "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE));
+
+ name = rbm.getLocalizedValue("CONTROL_POLICY_PORTAL_ERROR_NAME", "When there is an error on the page");
+ desc = rbm.getLocalizedValue("CONTROL_POLICY_PORTAL_ERROR_DESCRIPTION", "When there is an error on the page");
+ map.put(ControlConstants.PORTAL_ERROR_CONTROL_KEY, new PropertyInfo(ControlConstants.PORTAL_ERROR_CONTROL_KEY, name, desc, "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE));
+
+ name = rbm.getLocalizedValue("CONTROL_POLICY_PORTAL_INTERNAL_ERROR_NAME", "When there is an error within the page");
+ desc = rbm.getLocalizedValue("CONTROL_POLICY_PORTAL_INTERNAL_ERROR_DESCRIPTION", "When there is an error within the page");
+ map.put(ControlConstants.PORTAL_INTERNAL_ERROR_CONTROL_KEY, new PropertyInfo(ControlConstants.PORTAL_INTERNAL_ERROR_CONTROL_KEY, name, desc, "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE));
+
+ name = rbm.getLocalizedValue("CONTROL_POLICY_PORTAL_NOT_FOUND_NAME", "When the page is not found");
+ desc = rbm.getLocalizedValue("CONTROL_POLICY_PORTAL_NOT_FOUND_DESCRIPTION", "When the page is not found");
+ map.put(ControlConstants.PORTAL_NOT_FOUND_CONTROL_KEY, new PropertyInfo(ControlConstants.PORTAL_NOT_FOUND_CONTROL_KEY, name, desc, "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE));
+
+ name = rbm.getLocalizedValue("CONTROL_POLICY_PORTAL_RESOURCE_URI_NAME", "On error redirect to this resource");
+ desc = rbm.getLocalizedValue("CONTROL_POLICY_PORTAL_RESOURCE_URI_DESCRIPTION", "On error redirect to this resource");
+ map.put(ControlConstants.PORTAL_RESOURCE_URI_CONTROL_KEY, new PropertyInfo(ControlConstants.PORTAL_RESOURCE_URI_CONTROL_KEY, name, desc, "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE));
+
+
+ }
+ return map;
+ }
+}
+
Modified: branches/JBoss_Portal_Branch_2_6/core-admin/src/main/org/jboss/portal/core/admin/ui/PropertyBean.java
===================================================================
--- branches/JBoss_Portal_Branch_2_6/core-admin/src/main/org/jboss/portal/core/admin/ui/PropertyBean.java 2008-06-11 15:09:56 UTC (rev 10987)
+++ branches/JBoss_Portal_Branch_2_6/core-admin/src/main/org/jboss/portal/core/admin/ui/PropertyBean.java 2008-06-11 16:22:50 UTC (rev 10988)
@@ -22,6 +22,8 @@
******************************************************************************/
package org.jboss.portal.core.admin.ui;
+import javax.faces.context.FacesContext;
+
import org.jboss.portal.core.model.portal.PortalObject;
/**
@@ -74,12 +76,12 @@
public String getDescription()
{
- return info.getDescription().getDefaultString();
+ return info.getDescription().getString(FacesContext.getCurrentInstance().getExternalContext().getRequestLocale(), true);
}
public String getDisplayName()
{
- return info.getDisplayName().getDefaultString();
+ return info.getDisplayName().getString(FacesContext.getCurrentInstance().getExternalContext().getRequestLocale(), true);
}
public boolean isInherited()
Modified: branches/JBoss_Portal_Branch_2_6/core-admin/src/resources/portal-admin-war/WEB-INF/classes/Resource.properties
===================================================================
--- branches/JBoss_Portal_Branch_2_6/core-admin/src/resources/portal-admin-war/WEB-INF/classes/Resource.properties 2008-06-11 15:09:56 UTC (rev 10987)
+++ branches/JBoss_Portal_Branch_2_6/core-admin/src/resources/portal-admin-war/WEB-INF/classes/Resource.properties 2008-06-11 16:22:50 UTC (rev 10988)
@@ -199,4 +199,57 @@
WIZARD_NEXT=Next
WIZARD_SUB_PAGES=Sub-Pages
WIZARD_PORTLET_PROVIDER=Portlet provider
-WIZARD_CHANGE=Change
\ No newline at end of file
+WIZARD_CHANGE=Change
+
+DISPLAY_THE_DEFAULT_ERROR_MESSAGE=Display the default error message
+REDIRECT_TO_THE_SPECIFIED_RESOURCE=Redirect to the specified resource
+REMOVE_THE_RESOURCE_FROM_PAGE=Remove the resource from page
+
+THEME_LAYOUT_ID_NAME=Layout id
+THEME_LAYOUT_ID_DESCRIPTION=The layout value formats a page
+THEME_THEME_ID_NAME=Theme id
+THEME_THEME_ID_DESCRIPTION=The theme value skins a page
+THEME_RENDER_SET_ID_NAME=Renderset id
+THEME_RENDER_SET_ID_DESCRIPTION=The render set id
+THEME_RENDER_REGION_ID_NAME=Region id
+THEME_RENDER_REGION_ID_DESCRIPTION=The region that will the window
+THEME_RENDER_REGION_ORDER_NAME=Region order
+THEME_RENDER_REGION_ORDER_DESCRIPTION=The vertical or horizontal order of the window within a region
+AJAX_PARTIAL_REFRESH_NAME=Partial refresh
+AJAX_PARTIAL_REFRESH_DESCRIPTION=Enable partial refresh for portlets
+AJAX_DND_NAME=Drag and drop
+AJAX_DND_DESCRIPTION=Enable window drag and drop
+WINDOW_CONTENT_TYPE_NAME=Content type
+WINDOW_CONTENT_TYPE_DESCRIPTION=The type of content of a window
+DEFAULT_CHILD_NAME_NAME=Default child name
+DEFAULT_CHILD_NAME_DESCRIPTION=The child name used when no specific child name is explicited
+TAB_ORDER_NAME=Tab order
+TAB_ORDER_DESCRIPTION=The order value to display pages in tabs
+INITIAL_WINDOW_STATE_NAME=Initial Mode
+INITIAL_WINDOW_STATE_DESCRIPTION=The initial mode of the window
+CONTROL_POLICY_PAGE_ACCESS_DENIED_NAME=When access to the window is denied
+CONTROL_POLICY_PAGE_ACCESS_DENIED_DESCRIPTION=When access to the window is denied
+CONTROL_POLICY_PAGE_UNAVAILABLE_NAME=When the window is unavailable
+CONTROL_POLICY_PAGE_UNAVAILABLE_DESCRIPTION=When the window is unavailable
+CONTROL_POLICY_PAGE_ERROR_NAME=When there is an error on the window
+CONTROL_POLICY_PAGE_ERROR_DESCRIPTION=When there is an error on the window
+CONTROL_POLICY_PAGE_INTERNAL_ERROR_NAME=When there is an error within the window
+CONTROL_POLICY_PAGE_INTERNAL_ERROR_DESCRIPTION=When there is an error within the window
+CONTROL_POLICY_PAGE_NOT_FOUND_NAME=When the window is not found
+CONTROL_POLICY_PAGE_NOT_FOUND_DESCRIPTION=When the window is not found
+CONTROL_POLICY_PAGE_RESOURCE_URI_NAME=On error redirect to this resource
+CONTROL_POLICY_PAGE_RESOURCE_URI_DESCRIPTION=On error redirect to this resource
+CONTROL_POLICY_PORTAL_ACCESS_DENIED_NAME=When access to the page is denied
+CONTROL_POLICY_PORTAL_ACCESS_DENIED_DESCRIPTION=When access to the page is denied
+CONTROL_POLICY_PORTAL_UNAVAILABLE_NAME=When the page is unavailable
+CONTROL_POLICY_PORTAL_UNAVAILABLE_DESCRIPTION=When the page is unavailable
+CONTROL_POLICY_PORTAL_ERROR_NAME=When there is an error on the page
+CONTROL_POLICY_PORTAL_ERROR_DESCRIPTION=When there is an error on the page
+CONTROL_POLICY_PORTAL_INTERNAL_ERROR_NAME=When there is an error within the page
+CONTROL_POLICY_PORTAL_INTERNAL_ERROR_DESCRIPTION=When there is an error within the page
+CONTROL_POLICY_PORTAL_NOT_FOUND_NAME=When the page is not found
+CONTROL_POLICY_PORTAL_NOT_FOUND_DESCRIPTION=When the page is not found
+CONTROL_POLICY_PORTAL_RESOURCE_URI_NAME=On error redirect to this resource
+CONTROL_POLICY_PORTAL_RESOURCE_URI_DESCRIPTION=On error redirect to this resource
+
+NO_BOUND_LISTENER=no bound listener
Modified: branches/JBoss_Portal_Branch_2_6/core-admin/src/resources/portal-admin-war/WEB-INF/classes/Resource_it.properties
===================================================================
--- branches/JBoss_Portal_Branch_2_6/core-admin/src/resources/portal-admin-war/WEB-INF/classes/Resource_it.properties 2008-06-11 15:09:56 UTC (rev 10987)
+++ branches/JBoss_Portal_Branch_2_6/core-admin/src/resources/portal-admin-war/WEB-INF/classes/Resource_it.properties 2008-06-11 16:22:50 UTC (rev 10988)
@@ -197,4 +197,58 @@
WIZARD_NEXT=Avanti
WIZARD_SUB_PAGES=Sotto-Pagine
WIZARD_PORTLET_PROVIDER=Fornitore di Portlet
-WIZARD_CHANGE=Cambia
\ No newline at end of file
+<<<<<<< .working
+WIZARD_CHANGE=Cambia
+
+DISPLAY_THE_DEFAULT_ERROR_MESSAGE=Visualizza il messaggio di errore di default
+REDIRECT_TO_THE_SPECIFIED_RESOURCE=Redireziona alla risorsa specificata
+REMOVE_THE_RESOURCE_FROM_PAGE=Rimuovi la risorsa dalla pagina
+
+THEME_LAYOUT_ID_NAME=Id Layout
+THEME_LAYOUT_ID_DESCRIPTION=Il valore del layout formatta la pagina
+THEME_THEME_ID_NAME=Id Tema
+THEME_THEME_ID_DESCRIPTION=Il valore del tema copre la pagina
+THEME_RENDER_SET_ID_NAME=Id Renderset
+THEME_RENDER_SET_ID_DESCRIPTION=L'id del renderset
+THEME_RENDER_REGION_ID_NAME=Id Regione
+THEME_RENDER_REGION_ID_DESCRIPTION=Regione desiderata per la finestra
+THEME_RENDER_REGION_ORDER_NAME=Ordine Regione
+THEME_RENDER_REGION_ORDER_DESCRIPTION=L'ordine verticale o orizzontale della finestra dentro una regione
+AJAX_PARTIAL_REFRESH_NAME=Aggiornamento parziale
+AJAX_PARTIAL_REFRESH_DESCRIPTION=Attiva l'aggiornamento parziale per le portlet
+AJAX_DND_NAME=Copia e incolla
+AJAX_DND_DESCRIPTION=Attiva il copia e incolla per la finestra
+WINDOW_CONTENT_TYPE_NAME=Tipo Contenuto
+WINDOW_CONTENT_TYPE_DESCRIPTION=Il tipo di contenuto di una finestra
+DEFAULT_CHILD_NAME_NAME=Nome di default del figlio
+DEFAULT_CHILD_NAME_DESCRIPTION=Il nome del figlio quando non c'\u00e8 un nome specificato
+PAGE_ORDER_NAME=Ordine Etichetta
+PAGE_ORDER_DESCRIPTION=Il valore dell'ordine per visualizzare le pagine nelle etichette
+INITIAL_WINDOW_STATE_NAME=Modalit\u00e0 iniziale
+INITIAL_WINDOW_STATE_DESCRIPTION=La modalit\u00e8 iniziale della finestra
+CONTROL_POLICY_PAGE_ACCESS_DENIED_NAME=Quando l'accesso alla finestra \u00e8 negato
+CONTROL_POLICY_PAGE_ACCESS_DENIED_DESCRIPTION=Quando l'accesso alla finestra \u00e8 negato
+CONTROL_POLICY_PAGE_UNAVAILABLE_NAME=Quando la finestra non \u00e8 disponibile
+CONTROL_POLICY_PAGE_UNAVAILABLE_DESCRIPTION=Quando la finestra non \u00e8 disponibile
+CONTROL_POLICY_PAGE_ERROR_NAME=Quando c'\u00e8 un errore sulla finestra
+CONTROL_POLICY_PAGE_ERROR_DESCRIPTION=Quando c'\u00e8 un errore sulla finestra
+CONTROL_POLICY_PAGE_INTERNAL_ERROR_NAME=Quando c'\u00e8 un errore nella finestra
+CONTROL_POLICY_PAGE_INTERNAL_ERROR_DESCRIPTION=Quando c'\u00e8 un errore nella finestra
+CONTROL_POLICY_PAGE_NOT_FOUND_NAME=Quando la finestra non viene trovata
+CONTROL_POLICY_PAGE_NOT_FOUND_DESCRIPTION=Quando la finestra non viene trovata
+CONTROL_POLICY_PAGE_RESOURCE_URI_NAME=In caso di errore redireziona sulla risorsa
+CONTROL_POLICY_PAGE_RESOURCE_URI_DESCRIPTION=In caso di errore redireziona sulla risorsa
+CONTROL_POLICY_PORTAL_ACCESS_DENIED_NAME=Quando l'accesso alla pagina \u00e8 negato
+CONTROL_POLICY_PORTAL_ACCESS_DENIED_DESCRIPTION=Quando l'accesso alla pagina \u00e8 negato
+CONTROL_POLICY_PORTAL_UNAVAILABLE_NAME=Quando la pagina non \u00e8 disponibile
+CONTROL_POLICY_PORTAL_UNAVAILABLE_DESCRIPTION=Quando la pagina non \u00e8 disponibile
+CONTROL_POLICY_PORTAL_ERROR_NAME=Quando c'\u00e8 un errore sulla pagina
+CONTROL_POLICY_PORTAL_ERROR_DESCRIPTION=Quando c'\u00e8 un errore sulla pagina
+CONTROL_POLICY_PORTAL_INTERNAL_ERROR_NAME=Quando c'\u00e8 un errore nella pagina
+CONTROL_POLICY_PORTAL_INTERNAL_ERROR_DESCRIPTION=Quando c'\u00e8 un errore nella pagina
+CONTROL_POLICY_PORTAL_NOT_FOUND_NAME=Quando la pagina non viene trovata
+CONTROL_POLICY_PORTAL_NOT_FOUND_DESCRIPTION=Quando la pagina non viene trovata
+CONTROL_POLICY_PORTAL_RESOURCE_URI_NAME=In caso di errore redireziona sulla risorsa
+CONTROL_POLICY_PORTAL_RESOURCE_URI_DESCRIPTION=In caso di errore redireziona sulla risorsa
+
+NO_BOUND_LISTENER=nessun listener
Modified: branches/JBoss_Portal_Branch_2_6/core-admin/src/resources/portal-admin-war/WEB-INF/faces-config.xml
===================================================================
--- branches/JBoss_Portal_Branch_2_6/core-admin/src/resources/portal-admin-war/WEB-INF/faces-config.xml 2008-06-11 15:09:56 UTC (rev 10987)
+++ branches/JBoss_Portal_Branch_2_6/core-admin/src/resources/portal-admin-war/WEB-INF/faces-config.xml 2008-06-11 16:22:50 UTC (rev 10988)
@@ -31,7 +31,11 @@
<message-bundle>Resource</message-bundle>
<property-resolver>org.jboss.portal.core.admin.ui.AdminPropertyResolver</property-resolver>
<view-handler>com.sun.facelets.FaceletPortletViewHandler</view-handler>
- </application>
+ <locale-config>
+ <default-locale>en</default-locale>
+ <supported-locale>it</supported-locale>
+ </locale-config>
+ </application>
<converter>
<converter-for-class>org.jboss.portal.core.model.content.ContentType</converter-for-class>
Modified: branches/JBoss_Portal_Branch_2_6/core-admin/src/resources/portal-admin-war/WEB-INF/portlet.xml
===================================================================
--- branches/JBoss_Portal_Branch_2_6/core-admin/src/resources/portal-admin-war/WEB-INF/portlet.xml 2008-06-11 15:09:56 UTC (rev 10987)
+++ branches/JBoss_Portal_Branch_2_6/core-admin/src/resources/portal-admin-war/WEB-INF/portlet.xml 2008-06-11 16:22:50 UTC (rev 10988)
@@ -32,6 +32,8 @@
<portlet-name>AdminPortlet</portlet-name>
<display-name>Administration Portlet</display-name>
<portlet-class>org.jboss.portal.faces.loader.FacesPortlet</portlet-class>
+ <supported-locale>en</supported-locale>
+ <supported-locale>it</supported-locale>
<init-param>
<name>default-view</name>
<value>/WEB-INF/jsf/objects.xhtml</value>
17 years, 11 months
JBoss Portal SVN: r10987 - modules/identity/trunk/idm/src/main/java/org/jboss/idm/generic.
by portal-commits@lists.jboss.org
Author: bdaw
Date: 2008-06-11 11:09:56 -0400 (Wed, 11 Jun 2008)
New Revision: 10987
Modified:
modules/identity/trunk/idm/src/main/java/org/jboss/idm/generic/GenericRelationshipType.java
Log:
bobo
Modified: modules/identity/trunk/idm/src/main/java/org/jboss/idm/generic/GenericRelationshipType.java
===================================================================
--- modules/identity/trunk/idm/src/main/java/org/jboss/idm/generic/GenericRelationshipType.java 2008-06-11 15:08:22 UTC (rev 10986)
+++ modules/identity/trunk/idm/src/main/java/org/jboss/idm/generic/GenericRelationshipType.java 2008-06-11 15:09:56 UTC (rev 10987)
@@ -30,10 +30,8 @@
*/
public enum GenericRelationshipType implements RelationshipType
{
- NESTED,
- HIERARCHICAL,
- CUSTOM;
-
+ NESTED;
+
public String getName()
{
return this.name();
17 years, 11 months
JBoss Portal SVN: r10986 - in modules/identity/trunk/idm/src/main/java/org/jboss: idm/generic and 2 other directories.
by portal-commits@lists.jboss.org
Author: bdaw
Date: 2008-06-11 11:08:22 -0400 (Wed, 11 Jun 2008)
New Revision: 10986
Added:
modules/identity/trunk/idm/src/main/java/org/jboss/idm/model/
modules/identity/trunk/idm/src/main/java/org/jboss/idm/model/GroupEntity.java
modules/identity/trunk/idm/src/main/java/org/jboss/idm/model/GroupIdentityStore.java
modules/identity/trunk/idm/src/main/java/org/jboss/idm/model/Relationship.java
modules/identity/trunk/idm/src/main/java/org/jboss/idm/model/UserEntity.java
Removed:
modules/identity/trunk/idm/src/main/java/org/jboss/portal/identity/spi/
Modified:
modules/identity/trunk/idm/src/main/java/org/jboss/idm/generic/GenericEntityType.java
Log:
move simple model
Modified: modules/identity/trunk/idm/src/main/java/org/jboss/idm/generic/GenericEntityType.java
===================================================================
--- modules/identity/trunk/idm/src/main/java/org/jboss/idm/generic/GenericEntityType.java 2008-06-11 13:36:54 UTC (rev 10985)
+++ modules/identity/trunk/idm/src/main/java/org/jboss/idm/generic/GenericEntityType.java 2008-06-11 15:08:22 UTC (rev 10986)
@@ -37,7 +37,7 @@
*/
public enum GenericEntityType implements IdentityType
{
- IDENTITY,
+ USER,
ROLE,
@@ -56,7 +56,7 @@
// ROLE
// can nest other users
- roleRelationships.put(GenericEntityType.IDENTITY, nested);
+ roleRelationships.put(GenericEntityType.USER, nested);
// ROLE_GROUP
@@ -123,7 +123,7 @@
return Collections.unmodifiableMap(roleGroupRelationships);
}
- // IDENTITY or anything else
+ // USER or anything else
return Collections.emptyMap();
Copied: modules/identity/trunk/idm/src/main/java/org/jboss/idm/model/GroupEntity.java (from rev 10984, modules/identity/trunk/idm/src/main/java/org/jboss/portal/identity/spi/GroupEntity.java)
===================================================================
--- modules/identity/trunk/idm/src/main/java/org/jboss/idm/model/GroupEntity.java (rev 0)
+++ modules/identity/trunk/idm/src/main/java/org/jboss/idm/model/GroupEntity.java 2008-06-11 15:08:22 UTC (rev 10986)
@@ -0,0 +1,52 @@
+/*
+* 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.
+*/
+
+package org.jboss.idm.model;
+
+import org.jboss.idm.IdentityType;
+
+import java.util.Map;
+import java.util.Collection;
+
+/**
+ * @author <a href="mailto:boleslaw dot dawidowicz at redhat anotherdot com">Boleslaw Dawidowicz</a>
+ * @version : 0.1 $
+ */
+public interface GroupEntity
+{
+ Object getId();
+
+ String getName();
+
+ IdentityType getType();
+
+ Map<String, String[]> getAttributes();
+
+ Object getParentId();
+
+ Collection<Relationship> getFromRelations();
+
+ Collection<Relationship> getToRelations();
+
+ Collection<UserEntity> getUserEntities();
+
+}
Copied: modules/identity/trunk/idm/src/main/java/org/jboss/idm/model/GroupIdentityStore.java (from rev 10984, modules/identity/trunk/idm/src/main/java/org/jboss/portal/identity/spi/GroupIdentityStore.java)
===================================================================
--- modules/identity/trunk/idm/src/main/java/org/jboss/idm/model/GroupIdentityStore.java (rev 0)
+++ modules/identity/trunk/idm/src/main/java/org/jboss/idm/model/GroupIdentityStore.java 2008-06-11 15:08:22 UTC (rev 10986)
@@ -0,0 +1,46 @@
+/*
+* 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.
+*/
+
+package org.jboss.idm.model;
+
+import org.jboss.idm.IdentityStore;
+import org.jboss.idm.IdentityType;
+
+import java.util.Set;
+
+/**
+ * @author <a href="mailto:boleslaw dot dawidowicz at redhat anotherdot com">Boleslaw Dawidowicz</a>
+ * @version : 0.1 $
+ */
+public interface GroupIdentityStore extends IdentityStore
+{
+
+ boolean isUserStore();
+
+ boolean supportExternalGroupRelationships();
+
+
+ // TODO: Set of needed methods
+
+ // TODO: Mechanism for extensions and dynamic discovery of supported extended operations
+
+}
Copied: modules/identity/trunk/idm/src/main/java/org/jboss/idm/model/Relationship.java (from rev 10984, modules/identity/trunk/idm/src/main/java/org/jboss/portal/identity/spi/Relationship.java)
===================================================================
--- modules/identity/trunk/idm/src/main/java/org/jboss/idm/model/Relationship.java (rev 0)
+++ modules/identity/trunk/idm/src/main/java/org/jboss/idm/model/Relationship.java 2008-06-11 15:08:22 UTC (rev 10986)
@@ -0,0 +1,39 @@
+/*
+* 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.
+*/
+
+package org.jboss.idm.model;
+
+import org.jboss.idm.RelationshipType;
+
+/**
+ * @author <a href="mailto:boleslaw dot dawidowicz at redhat anotherdot com">Boleslaw Dawidowicz</a>
+ * @version : 0.1 $
+ */
+public interface Relationship
+{
+ GroupEntity getFrom();
+
+ GroupEntity getTo();
+
+ RelationshipType getType();
+
+}
Copied: modules/identity/trunk/idm/src/main/java/org/jboss/idm/model/UserEntity.java (from rev 10984, modules/identity/trunk/idm/src/main/java/org/jboss/portal/identity/spi/UserEntity.java)
===================================================================
--- modules/identity/trunk/idm/src/main/java/org/jboss/idm/model/UserEntity.java (rev 0)
+++ modules/identity/trunk/idm/src/main/java/org/jboss/idm/model/UserEntity.java 2008-06-11 15:08:22 UTC (rev 10986)
@@ -0,0 +1,43 @@
+/*
+* 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.
+*/
+
+package org.jboss.idm.model;
+
+import java.util.Map;
+import java.util.Collection;
+
+/**
+ * @author <a href="mailto:boleslaw dot dawidowicz at redhat anotherdot com">Boleslaw Dawidowicz</a>
+ * @version : 0.1 $
+ */
+public interface UserEntity
+{
+
+ Object getId();
+
+ String getUserName();
+
+ Map<String, String[]> getAttributes();
+
+ Collection<GroupEntity> getGroupEntities();
+
+}
\ No newline at end of file
17 years, 11 months