svn commit: r1050766 - in /ofbiz/trunk: applications/party/config/ applications/party/webapp/partymgr/party/profileblocks/ applications/party/widget/partymgr/ framework/common/config/ framework/common/widget/ specialpurpose/projectmgr/widget/

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1050766 - in /ofbiz/trunk: applications/party/config/ applications/party/webapp/partymgr/party/profileblocks/ applications/party/widget/partymgr/ framework/common/config/ framework/common/widget/ specialpurpose/projectmgr/widget/

adrianc
Author: adrianc
Date: Sun Dec 19 06:07:53 2010
New Revision: 1050766

URL: http://svn.apache.org/viewvc?rev=1050766&view=rev
Log:
Moved user login UI artifacts from the Party component to the Common component.

Added:
    ofbiz/trunk/framework/common/config/SecurityUiLabels.xml   (with props)
    ofbiz/trunk/framework/common/widget/SecurityForms.xml   (with props)
    ofbiz/trunk/framework/common/widget/SecurityScreens.xml   (with props)
Modified:
    ofbiz/trunk/applications/party/config/PartyUiLabels.xml
    ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/UserLogin.ftl
    ofbiz/trunk/applications/party/widget/partymgr/CommonScreens.xml
    ofbiz/trunk/applications/party/widget/partymgr/PartyMenus.xml
    ofbiz/trunk/applications/party/widget/partymgr/PartyScreens.xml
    ofbiz/trunk/specialpurpose/projectmgr/widget/CommonScreens.xml

Modified: ofbiz/trunk/applications/party/config/PartyUiLabels.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/config/PartyUiLabels.xml?rev=1050766&r1=1050765&r2=1050766&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/config/PartyUiLabels.xml (original)
+++ ofbiz/trunk/applications/party/config/PartyUiLabels.xml Sun Dec 19 06:07:53 2010
@@ -256,36 +256,6 @@
         <value xml:lang="zh">国家</value>
         <value xml:lang="zh_TW">國家</value>
     </property>
-    <property key="FormFieldTitle_currentPassword">
-        <value xml:lang="de">Aktuelles Passwort</value>
-        <value xml:lang="en">Current Password</value>
-        <value xml:lang="es">Clave actual</value>
-        <value xml:lang="fr">Mot de passe actuel</value>
-        <value xml:lang="hi_IN">वर्तमान पासवर्ड</value>
-        <value xml:lang="it">Password Attuale</value>
-        <value xml:lang="nl">Huidig wachtwoord</value>
-        <value xml:lang="pt_BR">Senha atual</value>
-        <value xml:lang="ro">Parola Actuala</value>
-        <value xml:lang="ru">Действующий пароль</value>
-        <value xml:lang="th">รหัสผ่านปัจจุบัน</value>
-        <value xml:lang="zh">当前密码</value>
-        <value xml:lang="zh_TW">目前密碼</value>
-    </property>
-    <property key="FormFieldTitle_currentPasswordVerify">
-        <value xml:lang="de">Überprüfung des aktuellen Passworts</value>
-        <value xml:lang="en">Current Password Verify</value>
-        <value xml:lang="es">Verificar clave actual</value>
-        <value xml:lang="fr">Vérification du mot de passe actuel</value>
-        <value xml:lang="hi_IN">वर्तमान पासवर्ड सत्यापित करें</value>
-        <value xml:lang="it">Password Attuale Verifica</value>
-        <value xml:lang="nl">Verificatie huidig wachtwoord</value>
-        <value xml:lang="pt_BR">Verificação da senha atual</value>
-        <value xml:lang="ro">Verifica Parola Actuala </value>
-        <value xml:lang="ru">Действующий пароль повторно</value>
-        <value xml:lang="th">ยืนยันรหัสผ่าน</value>
-        <value xml:lang="zh">当前密码验证</value>
-        <value xml:lang="zh_TW">目前密碼驗証</value>
-    </property>
     <property key="FormFieldTitle_deceasedDate">
         <value xml:lang="en">Deceased Date</value>
         <value xml:lang="fr">Date de décès</value>
@@ -726,35 +696,6 @@
         <value xml:lang="zh">母亲未婚时名字</value>
         <value xml:lang="zh_TW">母親娘家姓氏</value>
     </property>
-    <property key="FormFieldTitle_newPassword">
-        <value xml:lang="de">Neues Passwort</value>
-        <value xml:lang="en">New Password</value>
-        <value xml:lang="es">Nueva clave</value>
-        <value xml:lang="fr">Nouveau mot de passe</value>
-        <value xml:lang="hi_IN">नया पासवर्ड</value>
-        <value xml:lang="it">Password Nuova</value>
-        <value xml:lang="nl">Nieuw wachtwoord</value>
-        <value xml:lang="pt_BR">Nova senha</value>
-        <value xml:lang="ro">Parola Noua</value>
-        <value xml:lang="ru">Новый пароль</value>
-        <value xml:lang="th">รหัสผ่านใหม่</value>
-        <value xml:lang="zh">新密码</value>
-        <value xml:lang="zh_TW">新密碼</value>
-    </property>
-    <property key="FormFieldTitle_newPasswordVerify">
-        <value xml:lang="de">Überprüfung neues Passwort</value>
-        <value xml:lang="en">New Password Verify</value>
-        <value xml:lang="es">Validar nueva clave</value>
-        <value xml:lang="fr">Vérification du nouveau mot de passe</value>
-        <value xml:lang="hi_IN">नया पासवर्ड सत्यापित करें</value>
-        <value xml:lang="it">Verifica Password Nuova</value>
-        <value xml:lang="pt_BR">Verificação da nova senha</value>
-        <value xml:lang="ro">Verifica Parola Noua</value>
-        <value xml:lang="ru">Новый пароль повторно</value>
-        <value xml:lang="th">ยืนยันรหัสผ่านใหม่</value>
-        <value xml:lang="zh">新密码验证</value>
-        <value xml:lang="zh_TW">新密碼驗証</value>
-    </property>
     <property key="FormFieldTitle_nickname">
         <value xml:lang="de">Spitzname</value>
         <value xml:lang="en">Nickname</value>
@@ -1307,15 +1248,6 @@
         <value xml:lang="zh">税金缺省金额</value>
         <value xml:lang="zh_TW">稅金預設金額</value>
     </property>
-    <property key="FormFieldTitle_requirePasswordChange">
-        <value xml:lang="en">Require Password Change</value>
-        <value xml:lang="fr">Changement mot de passe obligatoire</value>
-        <value xml:lang="hi_IN">पासवर्ड परिवर्तित किया जाना चाहिए</value>
-        <value xml:lang="it">Richiesto cambio password</value>
-        <value xml:lang="pt_BR">Pedir alteração de senha</value>
-        <value xml:lang="zh">必须修改密码</value>
-        <value xml:lang="zh_TW">必須修改密碼</value>
-    </property>
     <property key="FormFieldTitle_residenceStatusEnumId">
         <value xml:lang="de">Wohnsitzstatus Aufzählung ID</value>
         <value xml:lang="en">Residence Status Enum Id</value>
@@ -1610,33 +1542,6 @@
         <value xml:lang="zh">工作经历年数合计</value>
         <value xml:lang="zh_TW">工作年資</value>
     </property>
-    <property key="FormFieldTitle_userLdapDn">
-        <value xml:lang="de">LDAP Distinguished Name</value>
-        <value xml:lang="en">LDAP Distinguished Name</value>
-        <value xml:lang="es">Nombre distinguido LDAP</value>
-        <value xml:lang="fr">Nom LDAP distinct</value>
-        <value xml:lang="hi_IN">एलडीएपी(LDAP) विशिष्ट नाम</value>
-        <value xml:lang="it">Nome distinto LDAP</value>
-        <value xml:lang="nl">LDAP Distinguished Name</value>
-        <value xml:lang="pt_BR">Nome único de LDAP</value>
-        <value xml:lang="zh">LDAP专有名</value>
-        <value xml:lang="zh_TW">LDAP專有名</value>
-    </property>
-    <property key="FormFieldTitle_userLoginId">
-        <value xml:lang="de">Benutzeranmeldung ID</value>
-        <value xml:lang="en">User Login Id</value>
-        <value xml:lang="es">Código de usuario para conexión</value>
-        <value xml:lang="fr">Identifiant de connexion</value>
-        <value xml:lang="hi_IN">प्रयोक्ता लॉगिन क्रमांक</value>
-        <value xml:lang="it">Utente login</value>
-        <value xml:lang="nl">Loginnaam gebruiker</value>
-        <value xml:lang="pt_BR">Id de login do usuário</value>
-        <value xml:lang="ro">Utilizator Login</value>
-        <value xml:lang="ru">Код имени пользователя</value>
-        <value xml:lang="th">รหัสผู้ใช้ที่เข้าสู่ระบบ</value>
-        <value xml:lang="zh">用户登录标识</value>
-        <value xml:lang="zh_TW">使用者登入ID</value>
-    </property>
     <property key="FormFieldTitle_viewContent">
         <value xml:lang="de">Inhalt anzeigen</value>
         <value xml:lang="en">View Content</value>
@@ -5126,21 +5031,6 @@
         <value xml:lang="zh">从沟通事件创建客户需求</value>
         <value xml:lang="zh_TW">從通訊事件建立客訴</value>
     </property>
-    <property key="PartyCreateUserLogin">
-        <value xml:lang="de">Benutzeranmeldung erstellen</value>
-        <value xml:lang="en">Create UserLogin</value>
-        <value xml:lang="es">Crear usuario</value>
-        <value xml:lang="fr">Création d'un identifiant de connexion</value>
-        <value xml:lang="hi_IN">प्रयोक्तालॉगिन बनाएँ</value>
-        <value xml:lang="it">Creare Utente</value>
-        <value xml:lang="nl">Nieuwe gebruiker</value>
-        <value xml:lang="pt_BR">Criar nome usuário</value>
-        <value xml:lang="ro">Creare Utilizator</value>
-        <value xml:lang="ru">Создать имя входа</value>
-        <value xml:lang="th">สร้างผู้ใช้ระบบ</value>
-        <value xml:lang="zh">创建用户登录</value>
-        <value xml:lang="zh_TW">建立使用者登入</value>
-    </property>
     <property key="PartyCreateVendorPermissionError">
         <value xml:lang="de">Sicherheitsfehler: um createVendor auszuführen müssen Sie die Berechtigung PARTYMGR_CREATE oder PARTYMGR_ADMIN besitzen</value>
         <value xml:lang="en">Security Error: to run createVendor you must have the PARTYMGR_CREATE or PARTYMGR_ADMIN permission</value>
@@ -10050,22 +9940,6 @@
         <value xml:lang="zh">安全组</value>
         <value xml:lang="zh_TW">安全群組</value>
     </property>
-    <property key="PartySecurityGroups">
-        <value xml:lang="de">Sicherheitsgruppen</value>
-        <value xml:lang="en">Security Groups</value>
-        <value xml:lang="es">Grupos de seguridad</value>
-        <value xml:lang="fr">Groupes de sécurité</value>
-        <value xml:lang="hi_IN">सुरक्षा समूह</value>
-        <value xml:lang="it">Gruppi Sicurezza</value>
-        <value xml:lang="nl">Beveiligingsgroepen</value>
-        <value xml:lang="pt_BR">Grupos de segurança</value>
-        <value xml:lang="pt_PT">Grupos de Segurança</value>
-        <value xml:lang="ro">Grupuri De Siguranta</value>
-        <value xml:lang="ru">Группы безопасности</value>
-        <value xml:lang="th">กลุ่มความปลอดภัย</value>
-        <value xml:lang="zh">安全组</value>
-        <value xml:lang="zh_TW">安全群組</value>
-    </property>
     <property key="PartySecurityGroupsList">
         <value xml:lang="de">Liste der Sicherheitsgruppen</value>
         <value xml:lang="en">SecurityGroups List</value>
@@ -11242,21 +11116,6 @@
         <value xml:lang="zh">用户登录</value>
         <value xml:lang="zh_TW">用戶登錄</value>
     </property>
-    <property key="PartyUserLoginChangePassword">
-        <value xml:lang="de">Passwort der Benutzeranmeldung ändern</value>
-        <value xml:lang="en">Change UserLogin Password</value>
-        <value xml:lang="es">Cambiar clave de conexión</value>
-        <value xml:lang="fr">Changer le mot de passe de connexion</value>
-        <value xml:lang="hi_IN">प्रयोक्तालॉगिन का पासवर्ड बदलें</value>
-        <value xml:lang="it">Cambio Password Utente Login</value>
-        <value xml:lang="nl">Wachtwoord wijzigen</value>
-        <value xml:lang="pt_BR">Alterar senha do nome de usuário</value>
-        <value xml:lang="ro">Schimb Parola Utilizator Login</value>
-        <value xml:lang="ru">Изменение пароля пользователя</value>
-        <value xml:lang="th">เปลี่ยนรหัสผ่านผู้เข้าใช้ระบบ</value>
-        <value xml:lang="zh">修改用户登录密码</value>
-        <value xml:lang="zh_TW">修改用戶登錄密碼</value>
-    </property>
     <property key="PartyUserLoginId">
         <value xml:lang="de">Benutzeranmeldung ID</value>
         <value xml:lang="en">User Login Id</value>
@@ -11291,20 +11150,6 @@
         <value xml:lang="zh">找不到用户名</value>
         <value xml:lang="zh_TW">找不到使用者名稱</value>
     </property>
-    <property key="PartyUserLoginUpdateSecuritySettings">
-        <value xml:lang="de">Benutzeranmeldung Sicherheitsberechtigungen aktualisieren</value>
-        <value xml:lang="en">Update UserLogin Security Settings</value>
-        <value xml:lang="fr">Mise à jour des paramètres de sécurité pour l'identifiant de connexion</value>
-        <value xml:lang="hi_IN">प्रयोक्ता लॉगिन सुरक्षा सेटिंग्स नवीनतम करे</value>
-        <value xml:lang="it">Aggiorna Impostazioni Sicurezza Utente Login</value>
-        <value xml:lang="nl">UserLogin Security Settings wijzigen</value>
-        <value xml:lang="pt_BR">Atualizar configurações de segurança do nome de usuário</value>
-        <value xml:lang="ro">Actualizare Setari De Siguranta Utilizator Login</value>
-        <value xml:lang="ru">Обновление настроек безопасности пользователя</value>
-        <value xml:lang="th">เปลี่ยนแปลงการตั้งค่าความปลอดภัยของผู้เข้าใช้ระบบ</value>
-        <value xml:lang="zh">更新用户登录安全设置</value>
-        <value xml:lang="zh_TW">更新用戶登錄安全設置</value>
-    </property>
     <property key="PartyUserLogins">
         <value xml:lang="de">Benutzeranmeldungen</value>
         <value xml:lang="en">User Logins</value>

Modified: ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/UserLogin.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/UserLogin.ftl?rev=1050766&r1=1050765&r2=1050766&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/UserLogin.ftl (original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/UserLogin.ftl Sun Dec 19 06:07:53 2010
@@ -51,7 +51,7 @@ under the License.
                   <a href="<@ofbizUrl>editlogin?partyId=${party.partyId}&amp;userLoginId=${userUserLogin.userLoginId}</@ofbizUrl>">${uiLabelMap.CommonEdit}</a>
                 </#if>
                 <#if security.hasEntityPermission("SECURITY", "_VIEW", session)>
-                  <a href="<@ofbizUrl>EditUserLoginSecurityGroups?partyId=${party.partyId}&amp;userLoginId=${userUserLogin.userLoginId}</@ofbizUrl>">${uiLabelMap.PartySecurityGroups}</a>
+                  <a href="<@ofbizUrl>EditUserLoginSecurityGroups?partyId=${party.partyId}&amp;userLoginId=${userUserLogin.userLoginId}</@ofbizUrl>">${uiLabelMap.SecurityGroups}</a>
                 </#if>
               </td>
             </tr>

Modified: ofbiz/trunk/applications/party/widget/partymgr/CommonScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/CommonScreens.xml?rev=1050766&r1=1050765&r2=1050766&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/widget/partymgr/CommonScreens.xml (original)
+++ ofbiz/trunk/applications/party/widget/partymgr/CommonScreens.xml Sun Dec 19 06:07:53 2010
@@ -58,7 +58,7 @@ under the License.
     <screen name="CommonPartyDecorator">
         <section>
             <actions>
-
+                <property-map resource="SecurityUiLabels" map-name="uiLabelMap" global="true"/>
                 <set field="partyId" from-field="parameters.partyId"/>
                 <entity-one entity-name="Party" value-field="party"/>
                 <entity-one entity-name="Person" value-field="lookupPerson"/>

Modified: ofbiz/trunk/applications/party/widget/partymgr/PartyMenus.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/PartyMenus.xml?rev=1050766&r1=1050765&r2=1050766&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/widget/partymgr/PartyMenus.xml (original)
+++ ofbiz/trunk/applications/party/widget/partymgr/PartyMenus.xml Sun Dec 19 06:07:53 2010
@@ -39,7 +39,7 @@
 
     <menu name="SecurityGroupTabBar" default-menu-item-name="EditSecurityGroup" default-selected-style="selected"
         menu-container-style="button-bar tab-bar" type="simple" selected-menuitem-context-field-name="tabButtonItem">
-        <menu-item name="EditSecurityGroup" title="${uiLabelMap.PartySecurityGroups}">
+        <menu-item name="EditSecurityGroup" title="${uiLabelMap.SecurityGroups}">
             <link target="EditSecurityGroup">
                 <parameter param-name="groupId"/>
             </link>

Modified: ofbiz/trunk/applications/party/widget/partymgr/PartyScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/PartyScreens.xml?rev=1050766&r1=1050765&r2=1050766&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/widget/partymgr/PartyScreens.xml (original)
+++ ofbiz/trunk/applications/party/widget/partymgr/PartyScreens.xml Sun Dec 19 06:07:53 2010
@@ -504,24 +504,16 @@ under the License.
     <screen name="EditUserLogin">
         <section>
             <actions>
-                <set field="titleProperty" value="PageTitleEditGroupInformation"/>
+                <set field="titleProperty" value="UserLoginUpdateSecuritySettings"/>
                 <set field="tabButtonItem" value="viewprofile"/>
-                <set field="labelTitleProperty" value="PageTitleEditGroupInformation"/>
-
+                <set field="labelTitleProperty" value="UserLoginUpdateSecuritySettings"/>
                 <set field="donePage" from-field="parameters.DONE_PAGE" default-value="viewprofile"/>
                 <set field="partyId" from-field="parameters.partyId"/>
-                <set field="userLoginId" from-field="parameters.userLoginId"/>
-                <entity-one entity-name="UserLogin" value-field="editUserLogin"/>
             </actions>
             <widgets>
                 <decorator-screen name="CommonPartyDecorator" location="${parameters.mainDecoratorLocation}">
                     <decorator-section name="body">
-                        <screenlet title="${uiLabelMap.PartyUserLoginChangePassword}">
-                            <include-form name="updatePassword" location="component://party/widget/partymgr/PartyForms.xml"/>
-                        </screenlet>
-                        <screenlet title="${uiLabelMap.PartyUserLoginUpdateSecuritySettings}">
-                            <include-form name="updateUserLoginSecurity" location="component://party/widget/partymgr/PartyForms.xml"/>
-                        </screenlet>
+                        <include-screen name="EditUserLogin" location="component://common/widget/SecurityScreens.xml"/>
                     </decorator-section>
                 </decorator-screen>
             </widgets>
@@ -530,19 +522,16 @@ under the License.
     <screen name="CreateUserLogin">
         <section>
             <actions>
-                <set field="titleProperty" value="PartyCreateUserLogin"/>
+                <set field="titleProperty" value="CreateUserLogin"/>
                 <set field="tabButtonItem" value="viewprofile"/>
-                <set field="labelTitleProperty" value="PartyCreateUserLogin"/>
-
+                <set field="labelTitleProperty" value="CreateUserLogin"/>
                 <set field="donePage" from-field="parameters.DONE_PAGE" default-value="viewprofile"/>
                 <set field="partyId" from-field="parameters.partyId"/>
             </actions>
             <widgets>
                 <decorator-screen name="CommonPartyDecorator" location="${parameters.mainDecoratorLocation}">
                     <decorator-section name="body">
-                        <screenlet title="${uiLabelMap.PartyCreateUserLogin}">
-                            <include-form name="AddUserLogin" location="component://party/widget/partymgr/PartyForms.xml"/>
-                        </screenlet>
+                        <include-screen name="CreateUserLogin" location="component://common/widget/SecurityScreens.xml"/>
                     </decorator-section>
                 </decorator-screen>
             </widgets>

Added: ofbiz/trunk/framework/common/config/SecurityUiLabels.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/config/SecurityUiLabels.xml?rev=1050766&view=auto
==============================================================================
--- ofbiz/trunk/framework/common/config/SecurityUiLabels.xml (added)
+++ ofbiz/trunk/framework/common/config/SecurityUiLabels.xml Sun Dec 19 06:07:53 2010
@@ -0,0 +1,179 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+<resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+
+    <property key="CreateUserLogin">
+        <value xml:lang="de">Benutzeranmeldung erstellen</value>
+        <value xml:lang="en">Create User Login</value>
+        <value xml:lang="es">Crear usuario</value>
+        <value xml:lang="fr">Création d'un identifiant de connexion</value>
+        <value xml:lang="hi_IN">प्रयोक्तालॉगिन बनाएँ</value>
+        <value xml:lang="it">Creare Utente</value>
+        <value xml:lang="nl">Nieuwe gebruiker</value>
+        <value xml:lang="pt_BR">Criar nome usuário</value>
+        <value xml:lang="ro">Creare Utilizator</value>
+        <value xml:lang="ru">Создать имя входа</value>
+        <value xml:lang="th">สร้างผู้ใช้ระบบ</value>
+        <value xml:lang="zh">创建用户登录</value>
+        <value xml:lang="zh_TW">建立使用者登入</value>
+    </property>
+    <property key="FormFieldTitle_currentPassword">
+        <value xml:lang="de">Aktuelles Passwort</value>
+        <value xml:lang="en">Current Password</value>
+        <value xml:lang="es">Clave actual</value>
+        <value xml:lang="fr">Mot de passe actuel</value>
+        <value xml:lang="hi_IN">वर्तमान पासवर्ड</value>
+        <value xml:lang="it">Password Attuale</value>
+        <value xml:lang="nl">Huidig wachtwoord</value>
+        <value xml:lang="pt_BR">Senha atual</value>
+        <value xml:lang="ro">Parola Actuala</value>
+        <value xml:lang="ru">Действующий пароль</value>
+        <value xml:lang="th">รหัสผ่านปัจจุบัน</value>
+        <value xml:lang="zh">当前密码</value>
+        <value xml:lang="zh_TW">目前密碼</value>
+    </property>
+    <property key="FormFieldTitle_currentPasswordVerify">
+        <value xml:lang="de">Überprüfung des aktuellen Passworts</value>
+        <value xml:lang="en">Current Password Verify</value>
+        <value xml:lang="es">Verificar clave actual</value>
+        <value xml:lang="fr">Vérification du mot de passe actuel</value>
+        <value xml:lang="hi_IN">वर्तमान पासवर्ड सत्यापित करें</value>
+        <value xml:lang="it">Password Attuale Verifica</value>
+        <value xml:lang="nl">Verificatie huidig wachtwoord</value>
+        <value xml:lang="pt_BR">Verificação da senha atual</value>
+        <value xml:lang="ro">Verifica Parola Actuala </value>
+        <value xml:lang="ru">Действующий пароль повторно</value>
+        <value xml:lang="th">ยืนยันรหัสผ่าน</value>
+        <value xml:lang="zh">当前密码验证</value>
+        <value xml:lang="zh_TW">目前密碼驗証</value>
+    </property>
+    <property key="FormFieldTitle_newPassword">
+        <value xml:lang="de">Neues Passwort</value>
+        <value xml:lang="en">New Password</value>
+        <value xml:lang="es">Nueva clave</value>
+        <value xml:lang="fr">Nouveau mot de passe</value>
+        <value xml:lang="hi_IN">नया पासवर्ड</value>
+        <value xml:lang="it">Password Nuova</value>
+        <value xml:lang="nl">Nieuw wachtwoord</value>
+        <value xml:lang="pt_BR">Nova senha</value>
+        <value xml:lang="ro">Parola Noua</value>
+        <value xml:lang="ru">Новый пароль</value>
+        <value xml:lang="th">รหัสผ่านใหม่</value>
+        <value xml:lang="zh">新密码</value>
+        <value xml:lang="zh_TW">新密碼</value>
+    </property>
+    <property key="FormFieldTitle_newPasswordVerify">
+        <value xml:lang="de">Überprüfung neues Passwort</value>
+        <value xml:lang="en">Verify New Password</value>
+        <value xml:lang="es">Validar nueva clave</value>
+        <value xml:lang="fr">Vérification du nouveau mot de passe</value>
+        <value xml:lang="hi_IN">नया पासवर्ड सत्यापित करें</value>
+        <value xml:lang="it">Verifica Password Nuova</value>
+        <value xml:lang="pt_BR">Verificação da nova senha</value>
+        <value xml:lang="ro">Verifica Parola Noua</value>
+        <value xml:lang="ru">Новый пароль повторно</value>
+        <value xml:lang="th">ยืนยันรหัสผ่านใหม่</value>
+        <value xml:lang="zh">新密码验证</value>
+        <value xml:lang="zh_TW">新密碼驗証</value>
+    </property>
+    <property key="FormFieldTitle_requirePasswordChange">
+        <value xml:lang="en">Require Password Change</value>
+        <value xml:lang="fr">Changement mot de passe obligatoire</value>
+        <value xml:lang="hi_IN">पासवर्ड परिवर्तित किया जाना चाहिए</value>
+        <value xml:lang="it">Richiesto cambio password</value>
+        <value xml:lang="pt_BR">Pedir alteração de senha</value>
+        <value xml:lang="zh">必须修改密码</value>
+        <value xml:lang="zh_TW">必須修改密碼</value>
+    </property>
+    <property key="FormFieldTitle_userLdapDn">
+        <value xml:lang="de">LDAP Distinguished Name</value>
+        <value xml:lang="en">LDAP Distinguished Name</value>
+        <value xml:lang="es">Nombre distinguido LDAP</value>
+        <value xml:lang="fr">Nom LDAP distinct</value>
+        <value xml:lang="hi_IN">एलडीएपी(LDAP) विशिष्ट नाम</value>
+        <value xml:lang="it">Nome distinto LDAP</value>
+        <value xml:lang="nl">LDAP Distinguished Name</value>
+        <value xml:lang="pt_BR">Nome único de LDAP</value>
+        <value xml:lang="zh">LDAP专有名</value>
+        <value xml:lang="zh_TW">LDAP專有名</value>
+    </property>
+    <property key="FormFieldTitle_userLoginId">
+        <value xml:lang="de">Benutzeranmeldung ID</value>
+        <value xml:lang="en">User Login ID</value>
+        <value xml:lang="es">Código de usuario para conexión</value>
+        <value xml:lang="fr">Identifiant de connexion</value>
+        <value xml:lang="hi_IN">प्रयोक्ता लॉगिन क्रमांक</value>
+        <value xml:lang="it">Utente login</value>
+        <value xml:lang="nl">Loginnaam gebruiker</value>
+        <value xml:lang="pt_BR">Id de login do usuário</value>
+        <value xml:lang="ro">Utilizator Login</value>
+        <value xml:lang="ru">Код имени пользователя</value>
+        <value xml:lang="th">รหัสผู้ใช้ที่เข้าสู่ระบบ</value>
+        <value xml:lang="zh">用户登录标识</value>
+        <value xml:lang="zh_TW">使用者登入ID</value>
+    </property>
+    <property key="SecurityGroups">
+        <value xml:lang="de">Sicherheitsgruppen</value>
+        <value xml:lang="en">Security Groups</value>
+        <value xml:lang="es">Grupos de seguridad</value>
+        <value xml:lang="fr">Groupes de sécurité</value>
+        <value xml:lang="hi_IN">सुरक्षा समूह</value>
+        <value xml:lang="it">Gruppi Sicurezza</value>
+        <value xml:lang="nl">Beveiligingsgroepen</value>
+        <value xml:lang="pt_BR">Grupos de segurança</value>
+        <value xml:lang="pt_PT">Grupos de Segurança</value>
+        <value xml:lang="ro">Grupuri De Siguranta</value>
+        <value xml:lang="ru">Группы безопасности</value>
+        <value xml:lang="th">กลุ่มความปลอดภัย</value>
+        <value xml:lang="zh">安全组</value>
+        <value xml:lang="zh_TW">安全群組</value>
+    </property>
+    <property key="UserLoginChangePassword">
+        <value xml:lang="de">Passwort der Benutzeranmeldung ändern</value>
+        <value xml:lang="en">Change User Login Password</value>
+        <value xml:lang="es">Cambiar clave de conexión</value>
+        <value xml:lang="fr">Changer le mot de passe de connexion</value>
+        <value xml:lang="hi_IN">प्रयोक्तालॉगिन का पासवर्ड बदलें</value>
+        <value xml:lang="it">Cambio Password Utente Login</value>
+        <value xml:lang="nl">Wachtwoord wijzigen</value>
+        <value xml:lang="pt_BR">Alterar senha do nome de usuário</value>
+        <value xml:lang="ro">Schimb Parola Utilizator Login</value>
+        <value xml:lang="ru">Изменение пароля пользователя</value>
+        <value xml:lang="th">เปลี่ยนรหัสผ่านผู้เข้าใช้ระบบ</value>
+        <value xml:lang="zh">修改用户登录密码</value>
+        <value xml:lang="zh_TW">修改用戶登錄密碼</value>
+    </property>
+    <property key="UserLoginUpdateSecuritySettings">
+        <value xml:lang="de">Benutzeranmeldung Sicherheitsberechtigungen aktualisieren</value>
+        <value xml:lang="en">Update User Login Security Settings</value>
+        <value xml:lang="fr">Mise à jour des paramètres de sécurité pour l'identifiant de connexion</value>
+        <value xml:lang="hi_IN">प्रयोक्ता लॉगिन सुरक्षा सेटिंग्स नवीनतम करे</value>
+        <value xml:lang="it">Aggiorna Impostazioni Sicurezza Utente Login</value>
+        <value xml:lang="nl">UserLogin Security Settings wijzigen</value>
+        <value xml:lang="pt_BR">Atualizar configurações de segurança do nome de usuário</value>
+        <value xml:lang="ro">Actualizare Setari De Siguranta Utilizator Login</value>
+        <value xml:lang="ru">Обновление настроек безопасности пользователя</value>
+        <value xml:lang="th">เปลี่ยนแปลงการตั้งค่าความปลอดภัยของผู้เข้าใช้ระบบ</value>
+        <value xml:lang="zh">更新用户登录安全设置</value>
+        <value xml:lang="zh_TW">更新用戶登錄安全設置</value>
+    </property>
+
+</resource>

Propchange: ofbiz/trunk/framework/common/config/SecurityUiLabels.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/framework/common/config/SecurityUiLabels.xml
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/framework/common/config/SecurityUiLabels.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: ofbiz/trunk/framework/common/widget/SecurityForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/widget/SecurityForms.xml?rev=1050766&view=auto
==============================================================================
--- ofbiz/trunk/framework/common/widget/SecurityForms.xml (added)
+++ ofbiz/trunk/framework/common/widget/SecurityForms.xml Sun Dec 19 06:07:53 2010
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd">
+
+    <form name="AddUserLogin" type="single" target="createUserLogin"
+        focus-field-name="userLoginId" header-row-style="header-row" default-table-style="basic-table">
+        <auto-fields-service service-name="createUserLogin"/>
+        <field name="partyId"><hidden/></field>
+        <field name="enabled"><hidden/></field>
+        <field name="currentPassword"><password/></field>
+        <field name="currentPasswordVerify"><password/></field>
+        <field name="requirePasswordChange">
+            <drop-down allow-empty="false" no-current-selected-key="N">
+                <option key="Y" description="${uiLabelMap.CommonY}"/>
+                <option key="N" description="${uiLabelMap.CommonN}"/>
+            </drop-down>
+        </field>
+        <field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="smallSubmit"><submit button-type="text-link"/></field>
+        <field name="cancelLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit"><hyperlink target="backHome" also-hidden="false" description="${uiLabelMap.CommonCancelDone}"/></field>
+    </form>
+
+    <form name="updatePassword" type="single" target="updatePassword"
+        focus-field-name="currentPassword" header-row-style="header-row" default-table-style="basic-table">
+        <actions>
+            <set field="passwordHint" from-field="editUserLogin.passwordHint"/>
+        </actions>
+        <auto-fields-service service-name="updatePassword"/>
+        <field name="partyId"><hidden/></field>
+        <field name="userLoginId"><hidden/></field>
+        <field name="currentPassword"><password/></field>
+        <field name="newPassword"><password/></field>
+        <field name="newPasswordVerify"><password/></field>
+        <field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="smallSubmit"><submit button-type="text-link"/></field>
+        <field name="cancelLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit">
+            <hyperlink target="${donePage}" also-hidden="false" description="${uiLabelMap.CommonCancelDone}">
+                <parameter param-name="userLoginId"/>
+                <parameter param-name="partyId"/>
+            </hyperlink>
+        </field>
+    </form>
+
+    <form name="updateUserLoginSecurity" type="single" target="updateUserLoginSecurity" default-map-name="editUserLogin"
+        header-row-style="header-row" default-table-style="basic-table">
+        <actions>
+            <property-to-field field="ldapEnabled" resource="security" property="security.ldap.enable"/>
+        </actions>
+        <auto-fields-service service-name="updateUserLoginSecurity"/>
+        <field name="partyId"><hidden/></field>
+        <field name="userLoginId"><hidden/></field>
+        <field name="userLdapDn" use-when="&quot;true&quot;.equals(ldapEnabled)"><text/></field>
+        <field name="userLdapDn" use-when="!&quot;true&quot;.equals(ldapEnabled)"><ignored/></field>
+        <field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="smallSubmit"><submit button-type="text-link"/></field>
+        <field name="cancelLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit">
+            <hyperlink target="${donePage}" also-hidden="false" description="${uiLabelMap.CommonCancelDone}">
+                <parameter param-name="userLoginId"/>
+                <parameter param-name="partyId"/>
+            </hyperlink>
+        </field>
+    </form>
+
+</forms>

Propchange: ofbiz/trunk/framework/common/widget/SecurityForms.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/framework/common/widget/SecurityForms.xml
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/framework/common/widget/SecurityForms.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: ofbiz/trunk/framework/common/widget/SecurityScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/widget/SecurityScreens.xml?rev=1050766&view=auto
==============================================================================
--- ofbiz/trunk/framework/common/widget/SecurityScreens.xml (added)
+++ ofbiz/trunk/framework/common/widget/SecurityScreens.xml Sun Dec 19 06:07:53 2010
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-screen.xsd">
+
+    <screen name="CreateUserLogin">
+        <section>
+            <actions>
+            </actions>
+            <widgets>
+                <screenlet title="${uiLabelMap.CreateUserLogin}">
+                    <include-form name="AddUserLogin" location="component://common/widget/SecurityForms.xml"/>
+                </screenlet>
+            </widgets>
+        </section>
+    </screen>
+
+    <screen name="EditUserLogin">
+        <section>
+            <actions>
+                <set field="userLoginId" from-field="parameters.userLoginId"/>
+                <entity-one entity-name="UserLogin" value-field="editUserLogin"/>
+            </actions>
+            <widgets>
+                <screenlet title="${uiLabelMap.UserLoginChangePassword}">
+                    <include-form name="updatePassword" location="component://common/widget/SecurityForms.xml"/>
+                </screenlet>
+                <screenlet title="${uiLabelMap.UserLoginUpdateSecuritySettings}">
+                    <include-form name="updateUserLoginSecurity" location="component://common/widget/SecurityForms.xml"/>
+                </screenlet>
+            </widgets>
+        </section>
+    </screen>
+
+</screens>

Propchange: ofbiz/trunk/framework/common/widget/SecurityScreens.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/framework/common/widget/SecurityScreens.xml
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/framework/common/widget/SecurityScreens.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/CommonScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/CommonScreens.xml?rev=1050766&r1=1050765&r2=1050766&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/projectmgr/widget/CommonScreens.xml (original)
+++ ofbiz/trunk/specialpurpose/projectmgr/widget/CommonScreens.xml Sun Dec 19 06:07:53 2010
@@ -295,6 +295,7 @@ under the License.
     <screen name="CommonPartyDecorator">
         <section>
             <actions>
+                <property-map resource="SecurityUiLabels" map-name="uiLabelMap" global="true"/>
                 <set field="headerItem" value="resources"/>
                 <set field="partyId" from-field="parameters.partyId"/>
                 <entity-one entity-name="Party" value-field="party"/>