gatein SVN: r549 - in portal/trunk: portlet/dashboard/src/main/webapp/WEB-INF/classes/locale/portlet/dashboard and 5 other directories.
by do-not-reply@jboss.org
Author: thomas.heute(a)jboss.com
Date: 2009-11-10 08:22:35 -0500 (Tue, 10 Nov 2009)
New Revision: 549
Added:
portal/trunk/gadgets/eXoGadgets/src/main/webapp/locale/Todo/es_ALL.xml
portal/trunk/portlet/dashboard/src/main/webapp/WEB-INF/classes/locale/portlet/dashboard/TabbedDashboardPortlet_es.properties
portal/trunk/portlet/dashboard/src/main/webapp/WEB-INF/classes/locale/portlet/gadget/GadgetPortlet_es.properties
portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/AccountPortlet_es.properties
portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/AdminToolbarPortlet_es.properties
portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_es.properties
portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/GroupNavigationPortlet_es.properties
portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/I18nPortlet_es.properties
portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/OrganizationPortlet_es.properties
portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/PortalNavigationPortlet_es.properties
portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/StarToolbarPortlet_es.properties
portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/UserToolbarPortlet_es.properties
portal/trunk/portlet/web/src/main/webapp/WEB-INF/classes/locale/portlet/portal/NavigationPortlet_es.properties
portal/trunk/portlet/web/src/main/webapp/WEB-INF/classes/locale/portlet/portal/PortalNavigationPortlet_es.properties
portal/trunk/portlet/web/src/main/webapp/WEB-INF/classes/locale/portlet/web/BreadcumbsPortlet_es.properties
portal/trunk/portlet/web/src/main/webapp/WEB-INF/classes/locale/portlet/web/GroovyPortlet_es.properties
portal/trunk/portlet/web/src/main/webapp/WEB-INF/classes/locale/portlet/web/LogoPortlet_es.properties
Modified:
portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/common/locales-config.xml
Log:
GTNPORTAL-226: Spanish files for TRUNK
Applied Spanish translation, contribution from David Calvente
Added: portal/trunk/gadgets/eXoGadgets/src/main/webapp/locale/Todo/es_ALL.xml
===================================================================
--- portal/trunk/gadgets/eXoGadgets/src/main/webapp/locale/Todo/es_ALL.xml (rev 0)
+++ portal/trunk/gadgets/eXoGadgets/src/main/webapp/locale/Todo/es_ALL.xml 2009-11-10 13:22:35 UTC (rev 549)
@@ -0,0 +1,29 @@
+<!--
+
+ Copyright (C) 2009 eXo Platform SAS.
+
+ This is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2.1 of
+ the License, or (at your option) any later version.
+
+ This software is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ 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.
+
+-->
+
+<messagebundle>
+ <msg name="save">
+ Guardar
+ </msg>
+ <msg name="type_here">
+ Introduce la nueva Tarea aquí
+ </msg>
+</messagebundle>
\ No newline at end of file
Added: portal/trunk/portlet/dashboard/src/main/webapp/WEB-INF/classes/locale/portlet/dashboard/TabbedDashboardPortlet_es.properties
===================================================================
--- portal/trunk/portlet/dashboard/src/main/webapp/WEB-INF/classes/locale/portlet/dashboard/TabbedDashboardPortlet_es.properties (rev 0)
+++ portal/trunk/portlet/dashboard/src/main/webapp/WEB-INF/classes/locale/portlet/dashboard/TabbedDashboardPortlet_es.properties 2009-11-10 13:22:35 UTC (rev 549)
@@ -0,0 +1,24 @@
+#
+# Copyright (C) 2009 eXo Platform SAS.
+#
+# This is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as
+# published by the Free Software Foundation; either version 2.1 of
+# the License, or (at your option) any later version.
+#
+# This software is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# 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.
+#
+
+UITabPaneDashboard.action.addNewDashboard=A\u00f1adir Tablero
+UITabPaneDashboard.action.switchShowRange=Intercambiar Rango
+UITabPaneDashboard.msg.deleteTab=Realmente quiere eliminar este Tablero?
+UITabPaneDashboard.msg.cannotDeleteLastTab=No se pudo borrar el \u00faltimo tab.
+UITabPaneDashboard.msg.wrongTabName=Solo se admiten caracteres alfanum\u00e9ricos, d\u00edgitos, subrayador, guiones y espacios.
Added: portal/trunk/portlet/dashboard/src/main/webapp/WEB-INF/classes/locale/portlet/gadget/GadgetPortlet_es.properties
===================================================================
--- portal/trunk/portlet/dashboard/src/main/webapp/WEB-INF/classes/locale/portlet/gadget/GadgetPortlet_es.properties (rev 0)
+++ portal/trunk/portlet/dashboard/src/main/webapp/WEB-INF/classes/locale/portlet/gadget/GadgetPortlet_es.properties 2009-11-10 13:22:35 UTC (rev 549)
@@ -0,0 +1,27 @@
+#
+# Copyright (C) 2009 eXo Platform SAS.
+#
+# This is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as
+# published by the Free Software Foundation; either version 2.1 of
+# the License, or (at your option) any later version.
+#
+# This software is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# 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.
+#
+
+UIGadgetEditMode.title=Establecer la URL del gadget
+UIGadgetEditMode.label.gadgetUrl=Url:
+UIGadgetEditMode.label.typeSelector=Tipo:
+UIGadgetEditMode.label.gadgetSelector=Gadget:
+UIGadgetEditMode.action.Save=Guardar
+
+UIGadgetEditMode.label.option.remote=Gadget Remoto
+UIGadgetEditMode.label.option.local=Gadget Local
Added: portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/AccountPortlet_es.properties
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/AccountPortlet_es.properties (rev 0)
+++ portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/AccountPortlet_es.properties 2009-11-10 13:22:35 UTC (rev 549)
@@ -0,0 +1,87 @@
+#
+# Copyright (C) 2009 eXo Platform SAS.
+#
+# This is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as
+# published by the Free Software Foundation; either version 2.1 of
+# the License, or (at your option) any later version.
+#
+# This software is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# 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.
+#
+
+##org.exoplatform.account.webui.component.UIAccountForm
+
+UIAccountForm.label.Profile=Perfil de Usuario
+UIAccountForm.title=A\u00f1adir/Editar Cuenta
+UIAccountForm.label.username=#{word.userName}:
+UIAccountForm.label.SearchUser=Buscar Usuario
+UIAccountForm.label.password1x=Contrase\u00f1a:
+UIAccountForm.label.password2x=Confirmar Contrase\u00f1a:
+UIAccountForm.label.password=Contrase\u00f1a:
+UIAccountForm.label.Confirmpassword=Confirmar Contrase\u00f1a:
+UIAccountForm.action.Reset=Resetear
+UIAccountForm.label.firstName=#{word.firstName}:
+UIAccountForm.label.lastName=#{word.lastName}:
+UIAccountForm.label.email=Direcci\u00f3n de correo electr\u00f3nico:
+UIAccountForm.label.note=Los campos marcados con un asterisco<span style="color: red">*</span> son obligatorios
+UIAccountForm.action.Back=#{word.back}
+UIAccountForm.action.Save=#{word.save}
+UIAccountForm.label.action.SearchUser=Buscar Usuario
+#{0} is the username that the remote user enter
+UIAccountForm.msg.user-exist=El nombre de usuario '{0}' ya existe
+UIAccountForm.msg.incorrect-password=Vuelva a introducir la contrase\u00f1a, es incorrecta
+UIAccountForm.msg.sucsesful.create.user=Usuario creado con \u00e9xito
+
+UIAccountForm.tab.label.AccountTemplate=Plantilla de Cuenta
+UIAccountForm.tab.label.UIUserProfileInputSet=Peril de Usuario
+UIAccountForm.tab.label.AccountInputSet=Ajustes de Cuenta
+UIAccountForm.tab.label.UIUserMembershipSelector=Pertenencia a Grupos del Usuario
+
+UIAccountForm.label.Membership=Pertenencia a Grupos
+
+
+UIAccountForm.label.option.male=Mascullino
+UIAccountForm.label.option.female=Femenino
+
+UIAccountForm.label.HomeInfo=Informaci\u00f3n de Casa
+UIAccountForm.label.user.name.given=#{word.givenName}:
+UIAccountForm.label.user.name.family=#{word.familyName}:
+UIAccountForm.label.user.name.nickName=#{word.nickName}:
+UIAccountForm.label.user.bdate=#{word.birthday}:
+UIAccountForm.label.user.gender=#{word.gender}:
+UIAccountForm.label.user.employer=#{word.employer}:
+UIAccountForm.label.user.department=#{word.department}:
+UIAccountForm.label.user.jobtitle=#{word.jobTitle}:
+UIAccountForm.label.user.language=Idioma
+UIAccountForm.label.user.home-info.postal.name=#:
+UIAccountForm.label.user.home-info.postal.street=#{word.street}:
+UIAccountForm.label.user.home-info.postal.city=#{word.city}:
+UIAccountForm.label.user.home-info.postal.stateprov=#{word.stateProv}:
+UIAccountForm.label.user.home-info.postal.postalcode=#{word.postalCode}:
+UIAccountForm.label.user.home-info.postal.country=#{word.country}:
+UIAccountForm.label.user.home-info.telecom.mobile.number=#{word.mobile}:
+UIAccountForm.label.user.home-info.telecom.telephone.number=#{word.tel}:
+UIAccountForm.label.user.home-info.online.email=#{word.email}:
+UIAccountForm.label.user.home-info.online.uri=#{word.website}:
+
+UIAccountForm.label.BusinessInfo=Informaci\u00f3n del Trabajo
+UIAccountForm.label.user.business-info.postal.name=#:
+UIAccountForm.label.user.business-info.postal.street=#{word.street}:
+UIAccountForm.label.user.business-info.postal.city=#{word.city}:
+UIAccountForm.label.user.business-info.postal.stateprov=#{word.stateProv}:
+UIAccountForm.label.user.business-info.postal.postalcode=#{word.postalCode}:
+UIAccountForm.label.user.business-info.postal.country=#{word.country}:
+UIAccountForm.label.user.business-info.telecom.mobile.number=#{word.mobile}:
+UIAccountForm.label.user.business-info.telecom.telephone.number=#{word.tel}:
+UIAccountForm.label.user.business-info.online.email=#{word.email}:
+UIAccountForm.label.user.business-info.online.uri=#{word.website}:
+
+UIPopupWindow.title.UIGroupMembershipSelector=Selecciona Pertenencia a Grupos
Added: portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/AdminToolbarPortlet_es.properties
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/AdminToolbarPortlet_es.properties (rev 0)
+++ portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/AdminToolbarPortlet_es.properties 2009-11-10 13:22:35 UTC (rev 549)
@@ -0,0 +1,30 @@
+#
+# Copyright (C) 2009 eXo Platform SAS.
+#
+# This is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as
+# published by the Free Software Foundation; either version 2.1 of
+# the License, or (at your option) any later version.
+#
+# This software is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# 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.
+#
+
+UIAdminToolbarPortlet.action.AddPage=A\u00f1adir nueva P\u00e1gina
+UIAdminToolbarPortlet.action.EditPage=Editar P\u00e1gina
+UIAdminToolbarPortlet.action.CreatePortal=Crear Nuevo Portal
+UIAdminToolbarPortlet.action.EditPortal=Editar Portal
+UIAdminToolbarPortlet.action.BrowsePage=Gestionar P\u00e1ginas
+UIAdminToolbarPortlet.action.EditPageAndNavigation=Editar P\u00e1gina y Navegaci\u00f3n
+UIAdminToolbarPortlet.action.Editor=Editor
+UIAdminToolbarPortlet.action.portal.Editor=Editor del Site
+UIAdminToolbarPortlet.action.group.Editor=Editor del Grupo
+UIAdminToolbarPortlet.action.user.Editor=Editor del Tablero
+UIAdminToolbarPortlet.action.EditSiteLayout=Editar Distribuci\u00f3n
Added: portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_es.properties
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_es.properties (rev 0)
+++ portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_es.properties 2009-11-10 13:22:35 UTC (rev 549)
@@ -0,0 +1,141 @@
+#
+# Copyright (C) 2009 eXo Platform SAS.
+#
+# This is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as
+# published by the Free Software Foundation; either version 2.1 of
+# the License, or (at your option) any later version.
+#
+# This software is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# 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.
+#
+
+##expression
+word.cancel=Cancelar
+label.displayName=Nombre a Visualizar:
+label.description=Descripci\u00f3n:
+category.msg.changeNotExist=No se pueden guardar los cambios a una categor\u00eda que ya no est\u00e1 en la Base de Datos.
+application.msg.changeNotExist=No se pueden guardar los cambios a una aplicaci\u00f3n que ya no est\u00e1 en la Base de Datos.
+gadget.msg.changeNotExist=No se pueden guardar los cambios a un gadget que ya no est\u00e1 en la Base de Datos.
+## org.exoplatform.applicationregistry.webui.component.UIApplicationRegistryPortlet
+UIToolbar.label.organize=Organizar
+UIToolbar.label.portlet=Portlet
+UIToolbar.label.gadget=Gadget
+
+## org.exoplatform.applicationregistry.webui.component.UIApplicationOrganizer
+UIOrganizer.label.addCategory=Add Categor\u00eda
+UIOrganizer.label.autoImport=Auto Importar
+UIOrganizer.label.categories=Categor\u00edas
+UIOrganizer.title.editCategory=Editar Categor\u00eda
+UIOrganizer.title.addApplication=A\u00f1adir aplicai\u00f3n a la categor\u00eda
+UIOrganizer.title.deleteCategory=Borrar categor\u00eda
+UIOrganizer.title.deleteApplication=Borrar aplicaci\u00f3n
+UIOrganizer.msg.importAll=Esta acci\u00f3n crear\u00e1 categor\u00edas e importar\u00e1 todos los gadgets y portlets sobre ellas autom\u00e1ticamente.
+UIOrganizer.msg.deleteCategory=\u00bfEst\u00e1 seguro de que desea borrar esta categor\u00eda y todas las aplicaciones que contiene?
+UIOrganizer.msg.deleteApplication=A\u00bfEst\u00e1 seguro de que desea borrar esta aplicaci\u00f3n?
+UIOrganizer.msg.emptyCategory=Esta categor\u00eda no contiene ninguna aplicaci\u00f3n, haz click en el bot\u00f3n (+) para a\u00f1adir una aplicaci\u00f3n.
+UIOrganizer.msg.noCategory=No existen categor\u00edas. Puedes hacer "click" en el bot\u00f3n "A\u00f1adir Categor\u00eda" o en el bot\u00f3n "Auto Importar" para a\u00f1adir una categor\u00eda.
+UIOrganizer.msg.deleteCategoryInUse=No se puede borrar esta categor\u00eda. Est\u00e1 en uso.
+UIOrganizer.msg.deleteApplicationInUse=No se puede borrar esta aplicaci\u00f3n. Est\u00e1 en uso.
+UIOrganizer.msg.categoryNoExist=Esta categor\u00eda no existe en la Base de Datos.
+UIOrganizer.msg.applicationNoExist=Esta aplicaci\u00f3n no existe en la Base de Datos.
+
+## org.exoplatform.applicationregistry.webui.component.UIApplicationRegistryEditMode
+UIApplicationRegistryEditMode.title=Import Applications
+UIApplicationRegistryEditMode.label.showImport=Change Show Import
+
+##org.exoplatform.applicationregistry.webui.component.UIApplicationInfo
+UIPermissionForm.label.UIListPermissionSelector=
+UIApplicationInfo.label.name=Nombre:
+UIApplicationInfo.label.displayName=#{label.displayName}
+UIApplicationInfo.label.description=#{label.description}
+UIApplicationInfo.label.accessPermissions=Access Permissions
+UIApplicationInfo.title.editApplication=Editar Aplicaci\u00f3n
+
+##org.exoplatform.applicationregistry.webui.component.UIApplicationForm
+UIApplicationForm.title=Editar informaci\u00f3n de la Aplicaci\u00f3n
+UIApplicationForm.label.applicationName=Nombre de la Aplicaci\u00f3n:
+UIApplicationForm.label.displayName=#{label.displayName}
+UIApplicationForm.label.description=#{label.description}
+UIApplicationForm.action.Save=#{word.save}
+UIApplicationForm.action.Cancel=#{word.cancel}
+
+## org.exoplatform.applicationregistry.webui.component.UIAddApplicationForm
+UIAddApplicationForm.header.input=Elegir
+UIAddApplicationForm.label.option.portlet=Aplicaci\u00f3n
+UIAddApplicationForm.label.option.eXoGadget=Gadget
+UIAddApplicationForm.header.label=nombre a Visualizar
+UIAddApplicationForm.header.description=Descripci\u00f3n
+UIAddApplicationForm.action.Add=A\u00f1adir
+UIAddApplicationForm.msg.PortletExist=Esta aplicaci\u00f3n ya existe en la categor\u00eda, por favor seleccione otra aplicaci\u00f3n!
+UIAddApplicationForm.msg.appNotExists=Por favor, selecciona una aplicaci\u00f3n.
+UIAddApplicationForm.action.Cancel=#{word.cancel}
+UIAddApplicationForm.label.displayName=#{label.displayName}
+UIAddApplicationForm.label.type=Tipo de Aplicaci\u00f3n
+application.label.=
+##org.exoplatform.applicationregistry.webui.component.UICategoryForm
+UICategoryForm.label.name=Nombre de la Categor\u00eda:
+UICategoryForm.label.displayName=#{label.displayName}
+UICategoryForm.label.description=#{label.description}
+UICategoryForm.action.Save=#{word.save}
+UICategoryForm.action.Cancel=#{word.cancel}
+UICategoryForm.msg.SameName=Esta categor\u00eda ya existe , por favor seleccione otra!
+UICategoryForm.label.UIListPermissionSelector=
+UICategoryForm.tab.label.categoryPermission=Ajustes de Permisos
+UICategoryForm.tab.label.categorySetting=Ajustes de la Categor\u00eda
+
+## org.exoplatform.applicationregistry.webui.component.UIPortletManagement
+UIPortletManagement.title.local=LOCAL
+UIPortletManagement.title.remote=REMOTO
+UIPortletManagement.msg.noPortlet=No hay Portlets disponibles.
+
+## org.exoplatform.applicationregistry.webui.component.UIPortletInfo
+UIPortletInfo.label.name=Nombre del Portlet:
+UIPortletInfo.label.display=#{label.displayName}
+UIPortletInfo.label.description=#{label.description}
+UIPortletInfo.title.portletPreferences=Preferencias del Portlet
+UIPortletInfo.msg.noPortletPreferences=No hay Preferencias del Portlet
+
+## org.exoplatform.portletregistry.webui.component.UIGadgetManagement
+UIGadgetManagement.label.addRemote=A\u00f1adir un gadget remoto
+UIGadgetManagement.label.createNew=Crear un nuevo gadget
+UIGadgetManagement.title.deleteGadget=Borrar Gadget
+UIGadgetManagement.msg.noGadget=No hay gadgets disponibles.
+UIGadgetManagement.msg.deleteGadgetInUse=no s e puede borrar este gadget, est\u00e1 en uso.
+UIGadgetManagement.msg.deleteGadget=\u00bfEst\u00e1s seguro de que deseas borrar este gadget?
+
+## org.exoplatform.applicationregistry.webui.component.UIGadgetInfo
+UIGadgetInfo.label.gadgetDetails=Detalles del Gadget
+UIGadgetInfo.label.name=Nombre del Gadget:
+UIGadgetInfo.label.displayName=#{label.displayName}
+UIGadgetInfo.label.description=#{label.description}
+UIGadgetInfo.label.viewUrl=Ver URL:
+UIGadgetInfo.label.editUrl=Editar URL:
+UIGadgetInfo.label.reference=Referencia:
+UIGadgetInfo.title.refresh=Refrescar informaci\u00f3n
+UIGadgetInfo.title.editGadget=Editar Gadget
+UIGadgetInfo.title.copy=Copiar este gadget al repositorio local
+UIGadgetInfo.msg.gadgetNotExist=No se puede ejecutar la acci\u00f3n en un Gadget que ya no est\u00e1 en la Base de Datos.
+## org.exoplatform.applicationregistry.webui.component.UIAddGadget
+UIAddGadget.action.Add=A\u00f1adir
+UIAddGadget.action.Cancel=#{word.cancel}
+UIAddGadget.label.url=URL
+UIAddGadget.label.urlExist=Esta URL ya existe, ppor favor, selecciona otra!
+UIAddGadget.label.urlError=La informaci\u00f3n contenida en la url: '{0}' no es v\u00e1lida
+
+## org.exoplatform.applicationregistry.webui.component.UIGadgetEditor
+UIGadgetEditor.label.source=Origen:
+UIGadgetEditor.action.Save=#{word.save}
+UIGadgetEditor.action.Cancel=#{word.cancel}
+UIGadgetEditor.msg.invalidSpec=Este origen no es v\u00e1lido para la especificaci\u00f3n del gadget.
+##package org.exoplatform.organization.webui.component.UIListPermissionSelector
+UIListPermissionSelector.header.groupId=Grupo
+UIListPermissionSelector.header.membership=Pertenencia a
+UIListPermissionSelectorPopup.title.ListPermissionSelector=Selecciona Permiso
Added: portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/GroupNavigationPortlet_es.properties
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/GroupNavigationPortlet_es.properties (rev 0)
+++ portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/GroupNavigationPortlet_es.properties 2009-11-10 13:22:35 UTC (rev 549)
@@ -0,0 +1,21 @@
+#
+# Copyright (C) 2009 eXo Platform SAS.
+#
+# This is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as
+# published by the Free Software Foundation; either version 2.1 of
+# the License, or (at your option) any later version.
+#
+# This software is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# 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.
+#
+
+UIPageNavigationForm.action.ClosePopup=#{word.close}
+UIPageNavigationForm.action.Save=#{word.save}
Added: portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/I18nPortlet_es.properties
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/I18nPortlet_es.properties (rev 0)
+++ portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/I18nPortlet_es.properties 2009-11-10 13:22:35 UTC (rev 549)
@@ -0,0 +1,39 @@
+#
+# Copyright (C) 2009 eXo Platform SAS.
+#
+# This is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as
+# published by the Free Software Foundation; either version 2.1 of
+# the License, or (at your option) any later version.
+#
+# This software is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# 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.
+#
+
+ UIForm.title=Buscar Recurso
+ UISearchI18n.label.name=Nombre
+ UISearchI18n.label.language=Idioma
+ UISearchI18n.label.option.All=Todo
+ UIForm.action.Search=Buscar
+ UIForm.action.NewResource=Nuevo Recurso
+ UII18nPortlet.header.name=Nombre
+ UII18nPortlet.header.language=Idioma
+ UII18nPortlet.header.action=Acci\u00f3n
+ UII18nPortlet.action.title.View=Ver
+ UII18nPortlet.action.title.Delete=Borrar
+ UIEditResource.title=Informaci\u00f3n sobre el Recurso
+ UIEditResource.label.resource=Recurso
+ UIEditResource.label.name=Nombre
+ UIEditResource.label.language=Idioma
+ UIEditResource.action.Save=Guardar
+ UIEditResource.action.Cancel=Cancelar
+ UIEditResource.action.Edit=Editar
+ UIEditResource.add.exist=Este recurso ya existe, por favor introduce otro!
+ UII18n.deleteResource = \u00bfEst\u00e1s seguro de que deseas borrar este recurso?
Added: portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/OrganizationPortlet_es.properties
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/OrganizationPortlet_es.properties (rev 0)
+++ portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/OrganizationPortlet_es.properties 2009-11-10 13:22:35 UTC (rev 549)
@@ -0,0 +1,256 @@
+#
+# Copyright (C) 2009 eXo Platform SAS.
+#
+# This is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as
+# published by the Free Software Foundation; either version 2.1 of
+# the License, or (at your option) any later version.
+#
+# This software is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# 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.
+#
+
+##org.exoplatform.organization.webui.component.UIOrganizationPortlet
+UIOrganizationPortlet.label.userManagement=Gesti\u00f3n de Usuarios
+UIOrganizationPortlet.label.groupManagement=Gesti\u00f3n de Grupos
+UIOrganizationPortlet.label.membershipManagement=Gesti\u00f3n de afiliaciones
+
+
+##org.exoplatform.organization.webui.component.UIMembershipTypeForm
+UIMembershipTypeForm.title=A\u00f1adir/Editar afiliaci\u00f3n
+UIMembershipTypeForm.label.name=Nombre de Afiliaci\u00f3n
+UIMembershipTypeForm.label.description=Descripci\u00f3n
+UIMembershipTypeForm.action.Save=#{word.save}
+UIMembershipTypeForm.action.Back=#{word.back}
+UIMembershipTypeForm.action.Reset=Resetear
+UIMembershipTypeForm.msg.SameName=Esta afiliaci\u00f3n ya existe, por favor, selecciona otra!
+
+##org.exoplatform.organization.webui.component.UIGroupMembershipForm
+UIGroupEditMembershipForm.label.username=Nombre de usuario
+UIGroupEditMembershipForm.label.membership=Afiliaci\u00f3n
+UIGroupEditMembershipForm.action.Save=Guardar
+UIGroupEditMembershipForm.action.Cancel=Cancelar
+UIGroupEditMembershipForm.msg.membership-delete=No se puede guardar, la afiliaci\u00f3n se ha eliminado!.
+UIGroupEditMembershipForm.msg.membership-exist="El tipo de afiliaci\u00f3n ya existe, por favor, introduce otro!.
+EditMembership.title.UIGroupEditMembershipForm=Editar Afiliaci\u00f3n
+EditMembership.title.EditMembership=Editar Afiliaci\u00f3n
+UIGroupMembershipForm.label.title=Grupo de Afiliaciones
+UIGroupMembershipForm.label.username=Nombre de Usuario
+UIGroupMembershipForm.label.membership=Afiliaci\u00f3n
+UIGroupMembershipForm.action.Save=#{word.save}
+SearchUserForm.label.option.userName=#{word.userName}
+SearchUserForm.label.option.firstName=#{word.firstName}
+SearchUserForm.label.option.lastName=#{word.lastName}
+SearchUserForm.label.option.email=#{word.email}
+SearchUser.title.UIUserSelector=Seleccionar Usuario
+SearchUser.title.SearchUser=Seleccionar Usuario
+#{0} is the member that the remote memeber enter
+UIMemberShipForm.msg.membershipType-exist=El tipo de afiliaci\u00f3n '{0}' ya est\u00e1 en uso
+
+##org.exoplatform.organization.webui.component.UIMembershipForm
+UIMembershipForm.label.username=Nombre de Usuario
+UIMembershipForm.label.membership=Afiliaci\u00f3n
+UIMembershipForm.action.Save=#{word.save}
+UIMembershipForm.action.Back=#{word.back}
+UIMembershipForm.label.name=Nombre de Afiliaci\u00f3n
+UIMembershipForm.label.description=#{word.description}
+
+##org.exoplatform.organization.webui.component.UIListUser
+UIListUsers.header.userName=#{word.userName}
+UIListUsers.header.lastName=#{word.lastName}
+UIListUsers.header.firstName=#{word.firstName}
+UIListUsers.header.email=#{word.email}
+
+UIListUsers.action.title.DeleteUser=Borrar usuario
+UIListUsers.action.title.SelectUser=Seleccionar Usuario
+UIListUsers.action.title.ViewUserInfo=Editar la Informaci\u00f3n del Usuario
+SearchUser.title.ListUserForSearch=Buscar Usuario
+UIListUsers.header.action=#{word.action}
+UIListUsers.label.option.userName=#{word.userName}
+UIListUsers.label.option.firstName=#{word.firstName}
+UIListUsers.label.option.lastName=#{word.lastName}
+UIListUsers.label.option.email=#{word.email}
+UIListUsers.msg.DeleteSuperUser=El usuario {0} es el Super User, no se puede borrar
+UIListUsers.deleteUser=\u00bfEst\u00e1s seguro de que deseas borrar el usuario {0}?
+
+UIListMembershipType.deleteMemberShip=\u00bfEst\u00e1s seguro de que deseas borrar esta afiliaci\u00f3n?
+
+##org.exoplatform.organization.webui.component.UIUserInfo
+UIUserInfo.title=Informaci\u00f3n del Perf\u00edl del Usuario
+UIUserInfo.tab.label.AccountInputSet=Informaci\u00f3n de la Cuenta
+UIUserInfo.tab.label.UIUserProfileInputSet=Perf\u00edl del Usuario
+UIUserInfo.tab.label.UIUserMembershipSelector=Afiliaciones del Usuario
+UIUserInfo.tab.label.UIAccountEditInputSet=Informaci\u00f3n de la Cuenta
+
+UIUserInfo.label.changePassword=Cambiar la Contrase\u00f1a:
+UIUserInfo.label.newPassword=Nueva Contrase\u00f1a:
+UIUserInfo.label.confirmPassword=Confirmar Contrase\u00f1a:
+
+UIUserInfo.label.Profile=Perf\u00edl del Usuario
+UIUserInfo.label.userName=#{word.userName}:
+UIUserInfo.label.password=Contrase\u00f1a :
+UIUserInfo.label.Confirmpassword=Confirmar Contrase\u00f1a :
+UIUserInfo.label.firstName=#{word.firstName}:
+UIUserInfo.label.lastName=#{word.lastName}:
+UIUserInfo.label.email=Direcci\u00f3n de Correo Electr\u00f3nico:
+UIUserInfo.label.user.language: Idioma
+UIUserInfo.action.Back=#{word.cancel}
+UIUserInfo.action.Save=#{word.save}
+
+UIUserInfo.label.HomeInfo=Informaci\u00f3n de Casa
+UIUserInfo.label.user.language=#{word.language}:
+UIUserInfo.label.user.name.given=#{word.givenName}:
+UIUserInfo.label.user.name.family=#{word.familyName}:
+UIUserInfo.label.user.name.nickName=#{word.nickName}:
+UIUserInfo.label.user.bdate=#{word.birthday}:
+UIUserInfo.label.user.gender=#{word.gender}:
+UIUserInfo.label.user.employer=#{word.employer}:
+UIUserInfo.label.user.department=#{word.department}:
+UIUserInfo.label.user.jobtitle=#{word.jobTitle}:
+UIUserInfo.label.user.home-info.postal.name=#:
+UIUserInfo.label.user.home-info.postal.street=#{word.street}:
+UIUserInfo.label.user.home-info.postal.city=#{word.city}:
+UIUserInfo.label.user.home-info.postal.stateprov=#{word.stateProv}:
+UIUserInfo.label.user.home-info.postal.postalcode=#{word.postalCode}:
+UIUserInfo.label.user.home-info.postal.country=#{word.country}:
+UIUserInfo.label.user.home-info.telecom.mobile.number=#{word.mobile}:
+UIUserInfo.label.user.home-info.telecom.telephone.number=#{word.tel}:
+UIUserInfo.label.user.home-info.online.email=#{word.email}:
+UIUserInfo.label.user.home-info.online.uri=Sitio Web:
+UIUserInfo.label.option.male=Hombre
+UIUserInfo.label.option.female=Mujer
+UIUserInfo.label.option.en=English
+UIUserInfo.label.option.ee=Espa\u00f1ol
+UIUserInfo.label.option.ma=Ma
+UIUserInfo.label.option.vi=Vietnamese
+UIUserInfo.label.option.ar=Arabic
+UIUserInfo.label.option.fr=French
+UIUserInfo.label.option.ru=Russian
+
+UIUserInfo.label.BusinessInfo=Informaci\u00f3n de Trabajo
+UIUserInfo.label.user.business-info.postal.name=#:
+UIUserInfo.label.user.business-info.postal.city=#{word.city}:
+UIUserInfo.label.user.business-info.postal.stateprov=State/Prov:
+UIUserInfo.label.user.business-info.postal.postalcode=Postal Code:
+UIUserInfo.label.user.business-info.postal.country=#{word.country}:
+UIUserInfo.label.user.business-info.telecom.mobile.number=#{word.mobile}:
+UIUserInfo.label.user.business-info.telecom.telephone.number=#{word.tel}:
+UIUserInfo.label.user.business-info.online.email=#{word.email}:
+UIUserInfo.label.user.business-info.online.uri=#{word.website}:
+
+##org.exoplatform.organization.webui.component.UIUserInGroup
+UIUserInGroup.confirm.deleteUser=\u00bfEst\u00e1s seguro de que deseas borrar al usuario {0} del grupo {1}?
+UIUserInGroup.header.userName=#{word.userName}
+UIUserInGroup.header.lastName=#{word.lastName}
+UIUserInGroup.header.firstName=#{word.firstName}
+UIUserInGroup.header.email=#{word.email}
+UIUserInGroup.header.action=#{word.action}
+UIUserInGroup.header.membershipType=Tipo de Afiliaci\u00f3n
+UIUserInGroup.header.lastLoginTime=\u00daltimo ingreso
+UIUserInGroup.label.username=#{word.userName}
+UIUserInGroup.label.membership=Nombre de Afiliaci\u00f3n
+UIUserInGroup.action.title.DeleteUser=Borrar afiliado
+UIUserInGroup.action.title.Edit=Editar afiliado
+
+##org.exoplatform.organization.webui.component.UIGroupInfo
+UIGroupInfo.tab.label.UIUserInGroup=Usuario en Grupo
+UIGroupInfo.label.UIUserInGroup=
+UIGroupInfo.title=Informaci\u00f3n del Grupo
+
+##org.exoplatform.organization.webui.component.UIMembershipList
+UIMembershipList.header.name=Nombre de Afiliaci\u00f3n
+UIMembershipList.header.createdDate=Fecha de Creaci\u00f3n
+UIMembershipList.header.modifiedDate=Fecha de Modificaci\u00f3n
+UIMembershipList.header.action=#{word.action}
+UIMembershipList.header.description=#{word.description}
+UIMembershipList.action.title.EditMembership=Editar Afiliaci\u00f3n
+UIMembershipList.action.title.DeleteMembership=Borrar Afiliaci\u00f3n
+UIMembershipList.msg.InUse=No puedes borrar esta afiliaci\u00f3n porque est\u00e1 siendo usada
+UIMembershipList.msg.DeleteMandatory=No puedes borrar esta afiliaci\u00f3n porque es obligatoria
+
+##org.exoplatform.organization.webui.component.UIGroupMembershipForm
+UIGroupMembershipForm.title=A\u00f1adir miembro
+UIGroupMembershipForm.label.username=Nombre de usuario
+UIGroupMembershipForm.label.membership=Afiliaci\u00f3n
+UIGroupMembershipForm.label.SearchUser=Seleccionar Usuario
+UIGroupMembershipForm.label.Refresh=Refrescar
+UIGroupMembershipForm.action.Save=#{word.save}
+UIUserMembershipSelector.deleteMembership=\u00bfEst\u00e1s seguro de que deseas borrar esta afiliaci\u00f3n?
+
+##org.exoplatform.organization.webui.component.UIGroupForm
+AddGroup.title=A\u00f1adir nuevo Grupo
+EditGroup.title=Editar el Grupo Actual
+UIGroupForm.label.groupName=Nombre del Grupo
+UIGroupForm.label.description=Descripci\u00f3n
+UIGroupForm.label.label=Etiqueta
+
+AddGroup.action.Save=#{word.save}
+AddGroup.action.Back=#{word.cancel}
+
+EditGroup.action.Save=#{word.save}
+EditGroup.action.Back=#{word.cancel}
+
+UIGroupForm.msg.group-exist=Este nombre de Grupo ya existe, por favor, selecciona otro!
+############################################################################
+# org.exoplatform.portal.component.customization.UIShareNavigationForm #
+############################################################################
+
+UITabPane.title.UISharedNavigationForm=Navegaci\u00f3n compartida
+
+UISharedNavigationForm.action.Save=#{word.save}
+UISharedNavigationForm.action.Back=#{word.back}
+UISharedNavigationForm.action.Remove=Eliminar
+
+UISharedNavigationForm.label.navigation=Navegaci\u00f3n
+UISharedNavigationForm.label.description=Descripci\u00f3n
+UISharedNavigation.msg.notSelected=\u00a1Debes seleccionar un Grupo!
+UISharedNavigationForm.tab.label.SharedNavigation=Ajustes de la Navegaci\u00f3n compartida
+UISharedNavigationForm.label.membership=Afiliaci\u00f3n
+UISharedNavigationForm.tab.label.Permission=Selector de Permisos
+UISharedNavigationForm.label.priority=Prioridad
+UISharedNavigationForm.msg.user-nonexist=El usuario "{0}" no existe
+
+#############################################################################
+# org.exoplatform.portal.component.customization.UISharePortalForm#
+#############################################################################
+UITabPane.title.UISharedPortalForm=Portal Compartido
+UISharedPortalForm.action.Save=#{word.save}
+UISharedPortalForm.action.Back=#{word.back}
+UISharedPortalForm.action.Remove=Eliminar
+
+UISharedPortalForm.label.portal=Portal
+UISharedPortalForm.label.description=Descripci\u00f3n
+UISharedPortalForm.label.membership=Afiliaci\u00f3n
+UISharedPortalForm.label.priority=Prioridad
+
+UISharedPortalForm.tab.label.SharedPortal=Ajustes del Portal
+UISharedPortalForm.tab.label.Permission=Selector de Permisos
+
+UITabPane.title.UIUserInGroup=Informaci\u00f3n del Group
+UIGroupSharedInfo.title=Informaci\u00f3n Compartida
+UISharedPortalForm.msg.user-nonexist=El usuario "{0}" no existe
+
+#############################################################################
+# org.exoplatform.portal.organization.component.UIGroupManagement#
+#############################################################################
+UIGroupManagement.label.Groups=Grupos
+UIGroupManagement.deleteGroup=\u00bfEst\u00e1s seguro de que desaeas eliminar este grupo?
+UIGroupManagement.label.Groups=Grupos
+UIGroupManagement.label.AddGroup=A\u00f1adir nuevo Grupo
+UIGroupManagement.label.EditGroup=Editar el Grupo Seleccionado
+UIGroupManagement.label.DeleteGroup=Borrar el Grupo Seleccionado
+
+#############################################################################
+# org.exoplatform.portal.organization.component.UISharedNavigation#
+#############################################################################
+UITabPane.title.UISharedNavigation=Navegaci\u00f3n de P\u00e1gina de Grupo
+UISharedNavigation.label.userNavigation=Nombre dela navegaci\u00f3n de P\u00e1gina del Usuario
+UISharedNavigation.label.priority=Prioridad
+UISharedNavigation.action.Save=Guardar
Added: portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/PortalNavigationPortlet_es.properties
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/PortalNavigationPortlet_es.properties (rev 0)
+++ portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/PortalNavigationPortlet_es.properties 2009-11-10 13:22:35 UTC (rev 549)
@@ -0,0 +1,24 @@
+#
+# Copyright (C) 2009 eXo Platform SAS.
+#
+# This is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as
+# published by the Free Software Foundation; either version 2.1 of
+# the License, or (at your option) any later version.
+#
+# This software is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# 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.
+#
+
+UISiteManagement.action.addNewPortal=A\u00f1adir nuevo Portal
+UISiteManagement.label.editLayout=Editar Distribuci\u00f3n
+UISiteManagement.label.editNav=Editar Navegaci\u00f3n
+UISiteManagement.label.editPortalProp=Editar las propiedades del Portal
+UISiteManagement.label.deletePortal=Borrar
Added: portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/StarToolbarPortlet_es.properties
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/StarToolbarPortlet_es.properties (rev 0)
+++ portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/StarToolbarPortlet_es.properties 2009-11-10 13:22:35 UTC (rev 549)
@@ -0,0 +1,23 @@
+#
+# Copyright (C) 2009 eXo Platform SAS.
+#
+# This is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as
+# published by the Free Software Foundation; either version 2.1 of
+# the License, or (at your option) any later version.
+#
+# This software is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# 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.
+#
+
+UIStarToolbarPortlet.item.ChangeLanguage=Cambiar Idioma
+UIStarToolbarPortlet.item.ChangeSkin=Cambiar Skin
+UIStarToolbarPortlet.item.AccountSetting=Ajustes de Cuenta
+UIStarToolbarPortlet.item.Logout=Desconectar
Added: portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/UserToolbarPortlet_es.properties
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/UserToolbarPortlet_es.properties (rev 0)
+++ portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/UserToolbarPortlet_es.properties 2009-11-10 13:22:35 UTC (rev 549)
@@ -0,0 +1,19 @@
+#
+# Copyright (C) 2009 eXo Platform SAS.
+#
+# This is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as
+# published by the Free Software Foundation; either version 2.1 of
+# the License, or (at your option) any later version.
+#
+# This software is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# 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.
+#
+
Added: portal/trunk/portlet/web/src/main/webapp/WEB-INF/classes/locale/portlet/portal/NavigationPortlet_es.properties
===================================================================
--- portal/trunk/portlet/web/src/main/webapp/WEB-INF/classes/locale/portlet/portal/NavigationPortlet_es.properties (rev 0)
+++ portal/trunk/portlet/web/src/main/webapp/WEB-INF/classes/locale/portlet/portal/NavigationPortlet_es.properties 2009-11-10 13:22:35 UTC (rev 549)
@@ -0,0 +1,20 @@
+#
+# Copyright (C) 2009 eXo Platform SAS.
+#
+# This is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as
+# published by the Free Software Foundation; either version 2.1 of
+# the License, or (at your option) any later version.
+#
+# This software is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# 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.
+#
+
+javax.portlet.title=Portlet de Navegaci\u00f3n
Added: portal/trunk/portlet/web/src/main/webapp/WEB-INF/classes/locale/portlet/portal/PortalNavigationPortlet_es.properties
===================================================================
--- portal/trunk/portlet/web/src/main/webapp/WEB-INF/classes/locale/portlet/portal/PortalNavigationPortlet_es.properties (rev 0)
+++ portal/trunk/portlet/web/src/main/webapp/WEB-INF/classes/locale/portlet/portal/PortalNavigationPortlet_es.properties 2009-11-10 13:22:35 UTC (rev 549)
@@ -0,0 +1,20 @@
+#
+# Copyright (C) 2009 eXo Platform SAS.
+#
+# This is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as
+# published by the Free Software Foundation; either version 2.1 of
+# the License, or (at your option) any later version.
+#
+# This software is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# 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.
+#
+
+javax.portlet.title=Portlet de Navegaci\u00f3n
Added: portal/trunk/portlet/web/src/main/webapp/WEB-INF/classes/locale/portlet/web/BreadcumbsPortlet_es.properties
===================================================================
--- portal/trunk/portlet/web/src/main/webapp/WEB-INF/classes/locale/portlet/web/BreadcumbsPortlet_es.properties (rev 0)
+++ portal/trunk/portlet/web/src/main/webapp/WEB-INF/classes/locale/portlet/web/BreadcumbsPortlet_es.properties 2009-11-10 13:22:35 UTC (rev 549)
@@ -0,0 +1,20 @@
+#
+# Copyright (C) 2009 eXo Platform SAS.
+#
+# This is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as
+# published by the Free Software Foundation; either version 2.1 of
+# the License, or (at your option) any later version.
+#
+# This software is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# 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.
+#
+
+javax.portlet.title=Portlet Breadcumbs
Added: portal/trunk/portlet/web/src/main/webapp/WEB-INF/classes/locale/portlet/web/GroovyPortlet_es.properties
===================================================================
--- portal/trunk/portlet/web/src/main/webapp/WEB-INF/classes/locale/portlet/web/GroovyPortlet_es.properties (rev 0)
+++ portal/trunk/portlet/web/src/main/webapp/WEB-INF/classes/locale/portlet/web/GroovyPortlet_es.properties 2009-11-10 13:22:35 UTC (rev 549)
@@ -0,0 +1,41 @@
+#
+# Copyright (C) 2009 eXo Platform SAS.
+#
+# This is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as
+# published by the Free Software Foundation; either version 2.1 of
+# the License, or (at your option) any later version.
+#
+# This software is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# 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.
+#
+
+#####################################################################################
+# EXCEPTION MAPPINGS #
+#####################################################################################
+UIGroovyPortlet.note.Text=Este es el Portlet Groovy (Portlet Ejemplo) puede ser desarrollado como aplicaci\u00f3n Web en el futuro.
+UIIFrameEditMode.title=Cambiar URL
+UIIFrameEditMode.label.iframeUrl=URL
+UIIFrameEditMode.label.editmode=Modo Edici\u00f3n
+UIIFrameEditMode.action.Save=Guardar
+
+UIBannerPortlet.action.changeLanguage=Cambiar Idioma
+UIBannerPortlet.action.Register=Registrarse
+
+ #############################################################################
+ #org.exoplatform.portal.webui.component.UIHomePagePortlet #
+ #############################################################################
+
+UIHomePagePortlet.Label.Title=Prueba GateIn 3.0 con uno de los siguientes usuarios:
+UIHomePagePortlet.Label.Intro=La nueva versi\u00f3n viene con un interfaz de usuario revolucionario<br/>Layouts Cl\u00e1sico y Escritorio WebOS <br/> Funcionalidad Drag and Drop. Asistente de Creaci\u00f3n de P\u00e1gina<br/>Y mucho m\u00e1s...
+UIHomePagePortlet.Label.Slogan=Lo mejor de eXo y JBoss Portal<div>GateIn 3.0 Beta 2</div>
+UIHomePagePortlet.Label.Username=Usuario:
+UIHomePagePortlet.Label.Password=Contrase\u00f1a:
+
Added: portal/trunk/portlet/web/src/main/webapp/WEB-INF/classes/locale/portlet/web/LogoPortlet_es.properties
===================================================================
--- portal/trunk/portlet/web/src/main/webapp/WEB-INF/classes/locale/portlet/web/LogoPortlet_es.properties (rev 0)
+++ portal/trunk/portlet/web/src/main/webapp/WEB-INF/classes/locale/portlet/web/LogoPortlet_es.properties 2009-11-10 13:22:35 UTC (rev 549)
@@ -0,0 +1,32 @@
+#
+# Copyright (C) 2009 eXo Platform SAS.
+#
+# This is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as
+# published by the Free Software Foundation; either version 2.1 of
+# the License, or (at your option) any later version.
+#
+# This software is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# 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.
+#
+
+#####################################################################################
+# EXCEPTION MAPPINGS #
+#####################################################################################
+UILogoPortlet.note.Text=Este es el Logo
+UILogoEditMode.title=Cambiar URL
+UILogoEditMode.label.logoUrl=URL
+UILogoEditMode.label.editmode=Modo Edici\u00f3n
+UILogoEditMode.action.Save=Guardar
+UILogoPortlet.action.changeLanguage=Cambiar Idioma
+UILogoPortlet.action.Register=Registrarse
+UILogoPortlet.action.signout=Salir
+UILogoPortlet.action.signin=Ingresar
+UILogoPortlet.label.Welcome=Bienvenid@
Modified: portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/common/locales-config.xml
===================================================================
--- portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/common/locales-config.xml 2009-11-10 11:16:40 UTC (rev 548)
+++ portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/common/locales-config.xml 2009-11-10 13:22:35 UTC (rev 549)
@@ -51,21 +51,19 @@
</locale-config>
<locale-config>
+ <locale>es</locale>
+ <output-encoding>UTF-8</output-encoding>
+ <input-encoding>UTF-8</input-encoding>
+ <description>Default configuration for spanish locale</description>
+ </locale-config>
+
+ <locale-config>
<locale>uk</locale>
<output-encoding>UTF-8</output-encoding>
<input-encoding>UTF-8</input-encoding>
<description>Default configuration for ukr locale</description>
</locale-config>
-
-
-<locale-config>^M
- <locale>es</locale>^M
- <output-encoding>UTF-8</output-encoding>^M
- <input-encoding>UTF-8</input-encoding>^M
- <description>Default configuration for the spanish locale</description>
- </locale-config>
-
<locale-config>
<locale>ar</locale>
<output-encoding>UTF-8</output-encoding>
15 years, 1 month
gatein SVN: r548 - portal/trunk/component/application-registry/src/main/java/org/exoplatform/application/registry/mop.
by do-not-reply@jboss.org
Author: julien_viet
Date: 2009-11-10 06:16:40 -0500 (Tue, 10 Nov 2009)
New Revision: 548
Modified:
portal/trunk/component/application-registry/src/main/java/org/exoplatform/application/registry/mop/MOPApplicationRegistryService.java
Log:
simplify
Modified: portal/trunk/component/application-registry/src/main/java/org/exoplatform/application/registry/mop/MOPApplicationRegistryService.java
===================================================================
--- portal/trunk/component/application-registry/src/main/java/org/exoplatform/application/registry/mop/MOPApplicationRegistryService.java 2009-11-10 11:09:05 UTC (rev 547)
+++ portal/trunk/component/application-registry/src/main/java/org/exoplatform/application/registry/mop/MOPApplicationRegistryService.java 2009-11-10 11:16:40 UTC (rev 548)
@@ -266,19 +266,7 @@
if (contentDef == null)
{
String contentId = application.getContentId();
- ContentType<?> contentType;
- if (ApplicationType.PORTLET.equals(application.getType()))
- {
- contentType = Preferences.CONTENT_TYPE;
- }
- else if (ApplicationType.GADGET.equals(application.getType()))
- {
- contentType = org.exoplatform.portal.pom.spi.gadget.Gadget.CONTENT_TYPE;
- }
- else
- {
- throw new UnsupportedOperationException("Unnsupported type " + application.getType());
- }
+ ContentType<?> contentType = application.getType().getContentType();
String definitionName = application.getDisplayName().replace(' ', '_');
contentDef = categoryDef.createContent(definitionName, contentType, contentId);
}
15 years, 1 month
gatein SVN: r547 - in portal/trunk: component/application-registry/src/main/java/org/exoplatform/application/registry/mop and 12 other directories.
by do-not-reply@jboss.org
Author: julien_viet
Date: 2009-11-10 06:09:05 -0500 (Tue, 10 Nov 2009)
New Revision: 547
Modified:
portal/trunk/component/application-registry/src/main/java/org/exoplatform/application/registry/Application.java
portal/trunk/component/application-registry/src/main/java/org/exoplatform/application/registry/ApplicationRegistryService.java
portal/trunk/component/application-registry/src/main/java/org/exoplatform/application/registry/mop/MOPApplicationRegistryService.java
portal/trunk/component/application-registry/src/test/java/org/exoplatform/application/registry/TestApplicationRegistryService.java
portal/trunk/component/dashboard/src/main/java/org/exoplatform/dashboard/webui/component/UIDashboardSelectContainer.java
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/config/model/Application.java
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/config/model/ApplicationType.java
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/config/model/gadget/GadgetApplication.java
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/config/model/portlet/PortletApplication.java
portal/trunk/component/portal/src/main/java/org/exoplatform/portal/config/model/wsrp/WSRPApplication.java
portal/trunk/portlet/dashboard/src/main/java/org/exoplatform/gadget/webui/component/UIGadgetEditMode.java
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIAddApplicationForm.java
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIApplicationOrganizer.java
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UICategorySelector.java
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIGadgetInfo.java
portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/portal/application-registry-configuration.xml
portal/trunk/webui/eXo/src/main/java/org/exoplatform/web/command/handler/GetApplicationHandler.java
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIAddNewApplication.java
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/portal/UIPortalComponentActionListener.java
Log:
uniformise usage of application type accross frameworks
Modified: portal/trunk/component/application-registry/src/main/java/org/exoplatform/application/registry/Application.java
===================================================================
--- portal/trunk/component/application-registry/src/main/java/org/exoplatform/application/registry/Application.java 2009-11-10 10:55:29 UTC (rev 546)
+++ portal/trunk/component/application-registry/src/main/java/org/exoplatform/application/registry/Application.java 2009-11-10 11:09:05 UTC (rev 547)
@@ -19,6 +19,8 @@
package org.exoplatform.application.registry;
+import org.exoplatform.portal.config.model.ApplicationType;
+
import java.util.ArrayList;
import java.util.Date;
@@ -45,7 +47,7 @@
private String applicationName;
- private String applicationType;
+ private String type;
/** . */
private String storageId;
@@ -162,14 +164,14 @@
this.applicationName = applicationName;
}
- public String getApplicationType()
+ public ApplicationType getType()
{
- return applicationType;
+ return type != null ? ApplicationType.getType(type) : null;
}
- public void setApplicationType(String applicationType)
+ public void setType(ApplicationType type)
{
- this.applicationType = applicationType;
+ this.type = type != null ? type.getName() : null;
}
public String getIconURL()
Modified: portal/trunk/component/application-registry/src/main/java/org/exoplatform/application/registry/ApplicationRegistryService.java
===================================================================
--- portal/trunk/component/application-registry/src/main/java/org/exoplatform/application/registry/ApplicationRegistryService.java 2009-11-10 10:55:29 UTC (rev 546)
+++ portal/trunk/component/application-registry/src/main/java/org/exoplatform/application/registry/ApplicationRegistryService.java 2009-11-10 11:09:05 UTC (rev 547)
@@ -20,6 +20,7 @@
package org.exoplatform.application.registry;
import org.exoplatform.container.component.ComponentPlugin;
+import org.exoplatform.portal.config.model.ApplicationType;
import java.util.Comparator;
import java.util.List;
@@ -32,7 +33,7 @@
public interface ApplicationRegistryService
{
- public List<ApplicationCategory> getApplicationCategories(String accessUser, String... appTypes) throws Exception;
+ public List<ApplicationCategory> getApplicationCategories(String accessUser, ApplicationType<?, ?>... appTypes) throws Exception;
public void initListener(ComponentPlugin com) throws Exception;
@@ -47,10 +48,10 @@
public void remove(ApplicationCategory category) throws Exception;
- public List<Application> getApplications(ApplicationCategory category, String... appTypes) throws Exception;
+ public List<Application> getApplications(ApplicationCategory category, ApplicationType<?, ?>... appTypes) throws Exception;
public List<Application> getApplications(ApplicationCategory category, Comparator<Application> sortComparator,
- String... appTypes) throws Exception;
+ ApplicationType<?, ?>... appTypes) throws Exception;
public List<Application> getAllApplications() throws Exception;
Modified: portal/trunk/component/application-registry/src/main/java/org/exoplatform/application/registry/mop/MOPApplicationRegistryService.java
===================================================================
--- portal/trunk/component/application-registry/src/main/java/org/exoplatform/application/registry/mop/MOPApplicationRegistryService.java 2009-11-10 10:55:29 UTC (rev 546)
+++ portal/trunk/component/application-registry/src/main/java/org/exoplatform/application/registry/mop/MOPApplicationRegistryService.java 2009-11-10 11:09:05 UTC (rev 547)
@@ -26,6 +26,7 @@
import org.exoplatform.container.ExoContainerContext;
import org.exoplatform.container.component.ComponentPlugin;
import org.exoplatform.portal.config.UserACL;
+import org.exoplatform.portal.config.model.ApplicationType;
import org.exoplatform.portal.pom.config.POMSession;
import org.exoplatform.portal.pom.config.POMSessionManager;
import org.exoplatform.portal.pom.registry.CategoryDefinition;
@@ -85,7 +86,7 @@
public List<ApplicationCategory> getApplicationCategories(
Comparator<ApplicationCategory> sortComparator,
String accessUser,
- String... appTypes) throws Exception
+ ApplicationType<?, ?>... appTypes) throws Exception
{
POMSession session = POMSessionManager.getSession();
ContentRegistry registry = session.getContentRegistry();
@@ -108,7 +109,7 @@
return categories;
}
- public List<ApplicationCategory> getApplicationCategories(String accessUser, String... appTypes) throws Exception
+ public List<ApplicationCategory> getApplicationCategories(String accessUser, ApplicationType<?, ?>... appTypes) throws Exception
{
return getApplicationCategories(null, accessUser, appTypes);
}
@@ -172,7 +173,7 @@
registry.getCategoryMap().remove(category.getName());
}
- public List<Application> getApplications(ApplicationCategory category, String... appTypes) throws Exception
+ public List<Application> getApplications(ApplicationCategory category, ApplicationType<?, ?>... appTypes) throws Exception
{
return getApplications(category, null, appTypes);
}
@@ -180,7 +181,7 @@
public List<Application> getApplications(
ApplicationCategory category,
Comparator<Application> sortComparator,
- String... appTypes) throws Exception
+ ApplicationType<?, ?>... appTypes) throws Exception
{
POMSession session = POMSessionManager.getSession();
ContentRegistry registry = session.getContentRegistry();
@@ -266,17 +267,17 @@
{
String contentId = application.getContentId();
ContentType<?> contentType;
- if ("portlet".equals(application.getApplicationType()))
+ if (ApplicationType.PORTLET.equals(application.getType()))
{
contentType = Preferences.CONTENT_TYPE;
}
- else if ("eXoGadget".equals(application.getApplicationType()))
+ else if (ApplicationType.GADGET.equals(application.getType()))
{
contentType = org.exoplatform.portal.pom.spi.gadget.Gadget.CONTENT_TYPE;
}
else
{
- throw new UnsupportedOperationException("Nnsupported type " + application.getApplicationType());
+ throw new UnsupportedOperationException("Unnsupported type " + application.getType());
}
String definitionName = application.getDisplayName().replace(' ', '_');
contentDef = categoryDef.createContent(definitionName, contentType, contentId);
@@ -473,15 +474,15 @@
}
}
- private boolean isApplicationType(Application app, String... appTypes)
+ private boolean isApplicationType(Application app, ApplicationType<?, ?>... appTypes)
{
if (appTypes == null || appTypes.length == 0)
{
return true;
}
- for (String appType : appTypes)
+ for (ApplicationType<?, ?> appType : appTypes)
{
- if (appType.equals(app.getApplicationType()))
+ if (appType.equals(app.getType()))
{
return true;
}
@@ -498,7 +499,7 @@
categoryDef.setLastModificationDate(category.getModifiedDate());
}
- private ApplicationCategory load(CategoryDefinition categoryDef, String... appTypes)
+ private ApplicationCategory load(CategoryDefinition categoryDef, ApplicationType<?, ?>... appTypes)
{
ApplicationCategory category = new ApplicationCategory();
@@ -535,31 +536,14 @@
private Application load(ContentDefinition contentDef)
{
- String applicationType;
ContentType<?> contentType = contentDef.getCustomization().getType();
- if (contentType == org.exoplatform.portal.pom.spi.gadget.Gadget.CONTENT_TYPE)
- {
- applicationType = org.exoplatform.web.application.Application.EXO_GADGET_TYPE;
- }
- else if (contentType == WSRP.CONTENT_TYPE)
- {
- applicationType = org.exoplatform.web.application.Application.WSRP_TYPE;
- }
- else if (contentType == Preferences.CONTENT_TYPE)
- {
- applicationType = org.exoplatform.web.application.Application.EXO_PORTLET_TYPE;
- }
- else
- {
- throw new AssertionError();
- }
+ ApplicationType<?, ?> applicationType = ApplicationType.getType(contentType);
-
//
Application application = new Application();
application.setId(contentDef.getCategory().getName() + "/" + contentDef.getName());
application.setCategoryName(contentDef.getCategory().getName());
- application.setApplicationType(applicationType);
+ application.setType(applicationType);
application.setApplicationName(contentDef.getName());
application.setIconURL(getApplicationIconURL(contentDef));
application.setDisplayName(contentDef.getDisplayName());
Modified: portal/trunk/component/application-registry/src/test/java/org/exoplatform/application/registry/TestApplicationRegistryService.java
===================================================================
--- portal/trunk/component/application-registry/src/test/java/org/exoplatform/application/registry/TestApplicationRegistryService.java 2009-11-10 10:55:29 UTC (rev 546)
+++ portal/trunk/component/application-registry/src/test/java/org/exoplatform/application/registry/TestApplicationRegistryService.java 2009-11-10 11:09:05 UTC (rev 547)
@@ -323,7 +323,7 @@
Application app = new Application();
app.setApplicationName(appName);
app.setDisplayName(appName);
- app.setApplicationType(appType);
+ app.setType(appType);
// app.setApplicationGroup(appGroup);
return app;
}
Modified: portal/trunk/component/dashboard/src/main/java/org/exoplatform/dashboard/webui/component/UIDashboardSelectContainer.java
===================================================================
--- portal/trunk/component/dashboard/src/main/java/org/exoplatform/dashboard/webui/component/UIDashboardSelectContainer.java 2009-11-10 10:55:29 UTC (rev 546)
+++ portal/trunk/component/dashboard/src/main/java/org/exoplatform/dashboard/webui/component/UIDashboardSelectContainer.java 2009-11-10 11:09:05 UTC (rev 547)
@@ -22,6 +22,7 @@
import org.exoplatform.application.registry.Application;
import org.exoplatform.application.registry.ApplicationCategory;
import org.exoplatform.application.registry.ApplicationRegistryService;
+import org.exoplatform.portal.config.model.ApplicationType;
import org.exoplatform.portal.webui.container.UIContainer;
import org.exoplatform.webui.application.WebuiRequestContext;
import org.exoplatform.webui.config.annotation.ComponentConfig;
@@ -61,7 +62,7 @@
String remoteUser = ((WebuiRequestContext)WebuiRequestContext.getCurrentInstance()).getRemoteUser();
List<ApplicationCategory> listCategories =
- service.getApplicationCategories(remoteUser, org.exoplatform.web.application.Application.EXO_GADGET_TYPE);
+ service.getApplicationCategories(remoteUser, ApplicationType.GADGET);
Iterator<ApplicationCategory> appCateIte = listCategories.iterator();
while (appCateIte.hasNext())
Modified: portal/trunk/component/portal/src/main/java/org/exoplatform/portal/config/model/Application.java
===================================================================
--- portal/trunk/component/portal/src/main/java/org/exoplatform/portal/config/model/Application.java 2009-11-10 10:55:29 UTC (rev 546)
+++ portal/trunk/component/portal/src/main/java/org/exoplatform/portal/config/model/Application.java 2009-11-10 11:09:05 UTC (rev 547)
@@ -209,8 +209,6 @@
icon = value;
}
- public abstract String getApplicationType();
-
public String getDescription()
{
return description;
Modified: portal/trunk/component/portal/src/main/java/org/exoplatform/portal/config/model/ApplicationType.java
===================================================================
--- portal/trunk/component/portal/src/main/java/org/exoplatform/portal/config/model/ApplicationType.java 2009-11-10 10:55:29 UTC (rev 546)
+++ portal/trunk/component/portal/src/main/java/org/exoplatform/portal/config/model/ApplicationType.java 2009-11-10 11:09:05 UTC (rev 547)
@@ -38,6 +38,46 @@
public class ApplicationType<S, I>
{
+ public static ApplicationType<?, ?> getType(String name)
+ {
+ if (PORTLET.getName().equals(name))
+ {
+ return ApplicationType.PORTLET;
+ }
+ else if (GADGET.getName().equals(name))
+ {
+ return ApplicationType.GADGET;
+ }
+ else if (WSRP_PORTLET.getName().equals(name))
+ {
+ return ApplicationType.WSRP_PORTLET;
+ }
+ else
+ {
+ return null;
+ }
+ }
+
+ public static <S> ApplicationType<S, ?> getType(ContentType<S> name)
+ {
+ if (PORTLET.getContentType().equals(name))
+ {
+ return (ApplicationType<S,?>)ApplicationType.PORTLET;
+ }
+ else if (GADGET.getContentType().equals(name))
+ {
+ return (ApplicationType<S,?>)ApplicationType.GADGET;
+ }
+ else if (WSRP_PORTLET.getContentType().equals(name))
+ {
+ return (ApplicationType<S,?>)ApplicationType.WSRP_PORTLET;
+ }
+ else
+ {
+ return null;
+ }
+ }
+
/** . */
public static final ApplicationType<Preferences, PortletId> PORTLET =
new ApplicationType<Preferences, PortletId>(Preferences.CONTENT_TYPE, "portlet");
Modified: portal/trunk/component/portal/src/main/java/org/exoplatform/portal/config/model/gadget/GadgetApplication.java
===================================================================
--- portal/trunk/component/portal/src/main/java/org/exoplatform/portal/config/model/gadget/GadgetApplication.java 2009-11-10 10:55:29 UTC (rev 546)
+++ portal/trunk/component/portal/src/main/java/org/exoplatform/portal/config/model/gadget/GadgetApplication.java 2009-11-10 11:09:05 UTC (rev 547)
@@ -60,10 +60,4 @@
{
return ApplicationType.GADGET;
}
-
- @Override
- public String getApplicationType()
- {
- return org.exoplatform.web.application.Application.EXO_GADGET_TYPE;
- }
}
Modified: portal/trunk/component/portal/src/main/java/org/exoplatform/portal/config/model/portlet/PortletApplication.java
===================================================================
--- portal/trunk/component/portal/src/main/java/org/exoplatform/portal/config/model/portlet/PortletApplication.java 2009-11-10 10:55:29 UTC (rev 546)
+++ portal/trunk/component/portal/src/main/java/org/exoplatform/portal/config/model/portlet/PortletApplication.java 2009-11-10 11:09:05 UTC (rev 547)
@@ -60,10 +60,4 @@
{
return ApplicationType.PORTLET;
}
-
- @Override
- public String getApplicationType()
- {
- return org.exoplatform.web.application.Application.EXO_PORTLET_TYPE;
- }
}
Modified: portal/trunk/component/portal/src/main/java/org/exoplatform/portal/config/model/wsrp/WSRPApplication.java
===================================================================
--- portal/trunk/component/portal/src/main/java/org/exoplatform/portal/config/model/wsrp/WSRPApplication.java 2009-11-10 10:55:29 UTC (rev 546)
+++ portal/trunk/component/portal/src/main/java/org/exoplatform/portal/config/model/wsrp/WSRPApplication.java 2009-11-10 11:09:05 UTC (rev 547)
@@ -50,10 +50,4 @@
{
return ApplicationType.WSRP_PORTLET;
}
-
- @Override
- public String getApplicationType()
- {
- return org.exoplatform.web.application.Application.WSRP_TYPE;
- }
}
Modified: portal/trunk/portlet/dashboard/src/main/java/org/exoplatform/gadget/webui/component/UIGadgetEditMode.java
===================================================================
--- portal/trunk/portlet/dashboard/src/main/java/org/exoplatform/gadget/webui/component/UIGadgetEditMode.java 2009-11-10 10:55:29 UTC (rev 546)
+++ portal/trunk/portlet/dashboard/src/main/java/org/exoplatform/gadget/webui/component/UIGadgetEditMode.java 2009-11-10 11:09:05 UTC (rev 547)
@@ -22,6 +22,7 @@
import org.exoplatform.application.registry.Application;
import org.exoplatform.application.registry.ApplicationRegistryService;
import org.exoplatform.portal.config.UserACL;
+import org.exoplatform.portal.config.model.ApplicationType;
import org.exoplatform.portal.config.model.gadget.GadgetId;
import org.exoplatform.portal.webui.application.UIGadget;
import org.exoplatform.portal.webui.util.Util;
@@ -191,7 +192,7 @@
List<Application> appList = service.getAllApplications();
for (Application app : appList)
{
- if (app.getApplicationType().equals(org.exoplatform.web.application.Application.EXO_GADGET_TYPE))
+ if (app.getType().equals(ApplicationType.GADGET))
{
for (String per : app.getAccessPermissions())
{
Modified: portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIAddApplicationForm.java
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIAddApplicationForm.java 2009-11-10 10:55:29 UTC (rev 546)
+++ portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIAddApplicationForm.java 2009-11-10 11:09:05 UTC (rev 547)
@@ -28,8 +28,8 @@
import org.exoplatform.commons.utils.LazyPageList;
import org.exoplatform.container.ExoContainer;
import org.exoplatform.container.ExoContainerContext;
+import org.exoplatform.portal.config.model.ApplicationType;
import org.exoplatform.web.application.ApplicationMessage;
-import org.exoplatform.web.application.gadget.GadgetApplication;
import org.exoplatform.webui.application.WebuiRequestContext;
import org.exoplatform.webui.config.annotation.ComponentConfig;
import org.exoplatform.webui.config.annotation.EventConfig;
@@ -83,8 +83,8 @@
{
addUIFormInput(new UIFormStringInput(FIELD_NAME, null, null).addValidator(StringLengthValidator.class, 3, 30));
List<SelectItemOption<String>> types = new ArrayList<SelectItemOption<String>>(2);
- types.add(new SelectItemOption<String>(org.exoplatform.web.application.Application.EXO_PORTLET_TYPE));
- types.add(new SelectItemOption<String>(org.exoplatform.web.application.Application.EXO_GADGET_TYPE));
+ types.add(new SelectItemOption<String>(ApplicationType.PORTLET.getName()));
+ types.add(new SelectItemOption<String>(ApplicationType.GADGET.getName()));
UIFormSelectBox uiSelectBox = new UIFormSelectBox(FIELD_TYPE, null, types);
uiSelectBox.setOnChange("ChangeType");
addUIFormInput(uiSelectBox);
@@ -94,7 +94,7 @@
uiTableInputSet.setId(tableName);
uiTableInputSet.setColumns(TABLE_COLUMNS);
addChild(uiTableInputSet);
- setApplicationList(org.exoplatform.web.application.Application.EXO_PORTLET_TYPE);
+ setApplicationList(ApplicationType.PORTLET.getName());
setActions(new String[]{"Add", "Cancel"});
}
@@ -142,17 +142,18 @@
uiIterator.setPageList(pageList);
}
- private List<Application> getApplicationByType(String type) throws Exception
+ private List<Application> getApplicationByType(String typeName) throws Exception
{
- if (org.exoplatform.web.application.Application.EXO_PORTLET_TYPE.equals(type))
+ ApplicationType type = ApplicationType.getType(typeName);
+ if (ApplicationType.PORTLET == type)
{
return createApplicationsFromPortlets(false);
}
- else if (org.exoplatform.web.application.Application.WSRP_TYPE.equals(type))
+ else if (ApplicationType.WSRP_PORTLET == type)
{
return createApplicationsFromPortlets(true);
}
- else if (org.exoplatform.web.application.Application.EXO_GADGET_TYPE.equals(type))
+ else if (ApplicationType.GADGET == type)
{
GadgetRegistryService gadgetService = getApplicationComponent(GadgetRegistryService.class);
List<Gadget> gadgets = gadgetService.getAllGadgets();
@@ -161,11 +162,9 @@
{
Application app = new Application();
app.setApplicationName(gadget.getName());
-// app.setApplicationGroup(GadgetApplication.EXO_GADGET_GROUP);
- app.setApplicationType(org.exoplatform.web.application.Application.EXO_GADGET_TYPE);
+ app.setType(ApplicationType.GADGET);
app.setDisplayName(gadget.getTitle());
-// app.setUri(gadget.getUrl());
- app.setContentId(gadget.getUrl());
+ app.setContentId(gadget.getName());
String description =
(gadget.getDescription() == null || gadget.getDescription().length() < 1) ? gadget.getName() : gadget
.getDescription();
@@ -198,19 +197,19 @@
Application app = new Application();
app.setApplicationName(portletName);
// app.setApplicationGroup(info.getApplicationName());
- String appType;
+ ApplicationType appType;
String contentId;
if (remote)
{
- appType = org.exoplatform.web.application.Application.WSRP_TYPE;
+ appType = ApplicationType.WSRP_PORTLET;
contentId = portlet.getContext().getId();
}
else
{
- appType = org.exoplatform.web.application.Application.EXO_PORTLET_TYPE;
+ appType = ApplicationType.PORTLET;
contentId = info.getApplicationName() + "/" + info.getName();
}
- app.setApplicationType(appType);
+ app.setType(appType);
app.setDisplayName(Util.getLocalizedStringValue(displayNameLS, portletName));
app.setDescription(Util.getLocalizedStringValue(descriptionLS, portletName));
app.setAccessPermissions(new ArrayList<String>());
@@ -290,7 +289,7 @@
Application newApp = new Application();
newApp.setApplicationName(app.getApplicationName());
newApp.setDisplayName(app.getDisplayName());
- newApp.setApplicationType(app.getApplicationType());
+ newApp.setType(app.getType());
newApp.setDescription(app.getDescription());
newApp.setAccessPermissions(app.getAccessPermissions());
newApp.setContentId(app.getContentId());
Modified: portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIApplicationOrganizer.java
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIApplicationOrganizer.java 2009-11-10 10:55:29 UTC (rev 546)
+++ portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIApplicationOrganizer.java 2009-11-10 11:09:05 UTC (rev 547)
@@ -24,6 +24,7 @@
import org.exoplatform.application.registry.ApplicationRegistryService;
import org.exoplatform.applicationregistry.webui.Util;
import org.exoplatform.portal.application.PortalRequestContext;
+import org.exoplatform.portal.config.model.ApplicationType;
import org.exoplatform.portal.webui.portal.UIPortal;
import org.exoplatform.web.application.ApplicationMessage;
import org.exoplatform.webui.application.WebuiRequestContext;
@@ -121,7 +122,7 @@
{
selectedCategory = category;
ApplicationRegistryService service = getApplicationComponent(ApplicationRegistryService.class);
- applications = service.getApplications(selectedCategory, new Util.ApplicationComparator(), new String[]{});
+ applications = service.getApplications(selectedCategory, new Util.ApplicationComparator(), new ApplicationType[0]);
if (applications == null || applications.isEmpty())
{
setSelectedApplication(null);
Modified: portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UICategorySelector.java
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UICategorySelector.java 2009-11-10 10:55:29 UTC (rev 546)
+++ portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UICategorySelector.java 2009-11-10 11:09:05 UTC (rev 547)
@@ -112,11 +112,9 @@
Application newApp = new Application();
newApp.setApplicationName(app.getApplicationName());
newApp.setDisplayName(app.getDisplayName());
- newApp.setApplicationType(app.getApplicationType());
- //newApp.setApplicationGroup(app.getApplicationGroup());
+ newApp.setType(app.getType());
newApp.setDescription(app.getDescription());
newApp.setAccessPermissions(app.getAccessPermissions());
- //newApp.setUri(app.getUri());
return newApp;
}
}
Modified: portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIGadgetInfo.java
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIGadgetInfo.java 2009-11-10 10:55:29 UTC (rev 546)
+++ portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIGadgetInfo.java 2009-11-10 11:09:05 UTC (rev 547)
@@ -27,6 +27,7 @@
import org.exoplatform.application.registry.Application;
import org.exoplatform.application.registry.ApplicationCategory;
import org.exoplatform.application.registry.ApplicationRegistryService;
+import org.exoplatform.portal.config.model.ApplicationType;
import org.exoplatform.portal.webui.application.GadgetUtil;
import org.exoplatform.web.WebAppController;
import org.exoplatform.web.application.ApplicationMessage;
@@ -221,9 +222,8 @@
Application app = new Application();
app.setApplicationName(gadget.getName());
- app.setApplicationType(org.exoplatform.web.application.Application.EXO_GADGET_TYPE);
+ app.setType(ApplicationType.GADGET);
app.setDisplayName(gadget.getTitle());
- //app.setUri(gadget.getUrl());
String description =
(gadget.getDescription() == null || gadget.getDescription().length() < 1) ? gadget.getName() : gadget
.getDescription();
Modified: portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/portal/application-registry-configuration.xml
===================================================================
--- portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/portal/application-registry-configuration.xml 2009-11-10 10:55:29 UTC (rev 546)
+++ portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/portal/application-registry-configuration.xml 2009-11-10 11:09:05 UTC (rev 547)
@@ -120,7 +120,7 @@
<field name="description">
<string>Application Registry</string>
</field>
- <field name="applicationType">
+ <field name="type">
<string>portlet</string>
</field>
<field name="contentId">
@@ -152,7 +152,7 @@
<field name="description">
<string>Organization Management</string>
</field>
- <field name="applicationType">
+ <field name="type">
<string>portlet</string>
</field>
<field name="contentId">
@@ -184,7 +184,7 @@
<field name="description">
<string>New Account</string>
</field>
- <field name="applicationType">
+ <field name="type">
<string>portlet</string>
</field>
<field name="contentId">
@@ -243,7 +243,7 @@
<field name="description">
<string>IFrame</string>
</field>
- <field name="applicationType">
+ <field name="type">
<string>portlet</string>
</field>
<field name="contentId">
@@ -272,7 +272,7 @@
<field name="description">
<string>SiteMap</string>
</field>
- <field name="applicationType">
+ <field name="type">
<string>portlet</string>
</field>
<field name="contentId">
@@ -328,7 +328,7 @@
<field name="description">
<string>Dashboard Portlet</string>
</field>
- <field name="applicationType">
+ <field name="type">
<string>portlet</string>
</field>
<field name="contentId">
@@ -357,7 +357,7 @@
<field name="description">
<string>Gadget Wrapper Portlet</string>
</field>
- <field name="applicationType">
+ <field name="type">
<string>portlet</string>
</field>
<field name="contentId">
@@ -413,8 +413,8 @@
<field name="description">
<string>ToDo Gadget, easily manage and track your daily to-do list.</string>
</field>
- <field name="applicationType">
- <string>eXoGadget</string>
+ <field name="type">
+ <string>gadget</string>
</field>
<field name="contentId">
<string>Todo</string>
@@ -444,8 +444,8 @@
You can switch easily between daily, monthly or yearly view.
</string>
</field>
- <field name="applicationType">
- <string>eXoGadget</string>
+ <field name="type">
+ <string>gadget</string>
</field>
<field name="contentId">
<string>Calendar</string>
@@ -475,8 +475,8 @@
arithmetic operations.
</string>
</field>
- <field name="applicationType">
- <string>eXoGadget</string>
+ <field name="type">
+ <string>gadget</string>
</field>
<field name="contentId">
<string>Calculator</string>
@@ -504,8 +504,8 @@
<field name="description">
<string>Rss Reader</string>
</field>
- <field name="applicationType">
- <string>eXoGadget</string>
+ <field name="type">
+ <string>gadget</string>
</field>
<field name="contentId">
<string>rssAggregator</string>
Modified: portal/trunk/webui/eXo/src/main/java/org/exoplatform/web/command/handler/GetApplicationHandler.java
===================================================================
--- portal/trunk/webui/eXo/src/main/java/org/exoplatform/web/command/handler/GetApplicationHandler.java 2009-11-10 10:55:29 UTC (rev 546)
+++ portal/trunk/webui/eXo/src/main/java/org/exoplatform/web/command/handler/GetApplicationHandler.java 2009-11-10 11:09:05 UTC (rev 547)
@@ -26,6 +26,7 @@
import org.exoplatform.container.ExoContainerContext;
import org.exoplatform.json.BeanToJSONPlugin;
import org.exoplatform.json.JSONService;
+import org.exoplatform.portal.config.model.ApplicationType;
import org.exoplatform.web.WebAppController;
import org.exoplatform.web.command.Command;
@@ -45,9 +46,9 @@
public class GetApplicationHandler extends Command
{
- private String[] applicationType;
+ private ApplicationType<?, ?>[] applicationType;
- public void setApplicationTypes(String[] type)
+ public void setApplicationTypes(ApplicationType<?, ?>[] type)
{
applicationType = type;
}
@@ -76,7 +77,7 @@
(ApplicationRegistryService)container.getComponentInstanceOfType(ApplicationRegistryService.class);
if (applicationType == null)
- applicationType = new String[]{};
+ applicationType = new ApplicationType<?, ?>[0];
List<ApplicationCategory> appCategories = prService.getApplicationCategories(remoteUser, applicationType);
ApplicationCategoryToJSONPlugin toJSON = new ApplicationCategoryToJSONPlugin();
@@ -159,7 +160,7 @@
appendIndentation(builder, indentLevel + 1);
builder.append("'id' : ").append("'").append(application.getId()).append("',\n");
appendIndentation(builder, indentLevel + 1);
- builder.append("'type' : ").append("'").append(application.getApplicationType()).append("'\n");
+ builder.append("'type' : ").append("'").append(application.getType()).append("'\n");
appendIndentation(builder, indentLevel);
builder.append("}\n");
}
Modified: portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIAddNewApplication.java
===================================================================
--- portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIAddNewApplication.java 2009-11-10 10:55:29 UTC (rev 546)
+++ portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIAddNewApplication.java 2009-11-10 11:09:05 UTC (rev 547)
@@ -30,12 +30,8 @@
import org.exoplatform.portal.config.model.CloneApplicationState;
import org.exoplatform.portal.config.model.ModelObject;
import org.exoplatform.portal.config.model.Page;
-import org.exoplatform.portal.config.model.TransientApplicationState;
import org.exoplatform.portal.config.model.gadget.GadgetId;
-import org.exoplatform.portal.config.model.portlet.PortletId;
-import org.exoplatform.portal.config.model.wsrp.WSRPId;
import org.exoplatform.portal.pom.spi.portlet.Preferences;
-import org.exoplatform.portal.pom.spi.wsrp.WSRP;
import org.exoplatform.portal.pom.spi.wsrp.WSRPState;
import org.exoplatform.portal.webui.page.UIPage;
import org.exoplatform.portal.webui.portal.UIPortal;
@@ -76,14 +72,14 @@
}
public List<ApplicationCategory> getApplicationCategories(String remoteUser,
- String[] applicationType) throws Exception
+ ApplicationType[] applicationType) throws Exception
{
ExoContainer container = ExoContainerContext.getCurrentContainer();
ApplicationRegistryService prService = (ApplicationRegistryService)container.getComponentInstanceOfType(ApplicationRegistryService.class);
if (applicationType == null)
{
- applicationType = new String[]{};
+ applicationType = new ApplicationType[0];
}
List<ApplicationCategory> appCategories = prService.getApplicationCategories(remoteUser,
@@ -177,13 +173,13 @@
String applicationId = event.getRequestContext().getRequestParameter(UIComponent.OBJECTID);
Application application = event.getSource().getApplication(applicationId);
- String appType = application.getApplicationType();
+ ApplicationType appType = application.getType();
String portletName = application.getApplicationName();
// String appGroup = application.getApplicationGroup();
// TODO review windowId for eXoWidget and eXoApplication
UIComponent component = null;
- if (org.exoplatform.web.application.Application.EXO_GADGET_TYPE.equals(appType))
+ if (ApplicationType.GADGET.equals(appType))
{
UIGadget uiGadget = uiPage.createUIComponent(event.getRequestContext(), UIGadget.class, null, null);
@@ -200,7 +196,7 @@
}
else
{
- boolean remote = org.exoplatform.web.application.Application.WSRP_TYPE.equals(appType);
+ boolean remote = ApplicationType.WSRP_PORTLET.equals(appType);
UIPortlet uiPortlet = uiPage.createUIComponent(UIPortlet.class, null, null);
Modified: portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/portal/UIPortalComponentActionListener.java
===================================================================
--- portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/portal/UIPortalComponentActionListener.java 2009-11-10 10:55:29 UTC (rev 546)
+++ portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/portal/UIPortalComponentActionListener.java 2009-11-10 11:09:05 UTC (rev 547)
@@ -27,14 +27,8 @@
import org.exoplatform.portal.config.model.ApplicationType;
import org.exoplatform.portal.config.model.CloneApplicationState;
import org.exoplatform.portal.config.model.Container;
-import org.exoplatform.portal.config.model.TransientApplicationState;
-import org.exoplatform.portal.config.model.gadget.GadgetId;
-import org.exoplatform.portal.config.model.portlet.PortletId;
-import org.exoplatform.portal.config.model.wsrp.WSRPId;
-import org.exoplatform.portal.pom.spi.portlet.Preferences;
import org.exoplatform.portal.webui.application.PortletState;
import org.exoplatform.portal.webui.application.UIApplicationList;
-import org.exoplatform.portal.webui.application.UIGadget;
import org.exoplatform.portal.webui.application.UIPortlet;
import org.exoplatform.portal.webui.container.UIContainerList;
import org.exoplatform.portal.webui.login.UILogin;
@@ -51,7 +45,6 @@
import org.exoplatform.services.organization.OrganizationService;
import org.exoplatform.services.organization.Query;
import org.exoplatform.services.organization.User;
-import org.exoplatform.web.application.Application;
import org.exoplatform.web.application.ApplicationMessage;
import org.exoplatform.webui.application.WebuiRequestContext;
import org.exoplatform.webui.core.UIComponent;
@@ -248,29 +241,9 @@
org.exoplatform.application.registry.Application app = null;
UIApplicationList appList = uiApp.findFirstComponentOfType(UIApplicationList.class);
app = appList.getApplication(sourceId);
+ ApplicationType applicationType = app.getType();
- String appType = app.getApplicationType();
- ApplicationType applicationType;
- org.exoplatform.application.registry.Application temp = null;
- if (appType.equals(Application.EXO_GADGET_TYPE))
- {
- applicationType = ApplicationType.GADGET;
- }
- else if (appType.equals(Application.EXO_PORTLET_TYPE))
- {
- applicationType = ApplicationType.PORTLET;
- }
- else if (appType.equals(Application.WSRP_TYPE))
- {
- applicationType = ApplicationType.WSRP_PORTLET;
- }
- else
- {
- throw new AssertionError("Wrong type " + appType);
- }
-
//
-
UIPortlet uiPortlet = uiTarget.createUIComponent(UIPortlet.class, null, null);
if (app.getDisplayName() != null)
{
15 years, 1 month
gatein SVN: r546 - portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component.
by do-not-reply@jboss.org
Author: liem_nguyen
Date: 2009-11-10 05:55:29 -0500 (Tue, 10 Nov 2009)
New Revision: 546
Modified:
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIGadgetInfo.java
Log:
GTNPORTAL-152 In the portlet/gadget details view, display the categories in which the application is
Modified: portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIGadgetInfo.java
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIGadgetInfo.java 2009-11-10 10:35:30 UTC (rev 545)
+++ portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIGadgetInfo.java 2009-11-10 10:55:29 UTC (rev 546)
@@ -221,7 +221,6 @@
Application app = new Application();
app.setApplicationName(gadget.getName());
- //app.setApplicationGroup(GadgetApplication.EXO_GADGET_GROUP);
app.setApplicationType(org.exoplatform.web.application.Application.EXO_GADGET_TYPE);
app.setDisplayName(gadget.getTitle());
//app.setUri(gadget.getUrl());
15 years, 1 month
gatein SVN: r545 - portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component.
by do-not-reply@jboss.org
Author: liem_nguyen
Date: 2009-11-10 05:35:30 -0500 (Tue, 10 Nov 2009)
New Revision: 545
Modified:
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UICategorySelector.java
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIGadgetInfo.java
Log:
GTNPORTAL-152 In the portlet/gadget details view, display the categories in which the application is
Modified: portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UICategorySelector.java
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UICategorySelector.java 2009-11-10 10:21:54 UTC (rev 544)
+++ portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UICategorySelector.java 2009-11-10 10:35:30 UTC (rev 545)
@@ -113,10 +113,10 @@
newApp.setApplicationName(app.getApplicationName());
newApp.setDisplayName(app.getDisplayName());
newApp.setApplicationType(app.getApplicationType());
- newApp.setApplicationGroup(app.getApplicationGroup());
+ //newApp.setApplicationGroup(app.getApplicationGroup());
newApp.setDescription(app.getDescription());
newApp.setAccessPermissions(app.getAccessPermissions());
- newApp.setUri(app.getUri());
+ //newApp.setUri(app.getUri());
return newApp;
}
}
Modified: portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIGadgetInfo.java
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIGadgetInfo.java 2009-11-10 10:21:54 UTC (rev 544)
+++ portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIGadgetInfo.java 2009-11-10 10:35:30 UTC (rev 545)
@@ -221,10 +221,10 @@
Application app = new Application();
app.setApplicationName(gadget.getName());
- app.setApplicationGroup(GadgetApplication.EXO_GADGET_GROUP);
+ //app.setApplicationGroup(GadgetApplication.EXO_GADGET_GROUP);
app.setApplicationType(org.exoplatform.web.application.Application.EXO_GADGET_TYPE);
app.setDisplayName(gadget.getTitle());
- app.setUri(gadget.getUrl());
+ //app.setUri(gadget.getUrl());
String description =
(gadget.getDescription() == null || gadget.getDescription().length() < 1) ? gadget.getName() : gadget
.getDescription();
15 years, 1 month
gatein SVN: r544 - in portal/trunk: portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin and 2 other directories.
by do-not-reply@jboss.org
Author: liem_nguyen
Date: 2009-11-10 05:21:54 -0500 (Tue, 10 Nov 2009)
New Revision: 544
Added:
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UICategorySelector.java
Modified:
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIGadgetInfo.java
portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_en.properties
portal/trunk/portlet/exoadmin/src/main/webapp/groovy/applicationregistry/webui/component/UIGadgetInfo.gtmpl
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIGadget.java
Log:
GTNPORTAL-152 In the portlet/gadget details view, display the categories in which the application is
Added: portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UICategorySelector.java
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UICategorySelector.java (rev 0)
+++ portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UICategorySelector.java 2009-11-10 10:21:54 UTC (rev 544)
@@ -0,0 +1,136 @@
+package org.exoplatform.applicationregistry.webui.component;
+
+import org.exoplatform.application.registry.Application;
+import org.exoplatform.application.registry.ApplicationCategory;
+import org.exoplatform.application.registry.ApplicationRegistryService;
+import org.exoplatform.webui.config.annotation.ComponentConfig;
+import org.exoplatform.webui.config.annotation.EventConfig;
+import org.exoplatform.webui.core.lifecycle.UIFormLifecycle;
+import org.exoplatform.webui.event.Event;
+import org.exoplatform.webui.event.EventListener;
+import org.exoplatform.webui.event.Event.Phase;
+import org.exoplatform.webui.form.UIForm;
+import org.exoplatform.webui.form.UIFormCheckBoxInput;
+import org.exoplatform.webui.form.UIFormInputInfo;
+import org.exoplatform.webui.form.UIFormInputSet;
+import org.exoplatform.webui.form.UIFormTableInputSet;
+
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * Created by The eXo Platform SAS
+ * Author : LiemNC Email:ncliam@gmail.com
+ * November 09, 2009
+ */
+@ComponentConfig(template = "system:/groovy/webui/form/UIForm.gtmpl", lifecycle = UIFormLifecycle.class, events = {
+ @EventConfig(listeners = UICategorySelector.SaveActionListener.class),
+ @EventConfig(listeners = UICategorySelector.CloseActionListener.class, phase = Phase.DECODE)})
+public class UICategorySelector extends UIForm
+{
+ private List<ApplicationCategory> categories;
+
+ private Application application;
+
+ private final static String[] ACTIONS = new String[]{"Save", "Cancel"};
+
+ private final static String[] TABLE_COLUMNS = {"choose", "categoryName"};
+
+ public UICategorySelector() throws Exception
+ {
+ ApplicationRegistryService appRegService = getApplicationComponent(ApplicationRegistryService.class);
+ categories = appRegService.getApplicationCategories();
+ categories = categories != null ? categories : new ArrayList<ApplicationCategory>();
+ }
+
+ public void setup(Application app) throws Exception
+ {
+ setChildren(null);
+ this.application = app;
+
+ UIFormTableInputSet uiTableInputSet = createUIComponent(UIFormTableInputSet.class, null, null);
+ uiTableInputSet.setName(getClass().getSimpleName());
+ uiTableInputSet.setId(getClass().getSimpleName());
+ uiTableInputSet.setColumns(TABLE_COLUMNS);
+ addChild(uiTableInputSet);
+
+ UIFormInputSet uiInputSet;
+ UIFormCheckBoxInput<Boolean> checkBoxInput;
+ UIFormInputInfo uiInfo;
+
+ ApplicationRegistryService appRegService = getApplicationComponent(ApplicationRegistryService.class);
+ for (ApplicationCategory category : categories)
+ {
+ uiInputSet = new UIFormInputSet(category.getName());
+ boolean defaultValue = appRegService.getApplication(category.getName(), app.getApplicationName()) != null;
+ checkBoxInput = new UIFormCheckBoxInput<Boolean>("category_" + category.getName(), null, defaultValue);
+ uiInfo = new UIFormInputInfo("categoryName", null, category.getDisplayName());
+ uiInputSet.addChild(checkBoxInput);
+ uiInputSet.addChild(uiInfo);
+ uiTableInputSet.addChild(uiInputSet);
+ }
+ }
+
+ public String[] getActions()
+ {
+ return ACTIONS;
+ }
+
+ public List<ApplicationCategory> getCategories()
+ {
+ return this.categories;
+ }
+
+ public Application getApplication()
+ {
+ return this.application;
+ }
+
+ static public class SaveActionListener extends EventListener<UICategorySelector>
+ {
+ public void execute(Event<UICategorySelector> event) throws Exception
+ {
+ UICategorySelector selector = event.getSource();
+ List<ApplicationCategory> categories = selector.getCategories();
+ UIFormCheckBoxInput<Boolean> chkInput;
+ ApplicationRegistryService appRegService = selector.getApplicationComponent(ApplicationRegistryService.class);
+ for (ApplicationCategory category : categories)
+ {
+ chkInput = selector.getUIInput("category_" + category.getName());
+ if (chkInput != null && chkInput.isChecked())
+ {
+ appRegService.save(category, cloneApplication(selector.getApplication()));
+ }
+ }
+ UIGadgetInfo gadgetInfo = selector.getParent();
+ gadgetInfo.getChild(UICategorySelector.class).setRendered(false);
+ event.getRequestContext().addUIComponentToUpdateByAjax(gadgetInfo);
+ }
+
+ private Application cloneApplication(Application app)
+ {
+ Application newApp = new Application();
+ newApp.setApplicationName(app.getApplicationName());
+ newApp.setDisplayName(app.getDisplayName());
+ newApp.setApplicationType(app.getApplicationType());
+ newApp.setApplicationGroup(app.getApplicationGroup());
+ newApp.setDescription(app.getDescription());
+ newApp.setAccessPermissions(app.getAccessPermissions());
+ newApp.setUri(app.getUri());
+ return newApp;
+ }
+ }
+
+ static public class CloseActionListener extends EventListener<UICategorySelector>
+ {
+ public void execute(Event<UICategorySelector> event) throws Exception
+ {
+ UICategorySelector selector = event.getSource();
+ UIGadgetInfo gadgetInfo = selector.getParent();
+ gadgetInfo.getChild(UICategorySelector.class).setRendered(false);
+ event.getRequestContext().addUIComponentToUpdateByAjax(gadgetInfo);
+ }
+
+ }
+
+}
Modified: portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIGadgetInfo.java
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIGadgetInfo.java 2009-11-10 10:11:57 UTC (rev 543)
+++ portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/applicationregistry/webui/component/UIGadgetInfo.java 2009-11-10 10:21:54 UTC (rev 544)
@@ -24,6 +24,9 @@
import org.exoplatform.application.gadget.GadgetRegistryService;
import org.exoplatform.application.gadget.Source;
import org.exoplatform.application.gadget.SourceStorage;
+import org.exoplatform.application.registry.Application;
+import org.exoplatform.application.registry.ApplicationCategory;
+import org.exoplatform.application.registry.ApplicationRegistryService;
import org.exoplatform.portal.webui.application.GadgetUtil;
import org.exoplatform.web.WebAppController;
import org.exoplatform.web.application.ApplicationMessage;
@@ -32,14 +35,16 @@
import org.exoplatform.webui.config.annotation.ComponentConfig;
import org.exoplatform.webui.config.annotation.EventConfig;
import org.exoplatform.webui.core.UIApplication;
-import org.exoplatform.webui.core.UIComponent;
+import org.exoplatform.webui.core.UIContainer;
import org.exoplatform.webui.event.Event;
import org.exoplatform.webui.event.EventListener;
import java.io.InputStream;
import java.net.URL;
import java.net.URLConnection;
+import java.util.ArrayList;
import java.util.Calendar;
+import java.util.List;
/**
* Created by The eXo Platform SAS
@@ -50,14 +55,17 @@
@ComponentConfig(template = "app:/groovy/applicationregistry/webui/component/UIGadgetInfo.gtmpl", events = {
@EventConfig(listeners = UIGadgetInfo.RefreshActionListener.class),
@EventConfig(listeners = UIGadgetInfo.CopyActionListener.class),
- @EventConfig(listeners = UIGadgetInfo.EditActionListener.class)})
-public class UIGadgetInfo extends UIComponent
+ @EventConfig(listeners = UIGadgetInfo.EditActionListener.class),
+ @EventConfig(listeners = UIGadgetInfo.ShowCategoriesActionListener.class)})
+public class UIGadgetInfo extends UIContainer
{
private Gadget gadget_;
- public UIGadgetInfo()
+ public UIGadgetInfo() throws Exception
{
+ UICategorySelector categorySelector = addChild(UICategorySelector.class, null, null);
+ categorySelector.setRendered(false);
}
public Gadget getGadget()
@@ -82,6 +90,29 @@
return null;
}
+ public String getCategorieNames() throws Exception
+ {
+ ApplicationRegistryService appRegService = getApplicationComponent(ApplicationRegistryService.class);
+ List<ApplicationCategory> allCategories = appRegService.getApplicationCategories();
+ List<String> nameList = new ArrayList<String>();
+
+ for (ApplicationCategory category : allCategories)
+ {
+ if (appRegService.getApplication(category.getName(), gadget_.getName()) != null)
+ {
+ nameList.add(category.getDisplayName());
+ }
+ }
+ StringBuffer names = new StringBuffer("");
+ for (String name : nameList)
+ {
+ names.append(name);
+ if (name != nameList.get(nameList.size() - 1))
+ names.append(", ");
+ }
+ return names.toString();
+ }
+
static public class RefreshActionListener extends EventListener<UIGadgetInfo>
{
@@ -179,4 +210,31 @@
}
+ static public class ShowCategoriesActionListener extends EventListener<UIGadgetInfo>
+ {
+ @Override
+ public void execute(Event<UIGadgetInfo> event) throws Exception
+ {
+ UIGadgetInfo gadgetInfo = event.getSource();
+ Gadget gadget = gadgetInfo.getGadget();
+ UICategorySelector selector = gadgetInfo.getChild(UICategorySelector.class);
+
+ Application app = new Application();
+ app.setApplicationName(gadget.getName());
+ app.setApplicationGroup(GadgetApplication.EXO_GADGET_GROUP);
+ app.setApplicationType(org.exoplatform.web.application.Application.EXO_GADGET_TYPE);
+ app.setDisplayName(gadget.getTitle());
+ app.setUri(gadget.getUrl());
+ String description =
+ (gadget.getDescription() == null || gadget.getDescription().length() < 1) ? gadget.getName() : gadget
+ .getDescription();
+ app.setDescription(description);
+ app.setAccessPermissions(new ArrayList<String>());
+
+ selector.setup(app);
+ selector.setRendered(true);
+ event.getRequestContext().addUIComponentToUpdateByAjax(event.getSource());
+ }
+ }
+
}
\ No newline at end of file
Modified: portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_en.properties
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_en.properties 2009-11-10 10:11:57 UTC (rev 543)
+++ portal/trunk/portlet/exoadmin/src/main/webapp/WEB-INF/classes/locale/portlet/exoadmin/ApplicationRegistryPortlet_en.properties 2009-11-10 10:21:54 UTC (rev 544)
@@ -119,10 +119,19 @@
UIGadgetInfo.label.viewUrl=View URL:
UIGadgetInfo.label.editUrl=Edit URL:
UIGadgetInfo.label.reference=Reference:
+UIGadgetInfo.label.categories=Categories:
+UIGadgetInfo.label.categories.guide=You must add this gadget into categories to be able used in Dashboard.
+UIGadgetInfo.label.categories.clickHere=Click here to add into categories
UIGadgetInfo.title.refresh=Refresh information
UIGadgetInfo.title.editGadget=Edit Gadget
UIGadgetInfo.title.copy=Copy this gadget to local repository
UIGadgetInfo.msg.gadgetNotExist=Can not execute action on the gadget that no longer in database.
+
+UICategorySelector.header.choose=Choose
+UICategorySelector.header.categoryName=Category's name
+UICategorySelector.action.Save=Save
+UICategorySelector.action.Cancel=Cancel
+
## org.exoplatform.applicationregistry.webui.component.UIAddGadget
UIAddGadget.action.Add=Add
UIAddGadget.action.Cancel=#{word.cancel}
Modified: portal/trunk/portlet/exoadmin/src/main/webapp/groovy/applicationregistry/webui/component/UIGadgetInfo.gtmpl
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/webapp/groovy/applicationregistry/webui/component/UIGadgetInfo.gtmpl 2009-11-10 10:11:57 UTC (rev 543)
+++ portal/trunk/portlet/exoadmin/src/main/webapp/groovy/applicationregistry/webui/component/UIGadgetInfo.gtmpl 2009-11-10 10:21:54 UTC (rev 544)
@@ -1,6 +1,10 @@
<%
+ import org.exoplatform.applicationregistry.webui.component.UICategorySelector;
+
def gadget = uicomponent.getGadget();
+ boolean selectorRender = uicomponent.getChild(UICategorySelector.class).isRendered();
String srcBGError = "/eXoResources/skin/sharedImages/Icon80x80/DefaultPortlet.png";
+ String categoryNames = uicomponent.getCategorieNames();
%>
<div class="UIGadgetInfo" id="$uicomponent.id">
<div class="UIBreadcumb">
@@ -45,9 +49,31 @@
<table>
<tr>
<td class="LeftLabel"><%=_ctx.appRes("UIGadgetInfo.label.reference")%></td>
- <td class="RightLabel"><%= gadget.getReferenceUrl() %></td>
+ <td class="RightLabel">
+ <%= gadget.getReferenceUrl() %>
+ </td>
</tr>
</table>
+ <table>
+ <tr>
+ <td class="LeftLabel"><%=_ctx.appRes("UIGadgetInfo.label.categories")%></td>
+ <td class="RightLabel">$categoryNames
+ <% if (categoryNames.equals("")) { %>
+ <%=_ctx.appRes("UIGadgetInfo.label.categories.guide")%><br/>
+ <% if (!selectorRender) { %>
+ <a href="#" onclick="<%= uicomponent.event("ShowCategories") %>" style="color:red;text-decoration:underline;">
+ <%=_ctx.appRes("UIGadgetInfo.label.categories.clickHere")%>
+ </a>
+ <% } else { %>
+ <div>
+ <% uicomponent.renderChildren() %>
+ </div>
+ <%}%>
+ <%}%>
+
+ </td>
+ </tr>
+ </table>
</div>
</div>
Modified: portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIGadget.java
===================================================================
--- portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIGadget.java 2009-11-10 10:11:57 UTC (rev 543)
+++ portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIGadget.java 2009-11-10 10:21:54 UTC (rev 544)
@@ -22,7 +22,6 @@
import org.exoplatform.application.gadget.Gadget;
import org.exoplatform.application.gadget.GadgetRegistryService;
import org.exoplatform.container.ExoContainerContext;
-import org.exoplatform.portal.application.PortalRequestContext;
import org.exoplatform.portal.config.DataStorage;
import org.exoplatform.portal.config.model.ApplicationState;
import org.exoplatform.portal.config.model.Properties;
15 years, 1 month
gatein SVN: r543 - portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component.
by do-not-reply@jboss.org
Author: tam_nguyen
Date: 2009-11-10 05:11:57 -0500 (Tue, 10 Nov 2009)
New Revision: 543
Modified:
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/UIMembershipTypeForm.java
Log:
GTNPORTAL-223 UIFormTextAreaInput don't use maxlength value
Modified: portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/UIMembershipTypeForm.java
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/UIMembershipTypeForm.java 2009-11-10 09:34:16 UTC (rev 542)
+++ portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/UIMembershipTypeForm.java 2009-11-10 10:11:57 UTC (rev 543)
@@ -53,7 +53,7 @@
UIFormStringInput.ENABLE).addValidator(MandatoryValidator.class).addValidator(StringLengthValidator.class, 3,
30).addValidator(NameValidator.class).addValidator(SpecialCharacterValidator.class));
- addUIFormInput(new UIFormTextAreaInput(DESCRIPTION, DESCRIPTION, null).setMaxLength(255));
+ addUIFormInput(new UIFormTextAreaInput(DESCRIPTION, DESCRIPTION, null));
}
public void setMembershipType(MembershipType membershipType) throws Exception
15 years, 1 month
gatein SVN: r542 - portal/trunk/webui/core/src/main/java/org/exoplatform/webui/form.
by do-not-reply@jboss.org
Author: tam_nguyen
Date: 2009-11-10 04:34:16 -0500 (Tue, 10 Nov 2009)
New Revision: 542
Modified:
portal/trunk/webui/core/src/main/java/org/exoplatform/webui/form/UIFormTextAreaInput.java
Log:
GTNPORTAL-223 UIFormTextAreaInput don't use maxlength value
Modified: portal/trunk/webui/core/src/main/java/org/exoplatform/webui/form/UIFormTextAreaInput.java
===================================================================
--- portal/trunk/webui/core/src/main/java/org/exoplatform/webui/form/UIFormTextAreaInput.java 2009-11-10 08:52:48 UTC (rev 541)
+++ portal/trunk/webui/core/src/main/java/org/exoplatform/webui/form/UIFormTextAreaInput.java 2009-11-10 09:34:16 UTC (rev 542)
@@ -27,7 +27,7 @@
* Represents a textarea element
* The value is stored in UIFormInputBase
*/
-public class UIFormTextAreaInput extends UIFormStringInput
+public class UIFormTextAreaInput extends UIFormInputBase<String>
{
/**
* number of rows
@@ -39,10 +39,18 @@
*/
private int columns = 30;
- public UIFormTextAreaInput(String name, String bindingExpression, String value)
- {
- super(name, bindingExpression, value);
+ public UIFormTextAreaInput(String name, String bindingExpression, String value) {
+ super(name, bindingExpression, String.class);
+ this.value_ = value ;
}
+
+ @SuppressWarnings("unused")
+ public void decode(Object input, WebuiRequestContext context) throws Exception {
+ String val = (String) input ;
+ if((val == null || val.length() == 0)) return ;
+ value_ = val ;
+ if(value_ != null && value_.length() == 0) value_ = null ;
+ }
public void processRender(WebuiRequestContext context) throws Exception
{
15 years, 1 month
gatein SVN: r541 - in portal/trunk: web/eXoResources/src/main/webapp/skin/DefaultSkin/portal/webui/component/view/UIDashboard and 3 other directories.
by do-not-reply@jboss.org
Author: thanh.do
Date: 2009-11-10 03:52:48 -0500 (Tue, 10 Nov 2009)
New Revision: 541
Modified:
portal/trunk/portlet/exoadmin/src/main/webapp/skin/navigation/webui/component/DefaultStylesheet.css
portal/trunk/web/eXoResources/src/main/webapp/skin/DefaultSkin/portal/webui/component/view/UIDashboard/Stylesheet.css
portal/trunk/web/eXoResources/src/main/webapp/skin/DefaultSkin/portal/webui/component/view/UIGadget/Stylesheet.css
portal/trunk/web/eXoResources/src/main/webapp/skin/DefaultSkin/webui/component/UIPopup/UIPopupMessage/Stylesheet.css
portal/trunk/web/portal/src/main/webapp/login/skin/Stylesheet.css
Log:
GTNPORTAL-220:Some problem UI on IE6
Modified: portal/trunk/portlet/exoadmin/src/main/webapp/skin/navigation/webui/component/DefaultStylesheet.css
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/webapp/skin/navigation/webui/component/DefaultStylesheet.css 2009-11-10 08:20:02 UTC (rev 540)
+++ portal/trunk/portlet/exoadmin/src/main/webapp/skin/navigation/webui/component/DefaultStylesheet.css 2009-11-10 08:52:48 UTC (rev 541)
@@ -17,116 +17,118 @@
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
-.UIManagement {
- padding: 10px;
- white-space: nowrap;
-}
-
-.UIManagement .ManagementBlock {
- height: 75px;
- background: white url('background/ContentBg.gif') repeat-x bottom;
-}
-
-.UIManagement table.ManagementBlock td {
- vertical-align: middle;
- white-space: nowrap;
-}
-
-.UIManagement table.ManagementBlock td.Content {
- vertical-align: middle;
- background: url('background/LineBg.gif') no-repeat right center; /* orientation=lt */
- background: url('background/LineBg-rt.gif') no-repeat left center; /* orientation=rt */
- padding: 0px 15px;
- width: 33%;
- overflow: hidden;
- white-space: normal;
-}
-
-.UIPortalNavigationPortlet .UIManagement table.ManagementBlock td.Content {
- width: 14%;
-}
-
-.UIManagement table.ManagementBlock td.Content strong {
- margin-right: 7px; /* orientation=lt */
- margin-left: 7px; /* orientation=rt */
-}
-
-.UIManagement .ManagementBlock .Image {
- width: 90px;
- line-height: 75px;
- padding-left: 20px; /* orientation=lt */
- padding-right: 20px; /* orientation=rt */
-}
-
-.UIManagement .ManagementBlock .Image img {
- width: 80px;
-}
-
-.UIManagement .ManagementBlock .Label {
- color: #0077d4;
- font-weight: bold;
-}
-
-.UIManagement .ManagementBlock .ActionBlock {
- padding-left: 50px; /* orientation=lt */
- padding-right: 50px; /* orientation=rt */
- width: 65%;
-}
-
-.UIManagement .ManagementBlock .ActionBlock a {
- line-height: 16px;
- width: auto;
- padding: 1px 0px 2px 25px; /* orientation=lt */
- padding: 1px 25px 2px 0px; /* orientation=rt */
- margin: 0px 35px 0px 0px; /* orientation=lt */
- margin: 0px 0px 0px 35px; /* orientation=rt */
-}
-
-.UIManagement .ManagementBlock .EditLayoutIcon {
- background: url('background/MiniIcon.gif') no-repeat left 0px; /* orientation=lt */
- background: url('background/MiniIcon-rt.gif') no-repeat right 0px; /* orientation=rt */
-}
-
-.UIManagement .ManagementBlock .EditNavIcon {
- background: url('background/MiniIcon.gif') no-repeat left -17px; /* orientation=lt */
- background: url('background/MiniIcon-rt.gif') no-repeat right -17px; /* orientation=rt */
-}
-
-.UIManagement .ManagementBlock .DeleteIcon {
- background: url('background/MiniIcon.gif') no-repeat left -34px; /* orientation=lt */
- background: url('background/MiniIcon-rt.gif') no-repeat right -34px; /* orientation=rt */
-}
-
-/***********************UIAddGroupNavigation************************/
-
-.UIAddGroupNavigation {
- background: white;
- padding: 0px;
-}
-
-.UIAddGroupNavigation .AddGroupIcon {
- background: url(/eXoResources/skin/DefaultSkin/skinIcons/16x16/icons/BlueCirclePlus.gif) no-repeat left center; /* orientation=lt */
- background: url(/eXoResources/skin/DefaultSkin/skinIcons/16x16/icons/BlueCirclePlus-rt.gif) no-repeat right center; /* orientation=rt */
- height: 20px; line-height: 20px;
- padding: 3px 0px 3px 20px; /* orientation=lt */
- padding: 3px 20px 3px 0px; /* orientation=rt */
- color: #1d1d1d;
-}
-
-.UIPageNavigationForm {
- margin: 20px auto;
+
+.UIManagement {
+ padding: 10px;
+ white-space: nowrap;
}
+.UIManagement .ManagementBlock {
+ height: 75px;
+ background: white url('background/ContentBg.gif') repeat-x bottom;
+ _width: 97%;
+}
+
+.UIManagement table.ManagementBlock td {
+ vertical-align: middle;
+ white-space: nowrap;
+}
+
+.UIManagement table.ManagementBlock td.Content {
+ vertical-align: middle;
+ background: url('background/LineBg.gif') no-repeat right center; /* orientation=lt */
+ background: url('background/LineBg-rt.gif') no-repeat left center; /* orientation=rt */
+ padding: 0px 15px;
+ width: 30%;
+ overflow: hidden;
+ white-space: normal;
+}
+
+.UIPortalNavigationPortlet .UIManagement table.ManagementBlock td.Content {
+ width: 14%;
+}
+
+.UIManagement table.ManagementBlock td.Content strong {
+ margin-right: 7px; /* orientation=lt */
+ margin-left: 7px; /* orientation=rt */
+}
+
+.UIManagement .ManagementBlock .Image {
+ width: 90px;
+ line-height: 75px;
+ padding-left: 20px; /* orientation=lt */
+ padding-right: 20px; /* orientation=rt */
+}
+
+.UIManagement .ManagementBlock .Image img {
+ width: 80px;
+}
+
+.UIManagement .ManagementBlock .Label {
+ color: #0077d4;
+ font-weight: bold;
+}
+
+.UIManagement .ManagementBlock .ActionBlock {
+ padding-left: 30px; /* orientation=lt */
+ padding-right: 30px; /* orientation=rt */
+ width: 60%;
+}
+
+.UIManagement .ManagementBlock .ActionBlock a {
+ line-height: 16px;
+ width: auto;
+ padding: 1px 0px 2px 25px; /* orientation=lt */
+ padding: 1px 25px 2px 0px; /* orientation=rt */
+ margin: 0px 35px 0px 0px; /* orientation=lt */
+ margin: 0px 0px 0px 35px; /* orientation=rt */
+}
+
+.UIManagement .ManagementBlock .EditLayoutIcon {
+ background: url('background/MiniIcon.gif') no-repeat left 0px; /* orientation=lt */
+ background: url('background/MiniIcon-rt.gif') no-repeat right 0px; /* orientation=rt */
+}
+
+.UIManagement .ManagementBlock .EditNavIcon {
+ background: url('background/MiniIcon.gif') no-repeat left -17px; /* orientation=lt */
+ background: url('background/MiniIcon-rt.gif') no-repeat right -17px; /* orientation=rt */
+}
+
+.UIManagement .ManagementBlock .DeleteIcon {
+ background: url('background/MiniIcon.gif') no-repeat left -34px; /* orientation=lt */
+ background: url('background/MiniIcon-rt.gif') no-repeat right -34px; /* orientation=rt */
+}
+
+/***********************UIAddGroupNavigation************************/
+
+.UIAddGroupNavigation {
+ background: white;
+ padding: 0px;
+}
+
+.UIAddGroupNavigation .AddGroupIcon {
+ background: url(/eXoResources/skin/DefaultSkin/skinIcons/16x16/icons/BlueCirclePlus.gif) no-repeat left center; /* orientation=lt */
+ background: url(/eXoResources/skin/DefaultSkin/skinIcons/16x16/icons/BlueCirclePlus-rt.gif) no-repeat right center; /* orientation=rt */
+ height: 20px; line-height: 20px;
+ padding: 3px 0px 3px 20px; /* orientation=lt */
+ padding: 3px 20px 3px 0px; /* orientation=rt */
+ color: #1d1d1d;
+}
+
+.UIPageNavigationForm {
+ margin: 20px auto;
+}
+
.UIAddGroupNavigation .WarningAddGroup {
text-align: center;
padding: 15px 0px;
background: #FED8D8;
margin: 10px;
font-size: 13px;
-}
-
-/********************UINavigationManagement****************/
-.UINavigationManagement {
- padding: 10px;
-}
-
+}
+
+/********************UINavigationManagement****************/
+.UINavigationManagement {
+ padding: 10px;
+}
+
Modified: portal/trunk/web/eXoResources/src/main/webapp/skin/DefaultSkin/portal/webui/component/view/UIDashboard/Stylesheet.css
===================================================================
--- portal/trunk/web/eXoResources/src/main/webapp/skin/DefaultSkin/portal/webui/component/view/UIDashboard/Stylesheet.css 2009-11-10 08:20:02 UTC (rev 540)
+++ portal/trunk/web/eXoResources/src/main/webapp/skin/DefaultSkin/portal/webui/component/view/UIDashboard/Stylesheet.css 2009-11-10 08:52:48 UTC (rev 541)
@@ -17,567 +17,570 @@
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
-.UIWindow .UIDashboardPortlet {
- margin: 0px;
-}
-
-.UIDashboardPortlet {
- background: #fff;
- border: 1px solid #b7b7b7;
- border-top: none;
- height: 100%;
-}
-
-.UIWindow .UIDashboard {
- border: none;
- margin: 0px;
-}
-
-.UIDashboard {
- height: 100%;
-}
-
-.UIDashboard .DashboardContainer {
- background: url('background/BgBottom.gif') no-repeat bottom left;
- height: 100%;
-}
-
-.UIDashboard .GadgetTitle {
- float: left; /* orientation=lt */
- float: right; /* orientation=rt */
- padding: 0px 5px;
- color: #5b5b5b;
- font-weight: normal;
- cursor: move;
- overflow: hidden;
- white-space: nowrap;
-}
-
-.UIDashboard .UIDashboardEditForm {
- background: white;
- padding: 10px;
-}
-
-.UITabPaneDashboard {
- padding: 0 9px;
-}
-
-.UITabPaneDashboard .LtTabDashboard {
- background: #ffcf01 url('background/NavUser.gif') no-repeat left top;
- padding-left: 3px;
-}
-
-.UITabPaneDashboard .RtTabDashboard {
- background: #ffcf01 url('background/NavUser.gif') no-repeat right top;
- padding-right: 3px;
-}
-
-.UITabPaneDashboard .CtTabDashboard {
- background: #ffcf01 url('background/NavUser.gif') repeat-x center -32px;
- padding: 0px 6px;
-}
-
-.UITabPaneDashboard .UIHorizontalTabs {
- padding: 5px 0 8px;
-}
-
-.UITabPaneDashboard .UIHorizontalTabs .TabsContainer {
- height: auto;
-}
-
-.UITabPaneDashboard .UIHorizontalTabs .GrayTabStyle .NormalTab .MiddleTab,
-.UITabPaneDashboard .UIHorizontalTabs .GrayTabStyle .SelectedTab .MiddleTab {
- padding: 0px;
-}
-
-.UITabPaneDashboard .UIHorizontalTabs .UITab span {
- margin: 3px 10px;
- font-weight: bold;
-}
-
-.UITabPaneDashboard .UIHorizontalTabs .UITab .CloseIcon {
- background: url('background/IconClose.gif') no-repeat center;
- width: 16px; height: 16px;
- cursor: pointer;
-}
-
-.UITabPaneDashboard .UIHorizontalTabs .AddDashboard {
- background: url('background/AddDashboard.gif') no-repeat bottom;
- width: 34px; height: 22px;
- float: left;
+<<<<<<< .mine
+.UIWindow .UIDashboardPortlet {
+ margin: 0px;
+}
+
+.UIDashboardPortlet {
+ background: #fff;
+ border: 1px solid #b7b7b7;
+ border-top: none;
+ height: 100%;
+}
+
+.UIWindow .UIDashboard {
+ border: none;
+ margin: 0px;
+}
+
+.UIDashboard {
+ height: 100%;
+ background: url('background/BgRepeat.gif') repeat-y left bottom;
+}
+
+.UIDashboard .DashboardContainer {
+ background: url('background/BgBottom.gif') no-repeat bottom left;
+ height: 100%;
+}
+
+.UIDashboard .GadgetTitle {
+ float: left; /* orientation=lt */
+ float: right; /* orientation=rt */
+ padding: 0px 5px;
+ color: #5b5b5b;
+ font-weight: normal;
+ cursor: move;
+ overflow: hidden;
+ white-space: nowrap;
+}
+
+.UIDashboard .UIDashboardEditForm {
+ background: white;
+ padding: 10px;
+}
+
+.UITabPaneDashboard {
+ padding: 0 9px;
+}
+
+.UITabPaneDashboard .LtTabDashboard {
+ background: url('background/NavUser.gif') no-repeat left top;
+ padding-left: 3px;
+ height: 32px;
+}
+
+.UITabPaneDashboard .RtTabDashboard {
+ background: url('background/NavUser.gif') no-repeat right top;
+ padding-right: 3px;
+ height: 32px;
+}
+
+.UITabPaneDashboard .CtTabDashboard {
+ height: 32px;
+ background: url('background/NavUser.gif') repeat-x center bottom;
+ padding: 0px 6px;
+}
+
+.UITabPaneDashboard .UIHorizontalTabs {
+ padding-top: 10px;
+}
+
+.UITabPaneDashboard .UIHorizontalTabs .TabsContainer {
+ height: 25px;
+}
+
+.UITabPaneDashboard .UIHorizontalTabs .GrayTabStyle .NormalTab .MiddleTab,
+.UITabPaneDashboard .UIHorizontalTabs .GrayTabStyle .SelectedTab .MiddleTab {
+ padding: 0px;
+}
+
+.UITabPaneDashboard .UIHorizontalTabs .UITab span {
+ margin: 3px 10px;
+ font-weight: bold;
+}
+
+.UITabPaneDashboard .UIHorizontalTabs .UITab .CloseIcon {
+ background: url('background/IconClose.gif') no-repeat center;
+ width: 16px; height: 16px;
cursor: pointer;
- margin-top: 4px;
-}
-
-.UITabPaneDashboard .UIHorizontalTabs .GrayTabStyle .NormalTab .LeftTab {
- background: url(background/TabDashboard.gif) no-repeat left -44px;
-}
-
-.UITabPaneDashboard .UIHorizontalTabs .GrayTabStyle .NormalTab .RightTab {
- background: url(background/TabDashboard.gif) no-repeat right -44px;
-}
-
-.UITabPaneDashboard .UIHorizontalTabs .GrayTabStyle .NormalTab .MiddleTab {
- background: url(background/TabDashboard.gif) repeat-x left -66px;
- line-height: 22px;
-}
-
-.UITabPaneDashboard .UIHorizontalTabs .GrayTabStyle .SelectedTab .LeftTab {
- background: url(background/TabDashboard.gif) no-repeat left top;
-}
-
-.UITabPaneDashboard .UIHorizontalTabs .GrayTabStyle .SelectedTab .RightTab {
- background: url(background/TabDashboard.gif) no-repeat right top;
- padding-right: 4px;
-}
-
-.UITabPaneDashboard .UIHorizontalTabs .GrayTabStyle .SelectedTab .MiddleTab {
- background: url(background/TabDashboard.gif) repeat-x left -22px;
- line-height: 22px;
-}
-/*----------------------UIGadgetsSelectorForm-------------------*/
-
-.UIDashboardSelectContainer {
- float: left; /* orientation=lt */
- float: right; /* orientation=rt */
- width: 209px;
- height: 100%;
-}
-
-.UIDashboardSelectContainer .DashboardControlBar {
- height: 23px;
- background: url('background/Dashboard.gif') repeat-x top;
- border-bottom: 1px solid #b7b7b7;
-}
-
-.UIDashboardSelectContainer .TitleBar {
- color: black;
- font-weight: bold;
- line-height: 23px;
- float: left; /* orientation=lt */
- float: right; /* orientation=rt */
- padding-left: 10px; /* orientation=lt */
- padding-right: 10px; /* orientation=rt */
-}
-
-.UIDashboardSelectContainer .CloseIcon {
- float: right; /* orientation=lt */
- float: left; /* orientation=rt */
- background: url('background/Dashboard.gif') no-repeat left -180px;
- height: 20px;
- width: 20px;
-}
-
-.UIDashboardSelectContainer .DashboardItemContainer {
-}
-
-.UIDashboardSelectContainer .DashboardItemContainer .InputContainer {
- padding: 4px 0px 4px 10px;
- background: #ececec;
-}
-
-.UIDashboardSelectContainer .DashboardItemContainer .InputContainer input {
- margin: 0 3px 0 10px;
- border: 1px solid #b8babf;
- font-size: 11px;
- width: 160px;
-}
-
-.UIDashboardSelectContainer .DashboardItemContainer .GadgetItemsContainer {
- border-top: 1px solid #b7b7b7;
- font-weight: bold;
-}
-
-.UIDashboardSelectContainer .DashboardItemContainer .TopItemContainer {
- background: url('background/Dashboard.gif') repeat-x center -37px;
- height: 11px;
- padding: 1px;
- border-bottom: 1px solid #b7b7b7;
- display: none;
-}
-
-.UIDashboardSelectContainer .DashboardItemContainer .UpArrowIcon {
- background: url('background/Dashboard.gif') repeat-x center -98px;
- height: 11px; width: 15px;
- margin: auto;
- cursor: pointer;
-}
-
-.UIDashboardSelectContainer .DashboardItemContainer .DisableArrowIcon {
- filter: alpha(opacity=30);
- -moz-opacity: 0.3;
-}
-
-.UIDashboardSelectContainer .DashboardItemContainer .MiddleItemContainer {
- overflow: hidden;
-}
-
-.UIDashboardSelectContainer .DashboardItemContainer .BottomItemContainer {
- background: url('background/Dashboard.gif') repeat-x center -37px;
- height: 11px;
- padding: 1px;
- border-top: 1px solid #b7b7b7;
- display: none;
-}
-
-.UIDashboardSelectContainer .DashboardItemContainer .DownArrowIcon {
- background: url('background/Dashboard.gif') repeat-x center -114px;
- height: 11px; width: 15px;
- margin: auto;
- cursor: pointer;
-}
-
-.UIDashboardSelectContainer .DashboardItemContainer .DisableContainer {
- background: url('background/Dashboard.gif') repeat-x center -23px;
-}
-
-.UIDashboardSelectContainer .DashboardItemContainer .GadgetCategory {
- padding: 10px;
- text-transform: capitalize;
-}
-
-.UIDashboardSelectContainer .GadgetCategory .GadgetTab .LeftCategoryTitleBar {
- background: url('background/CategoryTitleBar.gif') repeat-x left top;
- border: 1px solid #b8babf;
-}
-
-.UIDashboardSelectContainer .GadgetCategory .GadgetTab .RightCategoryTitleBar {
-
-}
-
-.UIDashboardSelectContainer .GadgetCategory .GadgetTab .MiddleCategoryTitleBar {
- height: 23px;
- padding: 0px 8px;
-}
-
-.UIDashboardSelectContainer .GadgetCategory .GadgetTab .ArrowIcon {
- background: url('background/ArrowIcon.gif') no-repeat left -14px; /* orientation=lt */
- background: url('background/ArrowIcon.gif') no-repeat right -14px; /* orientation=rt */
- line-height: 23px;
- overflow: hidden;
- padding-left: 18px; /* orientation=lt */
- padding-right: 18px; /* orientation=rt */
- color: #000;
- font-weight: normal;
-}
-
-.UIDashboardSelectContainer .GadgetCategory .SelectedTab .ArrowIcon {
- background: url('background/ArrowIcon.gif') no-repeat left 8px; /* orientation=lt */
- background: url('background/ArrowIcon.gif') no-repeat right 8px; /* orientation=rt */
-}
-
-.UIDashboardSelectContainer .GadgetCategory .ItemsContainer {
- background: url('background/BGItemsContainer.gif') repeat-x left 1px;
- border: 1px solid #b8babf;
- border-top: none;
- padding: 8px 8px 4px 8px;
-}
-
-.UIDashboardSelectContainer .GadgetCategory .UIGadget {
- background: url('background/GadgetControl.gif') repeat-x left top;
- margin: 0px 0px 4px 0px;
- height: 18px;
- line-height: 18px;
- color: #676767;
- padding: 0px;
- background: #f2f2f3;
-}
-
-.UIDashboard .UIDashboardSelectContainer .GadgetTitle {
- width: 150px;
- float: none;
-}
-
-/*----------------------UIGadgetsContainer-------------------*/
-
-.UIDashboard .UIDashboardContainer .NoGadget {
- text-align: center;
- font-size: 12px; font-weight: bold;
- padding: 5px; color: #111;
-}
-
-.UIDashboard .UIGadget {
- padding: 5px 0px;
-}
-
-.UIDashboard .UIGadget .GadgetControl {
- float: none;
- padding: 0px;
- height: auto; width: auto;
-}
-
-.UIDashboard .UIGadget .GadgetControl .LeftControlBar {
- background: none;
- padding: 0px;
-}
-
-.UIDashboard .UIGadget .GadgetControl .RightControlBar {
- background: none;
- padding: 0px;
-}
-
-.UIDashboard .UIGadget .GadgetControl .CenterControlBar {
- background: url('background/BgTitleGadget.gif') repeat-x left top;
- height: 23px;
- line-height: 23px;
- padding: 0 9px;
- border: 1px solid #dbdbdb;
- border-top: none;
-}
-
-.UIDashboard .UIGadget .GadgetControl .GadgetDragHandleArea {
- display: none;
-}
-
-.UIDashboard .UIGadget .TLGadget {
- display: none;
-}
-
-.UIDashboard .UIGadget .MLGadget {
- background: #f2f2f3;
- border: 1px solid #c3c3c3;
- border-top: none;
- padding: 3px;
-}
-
-.UIDashboard .UIGadget .MRGadget {
- background: white;
- padding: 0 0 1px;
-}
-
-.UIDashboard .UIGadget .BLGadget {
- display: none;
-}
-
-/*------------------UIDashboardContainer----------------*/
-
-.UIDashboardContainer {
- height: 100%;
- background: #fff;
-}
-
-.UIDashboard .UIDashboardContainer .GadgetTitle {
- width: 197px;
-}
-
-.UIDashboardContainer .GadgetContainer {
- overflow: auto;
- height: 100%;
- min-height: 400px;
- _height: 400px;
-}
-
-/**html .UIDashboardContainer .GadgetContainer {
- height: 400px;
-}*/
-
-.UIDashboardContainer .GadgetContainer .ContainerControlBarL {
- padding: 5px 10px;
- height: 22px;
-}
-
-.UIDashboardContainer .ContainerControlBarL .AddIcon {
- background: url('background/Dashboard.gif') no-repeat left -200px; /* orientation=lt */
- background: url('background/Dashboard.gif') no-repeat right -200px; /* orientation=rt */
- padding-left: 30px; /* orientation=lt */
- padding-right: 30px; /* orientation=rt */
- width: 200px; /* orientation=rt */
- font-weight: bold; font-size: 12px;
- display: block;
- line-height: 22px;
- float: right; /* orientation=lt */
- float: left; /* orientation=rt */
-}
-
-.UIDashboardContainer .GadgetContainer .AddIcon a {
- text-decoration: underline;
- color: #292929;
- cursor: pointer;
-}
-
-.UIDashboardContainer .GadgetContainer .AddIcon a:hover {
- text-decoration: none;
-}
-
-.GadgetContainer .UIColumns {
-}
-
-.GadgetContainer .UIColumn {
- float: left; /* orientation=lt */
- float: right; /* orientation=rt */
- width: 325px;
- padding: 2px;
-}
-
-.UIDashboardContainer .UIGadget {
- width: 320px;
-}
-.UIDashboardContainer .UIGadget .GadgetMenuBar{
- text-align: left; /* orientation=lt */
- text-align: right; /* orientation=rt */
-}
-
-.UIDashboardContainer .UITarget {
- background: #f2f2f3;
- margin: 5px 5px 10px 5px;
-}
-
-.UIDashboard .Dragging {
- margin: 3px 0px 0px 3px; /* orientation=lt */
- margin: 3px 3px 0px 0px; /* orientation=rt */
-}
-
-#UIAddGadgetPopup {
- width: 225px;
-}
-
-#UIAddGadgetPopup .TopLeftCornerDecorator {
- background: url('background/PortalComposer.gif') no-repeat left top;
- padding-left: 7px;
-}
-
-#UIAddGadgetPopup .TopCenterDecorator {
- background: url('background/PortalComposer.gif') repeat-x left -34px;
- height: 34px;
- padding: 0px;
-}
-
-#UIAddGadgetPopup .TopRightCornerDecorator {
- background: url('background/PortalComposer.gif') no-repeat right top;
- padding-right: 7px;
-}
-
-#UIAddGadgetPopup .MiddleLeftSideDecorator {
- background: url(background/MiddlePortalComposer.gif) repeat-y left top;
- padding-left: 3px;
-}
-
-#UIAddGadgetPopup .MiddleCenterDecorator {
- background: #d8dae1 url(background/CenterMiddleWindow.gif) repeat-x left top;
- padding: 4px;
- padding-bottom: 0px;
-}
-
-#UIAddGadgetPopup .MiddleRightSideDecorator {
- background: url(background/MiddlePortalComposer.gif) repeat-y right top;
- padding-right: 3px;
-}
-
-#UIAddGadgetPopup .UIWindowContent {
- border: 1px solid #bdbcbd;
-}
-
-#UIAddGadgetPopup .PopupContent {
- background: #fff;
-}
-
-#UIAddGadgetPopup .ResizeButton {
- background: url('background/ResizeBtn.gif') no-repeat right top; /* orientation=lt */
- background: url('background/ResizeBtn-rt.gif') no-repeat left top; /* orientation=rt */
- display: block;
- float: right; /* orientation=lt */
- float: left; /* orientation=rt */
- cursor: nw-resize; /* orientation=lt */
- cursor: ne-resize; /* orientation=rt */
-}
-
-#UIAddGadgetPopup .BottomLeftCornerDecorator {
- border: 1px solid #a2a3a9;
- border-top: none;
- background: #d8dae1;
-}
-
-#UIAddGadgetPopup .BottomCenterDecorator {
- height: 0px;
- background: none;
-}
-
-#UIAddGadgetPopup .BottomRightCornerDecorator {
- padding: 0px 6px 6px 6px;
- background: none;
-}
-
-#UIAddGadgetPopup .CloseButton {
- background: url('background/TopExitBtn.gif') no-repeat left top;
- width: 23px;
- height: 17px;
- margin-right: 0px;
-}
-
-#UIAddGadgetPopup .PopupTitleIcon {
- margin-left: 0px;
-}
-
-#UIAddGadgetPopup .PopupTitle {
- margin-left: 22px;
-}
-/*----------------------Maximized-------------------*/
-
-.Maximized .UIGadget {
- padding: 5px;
- margin: 0px;
-}
-
-.Maximized .UIGadget .GadgetControl {
- float: none;
- padding: 0px;
- height: auto; width: auto;
-}
-
-.Maximized .UIGadget .GadgetControl .LeftControlBar {
- background: none;
- padding: 0px;
-}
-
-.Maximized .UIGadget .GadgetControl .RightControlBar {
- background: none;
- padding: 0px;
-}
-
-.Maximized .UIGadget .GadgetControl .CenterControlBar {
- background: url('background/BgTitleGadget.gif') repeat-x left top;
- height: 23px;
- line-height: 23px;
- padding: 0 9px;
- border: 1px solid #dbdbdb;
- border-top: none;
-}
-
-.Maximized .UIGadget .GadgetControl .GadgetDragHandleArea {
- display: none;
-}
-
-.Maximized .UIGadget .TLGadget {
- display: none;
-}
-
-.Maximized .UIGadget .MLGadget {
- background: #f2f2f3;
- border: 1px solid #c3c3c3;
- border-top: none;
- padding: 3px;
-}
-
-.Maximized .UIGadget .MRGadget {
- background: white;
- padding: 0 0 1px;
-}
-
-.Maximized .UIGadget .BLGadget {
- display: none;
-}
-
-.Maximized .GadgetTitle {
- float: left; /* orientation=lt */
- float: right; /* orientation=rt */
- padding: 0px 5px;
- color: #5b5b5b;
- font-weight: bold;
- cursor: move;
- overflow: hidden;
- white-space: nowrap;
-}
-
-.Maximized iframe {
- width: 100%;
+}
+
+.UITabPaneDashboard .UIHorizontalTabs .AddDashboard {
+ background: url('background/AddDashboard.gif') no-repeat bottom;
+ width: 34px; height: 22px;
+ float: left;
+ cursor: pointer;
+}
+
+.UITabPaneDashboard .UIHorizontalTabs .GrayTabStyle .NormalTab .LeftTab {
+ background: url(background/TabDashboard.gif) no-repeat left -44px;
+}
+
+.UITabPaneDashboard .UIHorizontalTabs .GrayTabStyle .NormalTab .RightTab {
+ background: url(background/TabDashboard.gif) no-repeat right -44px;
+}
+
+.UITabPaneDashboard .UIHorizontalTabs .GrayTabStyle .NormalTab .MiddleTab {
+ background: url(background/TabDashboard.gif) repeat-x left -66px;
+ line-height: 22px;
+}
+
+.UITabPaneDashboard .UIHorizontalTabs .GrayTabStyle .SelectedTab .LeftTab {
+ background: url(background/TabDashboard.gif) no-repeat left top;
+}
+
+.UITabPaneDashboard .UIHorizontalTabs .GrayTabStyle .SelectedTab .RightTab {
+ background: url(background/TabDashboard.gif) no-repeat right top;
+ padding-right: 4px;
+}
+
+.UITabPaneDashboard .UIHorizontalTabs .GrayTabStyle .SelectedTab .MiddleTab {
+ background: url(background/TabDashboard.gif) repeat-x left -22px;
+ line-height: 22px;
+}
+/*----------------------UIGadgetsSelectorForm-------------------*/
+
+.UIDashboardSelectContainer {
+ float: left; /* orientation=lt */
+ float: right; /* orientation=rt */
+ width: 209px;
+ height: 100%;
+}
+
+.UIDashboardSelectContainer .DashboardControlBar {
+ height: 23px;
+ background: url('background/Dashboard.gif') repeat-x top;
+ border-bottom: 1px solid #b7b7b7;
+}
+
+.UIDashboardSelectContainer .TitleBar {
+ color: black;
+ font-weight: bold;
+ line-height: 23px;
+ float: left; /* orientation=lt */
+ float: right; /* orientation=rt */
+ padding-left: 10px; /* orientation=lt */
+ padding-right: 10px; /* orientation=rt */
+}
+
+.UIDashboardSelectContainer .CloseIcon {
+ float: right; /* orientation=lt */
+ float: left; /* orientation=rt */
+ background: url('background/Dashboard.gif') no-repeat left -180px;
+ height: 20px;
+ width: 20px;
+}
+
+.UIDashboardSelectContainer .DashboardItemContainer {
+}
+
+.UIDashboardSelectContainer .DashboardItemContainer .InputContainer {
+ padding: 4px 0px 4px 10px;
+ background: #ececec;
+}
+
+.UIDashboardSelectContainer .DashboardItemContainer .InputContainer input {
+ margin: 0 3px 0 10px;
+ border: 1px solid #b8babf;
+ font-size: 11px;
+ width: 160px;
+}
+
+.UIDashboardSelectContainer .DashboardItemContainer .GadgetItemsContainer {
+ border-top: 1px solid #b7b7b7;
+ font-weight: bold;
+}
+
+.UIDashboardSelectContainer .DashboardItemContainer .TopItemContainer {
+ background: url('background/Dashboard.gif') repeat-x center -37px;
+ height: 11px;
+ padding: 1px;
+ border-bottom: 1px solid #b7b7b7;
+ display: none;
+}
+
+.UIDashboardSelectContainer .DashboardItemContainer .UpArrowIcon {
+ background: url('background/Dashboard.gif') repeat-x center -98px;
+ height: 11px; width: 15px;
+ margin: auto;
+ cursor: pointer;
+}
+
+.UIDashboardSelectContainer .DashboardItemContainer .DisableArrowIcon {
+ filter: alpha(opacity=30);
+ -moz-opacity: 0.3;
+}
+
+.UIDashboardSelectContainer .DashboardItemContainer .MiddleItemContainer {
+ overflow: hidden;
+}
+
+.UIDashboardSelectContainer .DashboardItemContainer .BottomItemContainer {
+ background: url('background/Dashboard.gif') repeat-x center -37px;
+ height: 11px;
+ padding: 1px;
+ border-top: 1px solid #b7b7b7;
+ display: none;
+}
+
+.UIDashboardSelectContainer .DashboardItemContainer .DownArrowIcon {
+ background: url('background/Dashboard.gif') repeat-x center -114px;
+ height: 11px; width: 15px;
+ margin: auto;
+ cursor: pointer;
+}
+
+.UIDashboardSelectContainer .DashboardItemContainer .DisableContainer {
+ background: url('background/Dashboard.gif') repeat-x center -23px;
+}
+
+.UIDashboardSelectContainer .DashboardItemContainer .GadgetCategory {
+ padding: 10px;
+ text-transform: capitalize;
+}
+
+.UIDashboardSelectContainer .GadgetCategory .GadgetTab .LeftCategoryTitleBar {
+ background: url('background/CategoryTitleBar.gif') repeat-x left top;
+ border: 1px solid #b8babf;
+}
+
+.UIDashboardSelectContainer .GadgetCategory .GadgetTab .RightCategoryTitleBar {
+
+}
+
+.UIDashboardSelectContainer .GadgetCategory .GadgetTab .MiddleCategoryTitleBar {
+ height: 23px;
+ padding: 0px 8px;
+}
+
+.UIDashboardSelectContainer .GadgetCategory .GadgetTab .ArrowIcon {
+ background: url('background/ArrowIcon.gif') no-repeat left -14px; /* orientation=lt */
+ background: url('background/ArrowIcon.gif') no-repeat right -14px; /* orientation=rt */
+ line-height: 23px;
+ overflow: hidden;
+ padding-left: 18px; /* orientation=lt */
+ padding-right: 18px; /* orientation=rt */
+ color: #000;
+ font-weight: normal;
+}
+
+.UIDashboardSelectContainer .GadgetCategory .SelectedTab .ArrowIcon {
+ background: url('background/ArrowIcon.gif') no-repeat left 8px; /* orientation=lt */
+ background: url('background/ArrowIcon.gif') no-repeat right 8px; /* orientation=rt */
+}
+
+.UIDashboardSelectContainer .GadgetCategory .ItemsContainer {
+ background: url('background/BGItemsContainer.gif') repeat-x left 1px;
+ border: 1px solid #b8babf;
+ border-top: none;
+ padding: 8px 8px 4px 8px;
+}
+
+.UIDashboardSelectContainer .GadgetCategory .UIGadget {
+ background: url('background/GadgetControl.gif') repeat-x left top;
+ margin: 0px 0px 4px 0px;
+ height: 18px;
+ line-height: 18px;
+ color: #676767;
+ padding: 0px;
+ background: #f2f2f3;
+}
+
+.UIDashboard .UIDashboardSelectContainer .GadgetTitle {
+ width: 150px;
+ float: none;
+}
+
+/*----------------------UIGadgetsContainer-------------------*/
+
+.UIDashboard .UIDashboardContainer .NoGadget {
+ text-align: center;
+ font-size: 12px; font-weight: bold;
+ padding: 5px; color: #111;
+}
+
+.UIDashboard .UIGadget {
+ padding: 5px 0px;
+}
+
+.UIDashboard .UIGadget .GadgetControl {
+ float: none;
+ padding: 0px;
+ height: auto; width: auto;
+}
+
+.UIDashboard .UIGadget .GadgetControl .LeftControlBar {
+ background: none;
+ padding: 0px;
+}
+
+.UIDashboard .UIGadget .GadgetControl .RightControlBar {
+ background: none;
+ padding: 0px;
+}
+
+.UIDashboard .UIGadget .GadgetControl .CenterControlBar {
+ background: url('background/BgTitleGadget.gif') repeat-x left top;
+ height: 23px;
+ line-height: 23px;
+ padding: 0 9px;
+ border: 1px solid #dbdbdb;
+ border-top: none;
+}
+
+.UIDashboard .UIGadget .GadgetControl .GadgetDragHandleArea {
+ display: none;
+}
+
+.UIDashboard .UIGadget .TLGadget {
+ display: none;
+}
+
+.UIDashboard .UIGadget .MLGadget {
+ background: #f2f2f3;
+ border: 1px solid #c3c3c3;
+ border-top: none;
+ padding: 3px;
+}
+
+.UIDashboard .UIGadget .MRGadget {
+ background: white;
+ padding: 0 0 1px;
+}
+
+.UIDashboard .UIGadget .BLGadget {
+ display: none;
+}
+
+/*------------------UIDashboardContainer----------------*/
+
+.UIDashboardContainer {
+ height: 100%;
+ background: #fff;
+}
+
+.UIDashboard .UIDashboardContainer .GadgetTitle {
+ width: 197px;
+}
+
+.UIDashboardContainer .GadgetContainer {
+ overflow: auto;
+ min-height: 400px;
+ _height: 400px;
+}
+
+/**html .UIDashboardContainer .GadgetContainer {
+ height: 400px;
+}*/
+
+.UIDashboardContainer .GadgetContainer .ContainerControlBarL {
+ padding: 5px 10px;
+ height: 22px;
+}
+
+.UIDashboardContainer .ContainerControlBarL .AddIcon {
+ background: url('background/Dashboard.gif') no-repeat left -200px; /* orientation=lt */
+ background: url('background/Dashboard.gif') no-repeat right -200px; /* orientation=rt */
+ padding-left: 30px; /* orientation=lt */
+ padding-right: 30px; /* orientation=rt */
+ width: 200px; /* orientation=rt */
+ font-weight: bold; font-size: 12px;
+ display: block;
+ line-height: 22px;
+ float: right; /* orientation=lt */
+ float: left; /* orientation=rt */
+}
+
+.UIDashboardContainer .GadgetContainer .AddIcon a {
+ text-decoration: underline;
+ color: #292929;
+ cursor: pointer;
+}
+
+.UIDashboardContainer .GadgetContainer .AddIcon a:hover {
+ text-decoration: none;
+}
+
+.GadgetContainer .UIColumns {
+}
+
+.GadgetContainer .UIColumn {
+ float: left; /* orientation=lt */
+ float: right; /* orientation=rt */
+ width: 325px;
+ padding: 2px;
+}
+
+.UIDashboardContainer .UIGadget {
+ width: 320px;
+}
+.UIDashboardContainer .UIGadget .GadgetMenuBar{
+ text-align: left; /* orientation=lt */
+ text-align: right; /* orientation=rt */
+}
+
+.UIDashboardContainer .UITarget {
+ background: #f2f2f3;
+ margin: 5px 5px 10px 5px;
+}
+
+.UIDashboard .Dragging {
+ margin: 3px 0px 0px 3px; /* orientation=lt */
+ margin: 3px 3px 0px 0px; /* orientation=rt */
+}
+
+#UIAddGadgetPopup {
+ width: 225px;
+}
+
+#UIAddGadgetPopup .TopLeftCornerDecorator {
+ background: url('background/PortalComposer.gif') no-repeat left top;
+ padding-left: 7px;
+}
+
+#UIAddGadgetPopup .TopCenterDecorator {
+ background: url('background/PortalComposer.gif') repeat-x left -34px;
+ height: 34px;
+ padding: 0px;
+}
+
+#UIAddGadgetPopup .TopRightCornerDecorator {
+ background: url('background/PortalComposer.gif') no-repeat right top;
+ padding-right: 7px;
+}
+
+#UIAddGadgetPopup .MiddleLeftSideDecorator {
+ background: url(background/MiddlePortalComposer.gif) repeat-y left top;
+ padding-left: 3px;
+}
+
+#UIAddGadgetPopup .MiddleCenterDecorator {
+ background: #d8dae1 url(background/CenterMiddleWindow.gif) repeat-x left top;
+ padding: 4px;
+ padding-bottom: 0px;
+}
+
+#UIAddGadgetPopup .MiddleRightSideDecorator {
+ background: url(background/MiddlePortalComposer.gif) repeat-y right top;
+ padding-right: 3px;
+}
+
+#UIAddGadgetPopup .UIWindowContent {
+ border: 1px solid #bdbcbd;
+}
+
+#UIAddGadgetPopup .PopupContent {
+ background: #fff;
+}
+
+#UIAddGadgetPopup .ResizeButton {
+ background: url('background/ResizeBtn.gif') no-repeat right top; /* orientation=lt */
+ background: url('background/ResizeBtn-rt.gif') no-repeat left top; /* orientation=rt */
+ display: block;
+ float: right; /* orientation=lt */
+ float: left; /* orientation=rt */
+ cursor: nw-resize; /* orientation=lt */
+ cursor: ne-resize; /* orientation=rt */
+}
+
+#UIAddGadgetPopup .BottomLeftCornerDecorator {
+ border: 1px solid #a2a3a9;
+ border-top: none;
+ background: #d8dae1;
+}
+
+#UIAddGadgetPopup .BottomCenterDecorator {
+ height: 0px;
+ background: none;
+}
+
+#UIAddGadgetPopup .BottomRightCornerDecorator {
+ padding: 0px 6px 6px 6px;
+ background: none;
+}
+
+#UIAddGadgetPopup .CloseButton {
+ background: url('background/TopExitBtn.gif') no-repeat left top;
+ width: 23px;
+ height: 17px;
+ margin-right: 0px;
+}
+
+#UIAddGadgetPopup .PopupTitleIcon {
+ margin-left: 0px;
+}
+
+#UIAddGadgetPopup .PopupTitle {
+ margin-left: 22px;
+}
+/*----------------------UIDashboardMask-------------------*/
+
+.UIDashboardMask .UIGadget {
+ padding: 5px;
+ margin: 0px;
+}
+
+.UIDashboardMask .UIGadget .GadgetControl {
+ float: none;
+ padding: 0px;
+ height: auto; width: auto;
+}
+
+.UIDashboardMask .UIGadget .GadgetControl .LeftControlBar {
+ background: none;
+ padding: 0px;
+}
+
+.UIDashboardMask .UIGadget .GadgetControl .RightControlBar {
+ background: none;
+ padding: 0px;
+}
+
+.UIDashboardMask .UIGadget .GadgetControl .CenterControlBar {
+ background: url('background/BgTitleGadget.gif') repeat-x left top;
+ height: 23px;
+ line-height: 23px;
+ padding: 0 9px;
+ border: 1px solid #dbdbdb;
+ border-top: none;
+}
+
+.UIDashboardMask .UIGadget .GadgetControl .GadgetDragHandleArea {
+ display: none;
+}
+
+.UIDashboardMask .UIGadget .TLGadget {
+ display: none;
+}
+
+.UIDashboardMask .UIGadget .MLGadget {
+ background: #f2f2f3;
+ border: 1px solid #c3c3c3;
+ border-top: none;
+ padding: 3px;
+}
+
+.UIDashboardMask .UIGadget .MRGadget {
+ background: white;
+ padding: 0 0 1px;
+}
+
+.UIDashboardMask .UIGadget .BLGadget {
+ display: none;
+}
+
+.UIDashboardMask .GadgetTitle {
+ float: left; /* orientation=lt */
+ float: right; /* orientation=rt */
+ padding: 0px 5px;
+ color: #5b5b5b;
+ font-weight: bold;
+ cursor: move;
+ overflow: hidden;
+ white-space: nowrap;
+}
+
+.UIDashboardMask iframe {
+ width: 100%;
}
\ No newline at end of file
Modified: portal/trunk/web/eXoResources/src/main/webapp/skin/DefaultSkin/portal/webui/component/view/UIGadget/Stylesheet.css
===================================================================
--- portal/trunk/web/eXoResources/src/main/webapp/skin/DefaultSkin/portal/webui/component/view/UIGadget/Stylesheet.css 2009-11-10 08:20:02 UTC (rev 540)
+++ portal/trunk/web/eXoResources/src/main/webapp/skin/DefaultSkin/portal/webui/component/view/UIGadget/Stylesheet.css 2009-11-10 08:52:48 UTC (rev 541)
@@ -17,154 +17,154 @@
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
-/*************************************** UIGadget **************************************/
-
-.UIGadget {
- margin: 3px 0px;
-}
-
-.UIGadget .GadgetMenuBar {
- height: 20px;
-}
-
-.UIGadget .GadgetControl {
- float: right; /* orientation=lt */
- float: left; /* orientation=rt */
- width: 100px; height: 20px;
- padding-right: 6px; /* orientation=lt */
- padding-left: 6px; /* orientation=rt */
-}
-
-.UIGadget .GadgetControl .LeftControlBar {
- background: url('background/Gadget.png') no-repeat left top; /* orientation=lt */
- background: url('background/Gadget-rt.png') no-repeat right top; /* orientation=rt */
- padding-left: 23px; /* orientation=lt */
- padding-right: 23px; /* orientation=rt */
-}
-
-.UIGadget .GadgetControl .RightControlBar{
- background: url('background/Gadget.png') no-repeat right top; /* orientation=lt */
- background: url('background/Gadget-rt.png') no-repeat left top; /* orientation=rt */
- padding-right: 4px; /* orientation=lt */
- padding-left: 4px; /* orientation=rt */
-}
-
-.UIGadget .GadgetControl .CenterControlBar {
- height: 19px;
- background: url('background/Gadget.png') repeat-x center -19px;
-}
-
-.UIGadget .GadgetControl .GadgetDragHandleArea {
- float: right; /* orientation=lt */
- float: left; /* orientation=rt */
- width: 13px; height: 13px;
- cursor: move;
- margin: 3px 3px 0px 3px;
- background: url('background/Gadget.png') left -78px;
-}
-
-.UIGadget .GadgetControl .IconControl {
- background-image: url('background/IconGadget.gif');
- background-position: no-repeat;
- float: right; /* orientation=lt */
- float: left; /* orientation=rt */
- height: 14px;
- width: 14px;
- margin: 3px;
- cursor: pointer;
-}
-
-.UIGadget .GadgetControl .CloseGadget {
- background-position: top right;
-}
-
-.UIGadget .GadgetControl .MinimizeGadget {
- background-position: 31px top;
-}
-
-.UIGadget .GadgetControl .RestoreGadget {
- background-position: 48px top;
-}
-
-.UIGadget .GadgetControl .EditGadget {
- background-position: left top;
-}
-
-.UIGadget .GadgetControl .MaximizeGadget {
- background-position: 48px top;
-}
-
-.UIGadget .TLGadget {
- background: url('background/Gadget.png') no-repeat left -38px;
- padding-left: 8px;
-}
-
-.UIGadget .TRGadget {
- background: url('background/Gadget.png') no-repeat right -38px;
- padding-right: 8px;
-}
-
-.UIGadget .TCGadget {
- background: url('background/Gadget.png') repeat-x center -43px;
- height: 5px;
-}
-
-.UIGadget .MLGadget {
- background: url('background/MiddleGadget.png') repeat-y left;
- padding-left: 6px;
-}
-
-.UIGadget .MRGadget {
- background: url('background/MiddleGadget.png') repeat-y right;
- padding-right: 6px;
-}
-
-.UIGadget .MCGadget {
- background: white;
-}
-
-.UIGadget .BLGadget {
- background: url('background/Gadget.png') no-repeat left -58px;
- padding-left: 9px;
-}
-
-.UIGadget .BRGadget {
- background: url('background/Gadget.png') no-repeat right -68px;
- padding-right: 9px;
-}
-
-.UIGadget .BCGadget {
- background: url('background/Gadget.png') repeat-x center -48px;
- height: 10px;
-}
-
-.UIControlWorkspace .UIGadget iframe {
- width: 210px;
-}
-
-.UIGadgetContent .gadgets-gadget-user-prefs-dialog {
- background: #F2F2F3;
- padding: 0px 25px;
-}
-
-.UIGadgetContent span {
- float: left;
- width: 102px;
- margin-top: 5px;
-}
-
-.UIGadgetContent input {
- margin-top: 5px;
-}
-
-.UIGadgetContent .gadgets-gadget-user-prefs-dialog-action-bar {
- margin-left: 101px;
-}
-
-.UIGadgetContent .devToolbar {
- width: 56%;
-}
-
-.gadgets-gadget-content {
- padding: 10px 0;
-}
+/*************************************** UIGadget **************************************/
+
+.UIGadget {
+ margin: 3px 0px;
+}
+
+.UIGadget .GadgetMenuBar {
+ height: 20px;
+}
+
+.UIGadget .GadgetControl {
+ float: right; /* orientation=lt */
+ float: left; /* orientation=rt */
+ width: 100px; height: 20px;
+ padding-right: 6px; /* orientation=lt */
+ padding-left: 6px; /* orientation=rt */
+}
+
+.UIGadget .GadgetControl .LeftControlBar {
+ background: url('background/Gadget.png') no-repeat left top; /* orientation=lt */
+ background: url('background/Gadget-rt.png') no-repeat right top; /* orientation=rt */
+ padding-left: 23px; /* orientation=lt */
+ padding-right: 23px; /* orientation=rt */
+}
+
+.UIGadget .GadgetControl .RightControlBar{
+ background: url('background/Gadget.png') no-repeat right top; /* orientation=lt */
+ background: url('background/Gadget-rt.png') no-repeat left top; /* orientation=rt */
+ padding-right: 4px; /* orientation=lt */
+ padding-left: 4px; /* orientation=rt */
+}
+
+.UIGadget .GadgetControl .CenterControlBar {
+ height: 19px;
+ background: url('background/Gadget.png') repeat-x center -19px;
+}
+
+.UIGadget .GadgetControl .GadgetDragHandleArea {
+ float: right; /* orientation=lt */
+ float: left; /* orientation=rt */
+ width: 13px; height: 13px;
+ cursor: move;
+ margin: 3px 3px 0px 3px;
+ background: url('background/Gadget.png') left -78px;
+}
+
+.UIGadget .GadgetControl .IconControl {
+ background-image: url('background/IconGadget.gif');
+ background-position: no-repeat;
+ float: right; /* orientation=lt */
+ float: left; /* orientation=rt */
+ height: 14px;
+ width: 14px;
+ margin: 3px;
+ cursor: pointer;
+}
+
+.UIGadget .GadgetControl .CloseGadget {
+ background-position: top right;
+}
+
+.UIGadget .GadgetControl .MinimizeGadget {
+ background-position: 31px top;
+}
+
+.UIGadget .GadgetControl .RestoreGadget {
+ background-position: 48px top;
+}
+
+.UIGadget .GadgetControl .EditGadget {
+ background-position: left top;
+}
+
+.UIGadget .GadgetControl .MaximizeGadget {
+ background-position: 48px top;
+}
+
+.UIGadget .TLGadget {
+ background: url('background/Gadget.png') no-repeat left -38px;
+ padding-left: 8px;
+}
+
+.UIGadget .TRGadget {
+ background: url('background/Gadget.png') no-repeat right -38px;
+ padding-right: 8px;
+}
+
+.UIGadget .TCGadget {
+ background: url('background/Gadget.png') repeat-x center -43px;
+ height: 5px;
+}
+
+.UIGadget .MLGadget {
+ background: url('background/MiddleGadget.png') repeat-y left;
+ padding-left: 6px;
+}
+
+.UIGadget .MRGadget {
+ background: url('background/MiddleGadget.png') repeat-y right;
+ padding-right: 6px;
+}
+
+.UIGadget .MCGadget {
+ background: white;
+}
+
+.UIGadget .BLGadget {
+ background: url('background/Gadget.png') no-repeat left -58px;
+ padding-left: 9px;
+}
+
+.UIGadget .BRGadget {
+ background: url('background/Gadget.png') no-repeat right -68px;
+ padding-right: 9px;
+}
+
+.UIGadget .BCGadget {
+ background: url('background/Gadget.png') repeat-x center -48px;
+ height: 10px;
+}
+
+.UIControlWorkspace .UIGadget iframe {
+ width: 210px;
+}
+
+.UIGadgetContent .gadgets-gadget-user-prefs-dialog {
+ background: #F2F2F3;
+ padding: 0px 25px;
+}
+
+.UIGadgetContent span {
+ float: left;
+ width: 102px;
+ margin-top: 5px;
+}
+
+.UIGadgetContent input {
+ margin-top: 5px;
+}
+
+.UIGadgetContent .gadgets-gadget-user-prefs-dialog-action-bar {
+ margin-left: 101px;
+}
+
+.UIGadgetContent .devToolbar {
+ width: 56%;
+}
+
+.gadgets-gadget-content {
+ padding: 10px 0;
+}
Modified: portal/trunk/web/eXoResources/src/main/webapp/skin/DefaultSkin/webui/component/UIPopup/UIPopupMessage/Stylesheet.css
===================================================================
--- portal/trunk/web/eXoResources/src/main/webapp/skin/DefaultSkin/webui/component/UIPopup/UIPopupMessage/Stylesheet.css 2009-11-10 08:20:02 UTC (rev 540)
+++ portal/trunk/web/eXoResources/src/main/webapp/skin/DefaultSkin/webui/component/UIPopup/UIPopupMessage/Stylesheet.css 2009-11-10 08:52:48 UTC (rev 541)
@@ -17,168 +17,168 @@
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
-.UIPopupMessages {
-}
-
-.UIPopupMessages .UIHorizontalTabs {
- height: 31px;
- background: url('background/MessageTabBar.gif') repeat-x bottom;
-}
-
-.UIPopupMessages .UIHorizontalTabs .TabsContainer {
- height: 31px;
-}
-
-.UIPopupMessages .UITabPane .UITabContent {
- border: none;
-}
-
-.UIPopupMessages .PopupMessageBox {
- padding: 5px;
- height: 200px;
- overflow: auto;
-}
-
-.UIPopupMessages .WarningMessage .MessageContainer {
- color: orange;
- padding: 4px 0px 4px 10px; /* orientation=lt */
- padding: 4px 10px 4px 0px; /* orientation=rt */
- border-bottom: 1px dotted #c3c3c3;
-}
-
-.UIPopupMessages .ErrorMessage .MessageContainer {
- color: red;
- padding: 4px 0px 4px 10px; /* orientation=lt */
- padding: 4px 10px 4px 0px; /* orientation=rt */
- border-bottom: 1px dotted #c3c3c3;
-}
-
-.UIPopupMessages .InfoMessage .MessageContainer {
- padding: 4px 0px 4px 10px; /* orientation=lt */
- padding: 4px 10px 4px 0px; /* orientation=rt */
- border-bottom: 1px dotted #c3c3c3;
-}
-
-.UIPopupMessages .PopupMessageContainer .PopupIcon {
- float: left; /* orientation=lt */
- float: right; /* orientation=rt */
- width: 16px; height: 16px;
- margin-top: 5px;
-}
-
-.UIPopupMessages .PopupMessageContainer .InfoMessageIcon {
- background: url(/eXoResources/skin/DefaultSkin/skinIcons/16x16/icons/Info.gif) no-repeat top;
-}
-
-.UIPopupMessages .PopupMessageContainer .WarningMessageIcon {
- background: url(/eXoResources/skin/DefaultSkin/skinIcons/16x16/icons/Warning.gif) no-repeat top;
-}
-
-.UIPopupMessages .PopupMessageContainer .ErrorMessageIcon {
- background: url(/eXoResources/skin/DefaultSkin/skinIcons/16x16/icons/Error.gif) no-repeat top;
-}
-
-.UIPopupMessages .PopupMessageContainer .PopupMessage {
- line-height: 16px;
- vertical-align: middle;
- padding: 5px 0px;
- margin-left: 25px; /* orientation=lt */
- margin-right: 25px; /* orientation=rt */
-}
-
-.UIPopupMessages .MessageActionBar {
-}
-
-/***************************Begin PoupWindow ExoMessage**********************************/
-
-.UIPopupWindow .ExoMessageDecorator {
- overflow: hidden;/*Fix for IE*/
-}
-
-.UIPopupWindow .ExoMessageDecorator .TopLeftCornerDecorator {
- background: url('background/ExoMessageDecorator.png') no-repeat left top;
- padding-left: 6px;
- height: 31px;
-}
-
-.UIPopupWindow .ExoMessageDecorator .TopRightCornerDecorator {
- background: url('background/ExoMessageDecorator.png') no-repeat right -31px;
- padding-right: 6px;
- height: 31px;
-}
-
-.UIPopupWindow .ExoMessageDecorator .TopCenterDecorator {
- background: url('background/ExoMessageDecorator.png') repeat-x center -62px;
- height: 31px;
-}
-
-.UIPopupWindow .ExoMessageDecorator .PopupTitle {
- background: none;
- text-align: left; /* orientation=lt */
- text-align: right; /* orientation=rt */
-}
-
-.UIPopupWindow .ExoMessageDecorator .PopupTitleIcon {
- width: 16px; height: 16px;
- background: url('/eXoResources/skin/DefaultSkin/skinIcons/16x16/icons/Message.gif') no-repeat;
- float: left; /* orientation=lt */
- float: right; /* orientation=rt */
- margin: 4px 0px 0px 4px; /* orientation=lt */
- margin: 4px 4px 0px 0px; /* orientation=rt */
-}
-
-.UIPopupWindow .ExoMessageDecorator .MiddleLeftSideDecorator {
- background: url('background/MiddleExoMessage.png') repeat-y left;
- padding-left: 4px;
- height: 100%;
-}
-
-.UIPopupWindow .ExoMessageDecorator .MiddleRightSideDecorator {
- background: url('background/MiddleExoMessage.png') repeat-y right;
- padding-right: 4px;
-}
-
-.UIPopupWindow .ExoMessageDecorator .MiddleCenterDecorator {
- background: #e1e1e1;
- padding: 6px 7px;
-}
-
-.UIPopupWindow .ExoMessageDecorator .UIWindowContent {
- padding: 0px; margin: 0px;
- border: none;
-}
-
-.UIPopupWindow .ExoMessageDecorator .PopupContent {
- background: none;
-}
-
-.UIPopupWindow .ExoMessageDecorator .UIWindowContent .Content {
- padding: 0px; margin: 0px;
- border: none;
-}
-
-.UIPopupWindow .ExoMessageDecorator .BottomLeftCornerDecorator {
- background: url('background/ExoMessageDecorator.png') no-repeat left -93px;
- padding-left: 6px;
-}
-
-.UIPopupWindow .ExoMessageDecorator .BottomRightCornerDecorator {
- background: url('background/ExoMessageDecorator.png') no-repeat right -99px;
- padding-right: 6px;
-}
-
-.UIPopupWindow .ExoMessageDecorator .BottomCenterDecorator {
- background: url('background/ExoMessageDecorator.png') repeat-x center -105px;
- height: 6px;
-}
-
-.UIPopupWindow .ExoMessageDecorator .UITabContentContainer {
- background: white;
-}
-
-.UIPopupWindow .ExoMessageDecorator .UITabContentContainer .UITabContent {
- height: auto;
- background: none;
- border: none;
- padding: 0px;
-}
+.UIPopupMessages {
+}
+
+.UIPopupMessages .UIHorizontalTabs {
+ height: 31px;
+ background: url('background/MessageTabBar.gif') repeat-x bottom;
+}
+
+.UIPopupMessages .UIHorizontalTabs .TabsContainer {
+ height: 31px;
+}
+
+.UIPopupMessages .UITabPane .UITabContent {
+ border: none;
+}
+
+.UIPopupMessages .PopupMessageBox {
+ padding: 5px;
+ height: 200px;
+ overflow: auto;
+}
+
+.UIPopupMessages .WarningMessage .MessageContainer {
+ color: orange;
+ padding: 4px 0px 4px 10px; /* orientation=lt */
+ padding: 4px 10px 4px 0px; /* orientation=rt */
+ border-bottom: 1px dotted #c3c3c3;
+}
+
+.UIPopupMessages .ErrorMessage .MessageContainer {
+ color: red;
+ padding: 4px 0px 4px 10px; /* orientation=lt */
+ padding: 4px 10px 4px 0px; /* orientation=rt */
+ border-bottom: 1px dotted #c3c3c3;
+}
+
+.UIPopupMessages .InfoMessage .MessageContainer {
+ padding: 4px 0px 4px 10px; /* orientation=lt */
+ padding: 4px 10px 4px 0px; /* orientation=rt */
+ border-bottom: 1px dotted #c3c3c3;
+}
+
+.UIPopupMessages .PopupMessageContainer .PopupIcon {
+ float: left; /* orientation=lt */
+ float: right; /* orientation=rt */
+ width: 16px; height: 16px;
+ margin-top: 5px;
+}
+
+.UIPopupMessages .PopupMessageContainer .InfoMessageIcon {
+ background: url(/eXoResources/skin/DefaultSkin/skinIcons/16x16/icons/Info.gif) no-repeat top;
+}
+
+.UIPopupMessages .PopupMessageContainer .WarningMessageIcon {
+ background: url(/eXoResources/skin/DefaultSkin/skinIcons/16x16/icons/Warning.gif) no-repeat top;
+}
+
+.UIPopupMessages .PopupMessageContainer .ErrorMessageIcon {
+ background: url(/eXoResources/skin/DefaultSkin/skinIcons/16x16/icons/Error.gif) no-repeat top;
+}
+
+.UIPopupMessages .PopupMessageContainer .PopupMessage {
+ line-height: 16px;
+ vertical-align: middle;
+ padding: 5px 0px;
+ margin-left: 25px; /* orientation=lt */
+ margin-right: 25px; /* orientation=rt */
+}
+
+.UIPopupMessages .MessageActionBar {
+}
+
+/***************************Begin PoupWindow ExoMessage**********************************/
+
+.UIPopupWindow .ExoMessageDecorator {
+ overflow: hidden;/*Fix for IE*/
+}
+
+.UIPopupWindow .ExoMessageDecorator .TopLeftCornerDecorator {
+ background: url('background/ExoMessageDecorator.png') no-repeat left top;
+ padding-left: 6px;
+ height: 31px;
+}
+
+.UIPopupWindow .ExoMessageDecorator .TopRightCornerDecorator {
+ background: url('background/ExoMessageDecorator.png') no-repeat right -31px;
+ padding-right: 6px;
+ height: 31px;
+}
+
+.UIPopupWindow .ExoMessageDecorator .TopCenterDecorator {
+ background: url('background/ExoMessageDecorator.png') repeat-x center -62px;
+ height: 26px;
+}
+
+.UIPopupWindow .ExoMessageDecorator .PopupTitle {
+ background: none;
+ text-align: left; /* orientation=lt */
+ text-align: right; /* orientation=rt */
+}
+
+.UIPopupWindow .ExoMessageDecorator .PopupTitleIcon {
+ width: 16px; height: 16px;
+ background: url('/eXoResources/skin/DefaultSkin/skinIcons/16x16/icons/Message.gif') no-repeat;
+ float: left; /* orientation=lt */
+ float: right; /* orientation=rt */
+ margin: 4px 0px 0px 4px; /* orientation=lt */
+ margin: 4px 4px 0px 0px; /* orientation=rt */
+}
+
+.UIPopupWindow .ExoMessageDecorator .MiddleLeftSideDecorator {
+ background: url('background/MiddleExoMessage.png') repeat-y left;
+ padding-left: 4px;
+ height: 100%;
+}
+
+.UIPopupWindow .ExoMessageDecorator .MiddleRightSideDecorator {
+ background: url('background/MiddleExoMessage.png') repeat-y right;
+ padding-right: 4px;
+}
+
+.UIPopupWindow .ExoMessageDecorator .MiddleCenterDecorator {
+ background: #e1e1e1;
+ padding: 6px 7px;
+}
+
+.UIPopupWindow .ExoMessageDecorator .UIWindowContent {
+ padding: 0px; margin: 0px;
+ border: none;
+}
+
+.UIPopupWindow .ExoMessageDecorator .PopupContent {
+ background: none;
+}
+
+.UIPopupWindow .ExoMessageDecorator .UIWindowContent .Content {
+ padding: 0px; margin: 0px;
+ border: none;
+}
+
+.UIPopupWindow .ExoMessageDecorator .BottomLeftCornerDecorator {
+ background: url('background/ExoMessageDecorator.png') no-repeat left -93px;
+ padding-left: 6px;
+}
+
+.UIPopupWindow .ExoMessageDecorator .BottomRightCornerDecorator {
+ background: url('background/ExoMessageDecorator.png') no-repeat right -99px;
+ padding-right: 6px;
+}
+
+.UIPopupWindow .ExoMessageDecorator .BottomCenterDecorator {
+ background: url('background/ExoMessageDecorator.png') repeat-x center -105px;
+ height: 6px;
+}
+
+.UIPopupWindow .ExoMessageDecorator .UITabContentContainer {
+ background: white;
+}
+
+.UIPopupWindow .ExoMessageDecorator .UITabContentContainer .UITabContent {
+ height: auto;
+ background: none;
+ border: none;
+ padding: 0px;
+}
Modified: portal/trunk/web/portal/src/main/webapp/login/skin/Stylesheet.css
===================================================================
--- portal/trunk/web/portal/src/main/webapp/login/skin/Stylesheet.css 2009-11-10 08:20:02 UTC (rev 540)
+++ portal/trunk/web/portal/src/main/webapp/login/skin/Stylesheet.css 2009-11-10 08:52:48 UTC (rev 541)
@@ -17,160 +17,160 @@
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
-.UILogin {
- height: 236px;
- font-family: tahoma;
- font-size: 11px;
- margin: 110px auto 7px auto;
- padding:0 5px 0 120px;
- width: 275px;
- background: url('../skin/images/LoginBackground.gif') no-repeat top;
- color: #3f3f3f;
-}
-
-.UILogin .LoginHeader {
- height: 33px;
- line-height: 33px;
- color: #a1c0e9;
- font-size: 13px;
- font-family: arial;
- text-align: right;
- padding: 10px 15px 0px 0px
-}
-
-.UILogin .LoginContent {
- padding-top: 12px;
-}
-
-.UILogin .LoginContent .CenterLoginContent {
- height: 120px;
- padding: 35px 0px;
-}
-
-.UILogin .WelcomeText {
- line-height: 20px;
- color: #058ee6;
- font-size: 17px;
- text-align: left;
- padding-left: 20px;
-}
-
-.UILogin .LoginContent table {
- margin: auto;
-}
-
-.UILogin .LoginContent table .FieldLabel {
- text-align: right;
- padding-right: 5px;
-}
-
-.UILogin .LoginContent table .FieldLabel input {
- margin: 5px 0px;
-}
-
-.UILogin .LoginContent .FieldContainer {
- overflow: hidden ;
- padding-top: 9px ;
- margin: auto ;
- text-align: left;
-}
-
-.UILogin .LoginContent .FieldContainer label {
- float: left;
- width: 80px ; height: 20px;
- line-height: 20px;
- text-align: right;
- font-weight: bold ;
- margin-right: 5px;
- color: #3f3f3f;
-}
-
-.UILogin .LoginContent .FieldContainer input.UserName {
- float: left;
- width: 160px ;
- height: 18px;
- border: solid 1px #b7b7b7 ;
- padding-left: 18px;
- background: #f7f7f7 url('../skin/images/LoginBackground.gif') no-repeat left -236px;
-}
-
-.UILogin .LoginContent .FieldContainer input.Password {
- float: left;
- width: 160px ;
- height: 18px;
- border: solid 1px #b7b7b7 ;
- padding-left: 18px;
- background: #f7f7f7 url('../skin/images/LoginBackground.gif') no-repeat left -260px;
-}
-
-.UILogin a.TextHelp {
- color: #3c78b5;
- margin-top: 7px;
- padding-left: 50px;
- display: block;
- cursor: pointer;
- text-decoration: none;
-}
-
-.UILogin a.TextHelp:hover {
- color: orange;
- margin-top: 7px;
- padding-left: 50px;
- display: block;
- text-decoration: underline;
-}
-
-.UILogin .LoginContent .OverflowContainer {
- width: 250px;
- overflow: hidden;
- margin: auto;
- padding-top: 7px;
-}
-
-.UILogin .LoginContent .OverflowContainer input {
- float: left;
- margin-left: 10px;
-}
-
-
-.UILogin .LoginContent .LoginButton {
- height: 22px ;
- padding: 8px 40px 5px 0px;
-}
-
-.UILogin .LoginContent .LoginButtonContainer {
-
-}
-
-.UILogin .LoginContent .Button {
- width: 80px;
- height: 22px;
- margin: auto;
-}
-
-.UILogin .LoginContent .Button a {
- text-decoration: none;
- color: #3f3f3f;
-}
-
-.UILogin .LoginContent .Button a:hover {
- color: #058ee6; text-decoration: none;
-}
-
-.UILogin .LoginContent .LoginButton .Button .LeftButton {
- line-height: 22px;
- padding-left: 11px;
- background: url('../skin/images/LoginBackground.gif') no-repeat left -281px;
-}
-
-.UILogin .LoginContent .LoginButton .Button .RightButton {
- line-height: 22px;
- padding-right: 11px;
- background: url('../skin/images/LoginBackground.gif') no-repeat right -281px;
-}
-
-.UILogin .LoginContent .LoginButton .Button .MiddleButton {
- height: 22px;
- line-height: 21px;
- background: url('../skin/images/LoginBackground.gif') center -281px;
-}
+.UILogin {
+ height: 236px;
+ font-family: tahoma;
+ font-size: 11px;
+ margin: 110px auto 7px auto;
+ padding:0 5px 0 120px;
+ width: 275px;
+ background: url('../skin/images/LoginBackground.gif') no-repeat top;
+ color: #3f3f3f;
+}
+
+.UILogin .LoginHeader {
+ height: 33px;
+ line-height: 33px;
+ color: #a1c0e9;
+ font-size: 13px;
+ font-family: arial;
+ text-align: right;
+ padding: 10px 15px 0px 0px
+}
+
+.UILogin .LoginContent {
+ padding-top: 12px;
+}
+
+.UILogin .LoginContent .CenterLoginContent {
+ height: 120px;
+ padding: 25px 0px;
+}
+
+.UILogin .WelcomeText {
+ line-height: 20px;
+ color: #058ee6;
+ font-size: 17px;
+ text-align: left;
+ padding-left: 20px;
+}
+
+.UILogin .LoginContent table {
+ margin: auto;
+}
+
+.UILogin .LoginContent table .FieldLabel {
+ text-align: right;
+ padding-right: 5px;
+}
+
+.UILogin .LoginContent table .FieldLabel input {
+ margin: 5px 0px;
+}
+
+.UILogin .LoginContent .FieldContainer {
+ overflow: hidden ;
+ padding-top: 9px ;
+ margin: auto ;
+ text-align: left;
+}
+
+.UILogin .LoginContent .FieldContainer label {
+ float: left;
+ width: 80px ; height: 20px;
+ line-height: 20px;
+ text-align: right;
+ font-weight: bold ;
+ margin-right: 5px;
+ color: #3f3f3f;
+}
+
+.UILogin .LoginContent .FieldContainer input.UserName {
+ float: left;
+ width: 160px ;
+ height: 18px;
+ border: solid 1px #b7b7b7 ;
+ padding-left: 18px;
+ background: #f7f7f7 url('../skin/images/LoginBackground.gif') no-repeat left -236px;
+}
+
+.UILogin .LoginContent .FieldContainer input.Password {
+ float: left;
+ width: 160px ;
+ height: 18px;
+ border: solid 1px #b7b7b7 ;
+ padding-left: 18px;
+ background: #f7f7f7 url('../skin/images/LoginBackground.gif') no-repeat left -260px;
+}
+
+.UILogin a.TextHelp {
+ color: #3c78b5;
+ margin-top: 7px;
+ padding-left: 50px;
+ display: block;
+ cursor: pointer;
+ text-decoration: none;
+}
+
+.UILogin a.TextHelp:hover {
+ color: orange;
+ margin-top: 7px;
+ padding-left: 50px;
+ display: block;
+ text-decoration: underline;
+}
+
+.UILogin .LoginContent .OverflowContainer {
+ width: 250px;
+ overflow: hidden;
+ margin: auto;
+ padding-top: 7px;
+}
+
+.UILogin .LoginContent .OverflowContainer input {
+ float: left;
+ margin-left: 10px;
+}
+
+
+.UILogin .LoginContent .LoginButton {
+ height: 22px ;
+ padding: 8px 40px 5px 0px;
+}
+
+.UILogin .LoginContent .LoginButtonContainer {
+
+}
+
+.UILogin .LoginContent .Button {
+ width: 80px;
+ height: 22px;
+ margin: auto;
+}
+
+.UILogin .LoginContent .Button a {
+ text-decoration: none;
+ color: #3f3f3f;
+}
+
+.UILogin .LoginContent .Button a:hover {
+ color: #058ee6; text-decoration: none;
+}
+
+.UILogin .LoginContent .LoginButton .Button .LeftButton {
+ line-height: 22px;
+ padding-left: 11px;
+ background: url('../skin/images/LoginBackground.gif') no-repeat left -281px;
+}
+
+.UILogin .LoginContent .LoginButton .Button .RightButton {
+ line-height: 22px;
+ padding-right: 11px;
+ background: url('../skin/images/LoginBackground.gif') no-repeat right -281px;
+}
+
+.UILogin .LoginContent .LoginButton .Button .MiddleButton {
+ height: 22px;
+ line-height: 21px;
+ background: url('../skin/images/LoginBackground.gif') center -281px;
+}
15 years, 1 month
gatein SVN: r540 - portal/trunk/portlet/dashboard/src/main/webapp/groovy/dashboard/webui/component.
by do-not-reply@jboss.org
Author: thuy.nguyen
Date: 2009-11-10 03:20:02 -0500 (Tue, 10 Nov 2009)
New Revision: 540
Modified:
portal/trunk/portlet/dashboard/src/main/webapp/groovy/dashboard/webui/component/UITabPaneDashboard.gtmpl
Log:
GTNPORTAL-89: Some improvements when add new tab in Dashboard page
Modified: portal/trunk/portlet/dashboard/src/main/webapp/groovy/dashboard/webui/component/UITabPaneDashboard.gtmpl
===================================================================
--- portal/trunk/portlet/dashboard/src/main/webapp/groovy/dashboard/webui/component/UITabPaneDashboard.gtmpl 2009-11-10 08:19:20 UTC (rev 539)
+++ portal/trunk/portlet/dashboard/src/main/webapp/groovy/dashboard/webui/component/UITabPaneDashboard.gtmpl 2009-11-10 08:20:02 UTC (rev 540)
@@ -26,7 +26,7 @@
<div class="RtTabDashboard">
<div class="CtTabDashboard">
<div class="UIHorizontalTabs">
- <div class="TabsContainer">
+ <div class="TabsContainer ClearFix">
<% for(int i = 0;i < tabNbs;i++){
node = nodes.get(i);
String tabLabel = node.getResolvedLabel();
15 years, 1 month