JBoss Portal SVN: r10884 - branches/JBoss_Portal_Branch_2_7/core-admin/src/main/org/jboss/portal/core/admin/ui.
by portal-commits@lists.jboss.org
Author: sviluppatorefico
Date: 2008-05-31 18:26:16 -0400 (Sat, 31 May 2008)
New Revision: 10884
Modified:
branches/JBoss_Portal_Branch_2_7/core-admin/src/main/org/jboss/portal/core/admin/ui/ControlPropertiesBean.java
branches/JBoss_Portal_Branch_2_7/core-admin/src/main/org/jboss/portal/core/admin/ui/PortalObjectManagerBean.java
Log:
I transformed embedded Strings to embedded LocalizedString. Actually they are configured to support only english and italian language
Modified: branches/JBoss_Portal_Branch_2_7/core-admin/src/main/org/jboss/portal/core/admin/ui/ControlPropertiesBean.java
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-admin/src/main/org/jboss/portal/core/admin/ui/ControlPropertiesBean.java 2008-05-31 22:24:51 UTC (rev 10883)
+++ branches/JBoss_Portal_Branch_2_7/core-admin/src/main/org/jboss/portal/core/admin/ui/ControlPropertiesBean.java 2008-05-31 22:26:16 UTC (rev 10884)
@@ -22,13 +22,18 @@
package org.jboss.portal.core.admin.ui;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Locale;
+import java.util.Map;
+
+import javax.faces.model.SelectItem;
+
+import org.jboss.portal.common.i18n.LocalizedString;
import org.jboss.portal.core.model.portal.PortalObject;
import org.jboss.portal.core.model.portal.control.ControlConstants;
-import javax.faces.model.SelectItem;
-import java.util.ArrayList;
-import java.util.List;
-
/**
* @author <a href="mailto:boleslaw dot dawidowicz at redhat anotherdot com">Boleslaw Dawidowicz</a>
* @version $Revision$
@@ -44,9 +49,24 @@
/** . */
final PortalObjectManagerBean pomgr;
- private static final String DISPLAY_THE_DEFAULT_ERROR_MESSAGE = "Display the default error message";
- private static final String REDIRECT_TO_THE_SPECIFIED_RESOURCE = "Redirect to the specified resource";
- private static final String REMOVE_THE_RESOURCE_FROM_PAGE = "Remove the resource from page";
+
+ private static Map<Locale,String> DISPLAY_THE_DEFAULT_ERROR_MESSAGE_DISPLAY_NAME = new HashMap<Locale,String>();
+ private static Map<Locale,String> REDIRECT_TO_THE_SPECIFIED_RESOURCE_DISPLAY_NAME = new HashMap<Locale,String>();
+ private static Map<Locale,String> REMOVE_THE_RESOURCE_FROM_PAGE_DISPLAY_NAME = new HashMap<Locale,String>();
+
+ static {
+ DISPLAY_THE_DEFAULT_ERROR_MESSAGE_DISPLAY_NAME.put(Locale.ENGLISH, "Display the default error message");
+ REDIRECT_TO_THE_SPECIFIED_RESOURCE_DISPLAY_NAME.put(Locale.ENGLISH, "Redirect to the specified resource");
+ REMOVE_THE_RESOURCE_FROM_PAGE_DISPLAY_NAME.put(Locale.ENGLISH, "Remove the resource from page");
+
+ DISPLAY_THE_DEFAULT_ERROR_MESSAGE_DISPLAY_NAME.put(Locale.ITALY, "Visualizza il messaggio di errore di default");
+ REDIRECT_TO_THE_SPECIFIED_RESOURCE_DISPLAY_NAME.put(Locale.ITALY, "Redireziona alla risorsa specificata");
+ REMOVE_THE_RESOURCE_FROM_PAGE_DISPLAY_NAME.put(Locale.ITALY, "Rimuovi la risorsa dalla pagina");
+ }
+
+ private static final LocalizedString DISPLAY_THE_DEFAULT_ERROR_MESSAGE = new LocalizedString(DISPLAY_THE_DEFAULT_ERROR_MESSAGE_DISPLAY_NAME,Locale.getDefault());
+ private static final LocalizedString REDIRECT_TO_THE_SPECIFIED_RESOURCE = new LocalizedString(REDIRECT_TO_THE_SPECIFIED_RESOURCE_DISPLAY_NAME,Locale.getDefault());
+ private static final LocalizedString REMOVE_THE_RESOURCE_FROM_PAGE = new LocalizedString(REMOVE_THE_RESOURCE_FROM_PAGE_DISPLAY_NAME,Locale.getDefault());
public ControlPropertiesBean(PortalObjectManagerBean pomgr)
{
@@ -59,8 +79,8 @@
if (portalSelectItems == null)
{
portalSelectItems = new ArrayList();
- portalSelectItems.add(new SelectItem(ControlConstants.IGNORE_CONTROL_VALUE, DISPLAY_THE_DEFAULT_ERROR_MESSAGE));
- portalSelectItems.add(new SelectItem(ControlConstants.JSP_CONTROL_VALUE, REDIRECT_TO_THE_SPECIFIED_RESOURCE));
+ portalSelectItems.add(new SelectItem(ControlConstants.IGNORE_CONTROL_VALUE, DISPLAY_THE_DEFAULT_ERROR_MESSAGE.getDefaultString()));
+ portalSelectItems.add(new SelectItem(ControlConstants.JSP_CONTROL_VALUE, REDIRECT_TO_THE_SPECIFIED_RESOURCE.getDefaultString()));
}
return portalSelectItems;
}
@@ -70,9 +90,9 @@
if (pageSelectItems == null)
{
pageSelectItems = new ArrayList();
- pageSelectItems.add(new SelectItem(ControlConstants.IGNORE_CONTROL_VALUE, DISPLAY_THE_DEFAULT_ERROR_MESSAGE));
- pageSelectItems.add(new SelectItem(ControlConstants.HIDE_CONTROL_VALUE, REMOVE_THE_RESOURCE_FROM_PAGE));
- pageSelectItems.add(new SelectItem(ControlConstants.JSP_CONTROL_VALUE, REDIRECT_TO_THE_SPECIFIED_RESOURCE));
+ pageSelectItems.add(new SelectItem(ControlConstants.IGNORE_CONTROL_VALUE, DISPLAY_THE_DEFAULT_ERROR_MESSAGE.getDefaultString()));
+ pageSelectItems.add(new SelectItem(ControlConstants.HIDE_CONTROL_VALUE, REMOVE_THE_RESOURCE_FROM_PAGE.getDefaultString()));
+ pageSelectItems.add(new SelectItem(ControlConstants.JSP_CONTROL_VALUE, REDIRECT_TO_THE_SPECIFIED_RESOURCE.getDefaultString()));
}
return pageSelectItems;
}
Modified: branches/JBoss_Portal_Branch_2_7/core-admin/src/main/org/jboss/portal/core/admin/ui/PortalObjectManagerBean.java
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-admin/src/main/org/jboss/portal/core/admin/ui/PortalObjectManagerBean.java 2008-05-31 22:24:51 UTC (rev 10883)
+++ branches/JBoss_Portal_Branch_2_7/core-admin/src/main/org/jboss/portal/core/admin/ui/PortalObjectManagerBean.java 2008-05-31 22:26:16 UTC (rev 10884)
@@ -22,6 +22,24 @@
******************************************************************************/
package org.jboss.portal.core.admin.ui;
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.LinkedList;
+import java.util.List;
+import java.util.Locale;
+import java.util.Map;
+import java.util.Set;
+
+import javax.faces.application.FacesMessage;
+import javax.faces.context.FacesContext;
+import javax.faces.event.ActionEvent;
+import javax.faces.model.SelectItem;
+
+import org.jboss.portal.common.i18n.LocalizedString;
import org.jboss.portal.core.admin.ui.actions.AddPageAction;
import org.jboss.portal.core.admin.ui.actions.PropertyAction;
import org.jboss.portal.core.admin.ui.common.PageManagerBean;
@@ -50,21 +68,6 @@
import org.jboss.portal.theme.LayoutService;
import org.jboss.portal.theme.ThemeService;
-import javax.faces.application.FacesMessage;
-import javax.faces.context.FacesContext;
-import javax.faces.event.ActionEvent;
-import javax.faces.model.SelectItem;
-import java.io.Serializable;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.LinkedList;
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
-
/** The portal object manager bean. */
public class PortalObjectManagerBean implements Serializable, AddPageAction.Listener
{
@@ -166,6 +169,14 @@
/** . */
private Boolean maximizedStateExists;
+
+ private static Map<Locale,String> NO_BOUND_LISTENER_DISPLAY_NAME = new HashMap<Locale,String>();
+ static {
+ NO_BOUND_LISTENER_DISPLAY_NAME.put(Locale.ENGLISH, "no bound listener");
+ NO_BOUND_LISTENER_DISPLAY_NAME.put(Locale.ITALY, "nessun listener");
+ }
+
+ private static final LocalizedString NO_BOUND_LISTENER = new LocalizedString(NO_BOUND_LISTENER_DISPLAY_NAME,Locale.getDefault());
// Wired services
@@ -872,7 +883,7 @@
{
SelectItem[] result = new SelectItem[ids.size() + 1];
int i = 1;
- result[0] = new SelectItem("", "no bound listener");
+ result[0] = new SelectItem("", NO_BOUND_LISTENER.getDisplayName().getDefaultString());
for (Iterator idsIt = ids.iterator(); idsIt.hasNext();)
{
result[i++] = new SelectItem(idsIt.next());
15 years, 11 months
JBoss Portal SVN: r10883 - branches/JBoss_Portal_Branch_2_7/core-admin/src/main/org/jboss/portal/core/admin/ui.
by portal-commits@lists.jboss.org
Author: sviluppatorefico
Date: 2008-05-31 18:24:51 -0400 (Sat, 31 May 2008)
New Revision: 10883
Modified:
branches/JBoss_Portal_Branch_2_7/core-admin/src/main/org/jboss/portal/core/admin/ui/PropertiesInfo.java
Log:
I updated LocalizedString objects to let internationalization. Actually it let only english and italian. It should to be increased for other languages
Modified: branches/JBoss_Portal_Branch_2_7/core-admin/src/main/org/jboss/portal/core/admin/ui/PropertiesInfo.java
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-admin/src/main/org/jboss/portal/core/admin/ui/PropertiesInfo.java 2008-05-31 22:23:29 UTC (rev 10882)
+++ branches/JBoss_Portal_Branch_2_7/core-admin/src/main/org/jboss/portal/core/admin/ui/PropertiesInfo.java 2008-05-31 22:24:51 UTC (rev 10883)
@@ -31,56 +31,346 @@
import java.util.HashMap;
import java.util.Iterator;
+import java.util.Locale;
import java.util.Map;
import java.util.Set;
/**
* @author <a href="mailto:julien@jboss.org">Julien Viet</a>
* @author <a href="mailto:boleslaw dot dawidowicz at redhat dot com>Boleslaw Dawidowicz</a>
+ * @author <a href="mailto:jedim@vige.it>Luca Stancapiano</a>
* @version $Revision$
*/
public class PropertiesInfo
{
//
+ private static Map<Locale, String> THEME_LAYOUT_ID_DISPLAY_NAME = new HashMap<Locale, String>();
- public static final PropertyInfo THEME_LAYOUT_ID = new PropertyInfo(ThemeConstants.PORTAL_PROP_LAYOUT, new LocalizedString("Layout id"), new LocalizedString("The layout value formats a page"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
- public static final PropertyInfo THEME_THEME_ID = new PropertyInfo(ThemeConstants.PORTAL_PROP_THEME, new LocalizedString("Theme id"), new LocalizedString("The theme value skins a page"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
- public static final PropertyInfo THEME_RENDER_SET_ID = new PropertyInfo(ThemeConstants.PORTAL_PROP_RENDERSET, new LocalizedString("Renderset id"), new LocalizedString("The render set id"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
- public static final PropertyInfo THEME_RENDER_REGION_ID = new PropertyInfo(ThemeConstants.PORTAL_PROP_REGION, new LocalizedString("Region id"), new LocalizedString("The region that will the window"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
- public static final PropertyInfo THEME_RENDER_REGION_ORDER = new PropertyInfo(ThemeConstants.PORTAL_PROP_ORDER, new LocalizedString("Region order"), new LocalizedString("The vertical or horizontal order of the window within a region"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PUBLIC_SCOPE);
+ private static Map<Locale, String> THEME_LAYOUT_ID_DESCRIPTION = new HashMap<Locale, String>();
+ private static Map<Locale, String> THEME_THEME_ID_DISPLAY_NAME = new HashMap<Locale, String>();
+
+ private static Map<Locale, String> THEME_THEME_ID_DESCRIPTION = new HashMap<Locale, String>();
+
+ private static Map<Locale, String> THEME_RENDER_SET_ID_DISPLAY_NAME = new HashMap<Locale, String>();
+
+ private static Map<Locale, String> THEME_RENDER_SET_ID_DESCRIPTION = new HashMap<Locale, String>();
+
+ private static Map<Locale, String> THEME_RENDER_REGION_ID_DISPLAY_NAME = new HashMap<Locale, String>();
+
+ private static Map<Locale, String> THEME_RENDER_REGION_ID_DESCRIPTION = new HashMap<Locale, String>();
+
+ private static Map<Locale, String> THEME_RENDER_REGION_ORDER_DISPLAY_NAME = new HashMap<Locale, String>();
+
+ private static Map<Locale, String> THEME_RENDER_REGION_ORDER_DESCRIPTION = new HashMap<Locale, String>();
+
+ private static Map<Locale, String> AJAX_PARTIAL_REFRESH_DISPLAY_NAME = new HashMap<Locale, String>();
+
+ private static Map<Locale, String> AJAX_PARTIAL_REFRESH_DESCRIPTION = new HashMap<Locale, String>();
+
+ private static Map<Locale, String> AJAX_DND_DISPLAY_NAME = new HashMap<Locale, String>();
+
+ private static Map<Locale, String> AJAX_DND_DESCRIPTION = new HashMap<Locale, String>();
+
+ private static Map<Locale, String> WINDOW_CONTENT_TYPE_DISPLAY_NAME = new HashMap<Locale, String>();
+
+ private static Map<Locale, String> WINDOW_CONTENT_TYPE_DESCRIPTION = new HashMap<Locale, String>();
+
+ private static Map<Locale, String> DEFAULT_CHILD_NAME_DISPLAY_NAME = new HashMap<Locale, String>();
+
+ private static Map<Locale, String> DEFAULT_CHILD_NAME_DESCRIPTION = new HashMap<Locale, String>();
+
+ private static Map<Locale, String> PAGE_ORDER_DISPLAY_NAME = new HashMap<Locale, String>();
+
+ private static Map<Locale, String> PAGE_ORDER_DESCRIPTION = new HashMap<Locale, String>();
+
+ private static Map<Locale, String> INITIAL_WINDOW_STATE_DISPLAY_NAME = new HashMap<Locale, String>();
+
+ private static Map<Locale, String> INITIAL_WINDOW_STATE_DESCRIPTION = new HashMap<Locale, String>();
+
+ private static Map<Locale, String> CONTROL_POLICY_PAGE_ACCESS_DENIED_DISPLAY_NAME = new HashMap<Locale, String>();
+
+ private static Map<Locale, String> CONTROL_POLICY_PAGE_ACCESS_DENIED_DESCRIPTION = new HashMap<Locale, String>();
+
+ private static Map<Locale, String> CONTROL_POLICY_PAGE_UNAVAILABLE_DISPLAY_NAME = new HashMap<Locale, String>();
+
+ private static Map<Locale, String> CONTROL_POLICY_PAGE_UNAVAILABLE_DESCRIPTION = new HashMap<Locale, String>();
+
+ private static Map<Locale, String> CONTROL_POLICY_PAGE_ERROR_DISPLAY_NAME = new HashMap<Locale, String>();
+
+ private static Map<Locale, String> CONTROL_POLICY_PAGE_ERROR_DESCRIPTION = new HashMap<Locale, String>();
+
+ private static Map<Locale, String> CONTROL_POLICY_PAGE_INTERNAL_ERROR_DISPLAY_NAME = new HashMap<Locale, String>();
+
+ private static Map<Locale, String> CONTROL_POLICY_PAGE_INTERNAL_ERROR_DESCRIPTION = new HashMap<Locale, String>();
+
+ private static Map<Locale, String> CONTROL_POLICY_PAGE_NOT_FOUND_DISPLAY_NAME = new HashMap<Locale, String>();
+
+ private static Map<Locale, String> CONTROL_POLICY_PAGE_NOT_FOUND_DESCRIPTION = new HashMap<Locale, String>();
+
+ private static Map<Locale, String> CONTROL_POLICY_PAGE_RESOURCE_URI_DISPLAY_NAME = new HashMap<Locale, String>();
+
+ private static Map<Locale, String> CONTROL_POLICY_PAGE_RESOURCE_URI_DESCRIPTION = new HashMap<Locale, String>();
+
+ private static Map<Locale, String> CONTROL_POLICY_PORTAL_ACCESS_DENIED_DISPLAY_NAME = new HashMap<Locale, String>();
+
+ private static Map<Locale, String> CONTROL_POLICY_PORTAL_ACCESS_DENIED_DESCRIPTION = new HashMap<Locale, String>();
+
+ private static Map<Locale, String> CONTROL_POLICY_PORTAL_UNAVAILABLE_DISPLAY_NAME = new HashMap<Locale, String>();
+
+ private static Map<Locale, String> CONTROL_POLICY_PORTAL_UNAVAILABLE_DESCRIPTION = new HashMap<Locale, String>();
+
+ private static Map<Locale, String> CONTROL_POLICY_PORTAL_ERROR_DISPLAY_NAME = new HashMap<Locale, String>();
+
+ private static Map<Locale, String> CONTROL_POLICY_PORTAL_ERROR_DESCRIPTION = new HashMap<Locale, String>();
+
+ private static Map<Locale, String> CONTROL_POLICY_PORTAL_INTERNAL_ERROR_DISPLAY_NAME = new HashMap<Locale, String>();
+
+ private static Map<Locale, String> CONTROL_POLICY_PORTAL_INTERNAL_ERROR_DESCRIPTION = new HashMap<Locale, String>();
+
+ private static Map<Locale, String> CONTROL_POLICY_PORTAL_NOT_FOUND_DISPLAY_NAME = new HashMap<Locale, String>();
+
+ private static Map<Locale, String> CONTROL_POLICY_PORTAL_NOT_FOUND_DESCRIPTION = new HashMap<Locale, String>();
+
+ private static Map<Locale, String> CONTROL_POLICY_PORTAL_RESOURCE_URI_DISPLAY_NAME = new HashMap<Locale, String>();
+
+ private static Map<Locale, String> CONTROL_POLICY_PORTAL_RESOURCE_URI_DESCRIPTION = new HashMap<Locale, String>();
+
+ static {
+ THEME_LAYOUT_ID_DISPLAY_NAME.put(Locale.ENGLISH, "Layout id");
+ THEME_LAYOUT_ID_DESCRIPTION.put(Locale.ENGLISH, "The layout value formats a page");
+ THEME_THEME_ID_DISPLAY_NAME.put(Locale.ENGLISH, "Theme id");
+ THEME_THEME_ID_DESCRIPTION.put(Locale.ENGLISH, "The theme value skins a page");
+ THEME_RENDER_SET_ID_DISPLAY_NAME.put(Locale.ENGLISH, "Renderset id");
+ THEME_RENDER_SET_ID_DESCRIPTION.put(Locale.ENGLISH, "The render set id");
+ THEME_RENDER_REGION_ID_DISPLAY_NAME.put(Locale.ENGLISH, "Region id");
+ THEME_RENDER_REGION_ID_DESCRIPTION.put(Locale.ENGLISH, "The region that will the window");
+ THEME_RENDER_REGION_ORDER_DISPLAY_NAME.put(Locale.ENGLISH, "Region order");
+ THEME_RENDER_REGION_ORDER_DESCRIPTION.put(Locale.ENGLISH,
+ "The vertical or horizontal order of the window within a region");
+ AJAX_PARTIAL_REFRESH_DISPLAY_NAME.put(Locale.ENGLISH, "Partial refresh");
+ AJAX_PARTIAL_REFRESH_DESCRIPTION.put(Locale.ENGLISH, "Enable partial refresh for portlets");
+ AJAX_DND_DISPLAY_NAME.put(Locale.ENGLISH, "Drag and drop");
+ AJAX_DND_DESCRIPTION.put(Locale.ENGLISH, "Enable window drag and drop");
+ WINDOW_CONTENT_TYPE_DISPLAY_NAME.put(Locale.ENGLISH, "Content type");
+ WINDOW_CONTENT_TYPE_DESCRIPTION.put(Locale.ENGLISH, "The type of content of a window");
+ DEFAULT_CHILD_NAME_DISPLAY_NAME.put(Locale.ENGLISH, "Default child name");
+ DEFAULT_CHILD_NAME_DESCRIPTION.put(Locale.ENGLISH,
+ "The child name used when no specific child name is explicited");
+ PAGE_ORDER_DISPLAY_NAME.put(Locale.ENGLISH, "Tab order");
+ PAGE_ORDER_DESCRIPTION.put(Locale.ENGLISH, "The order value to display pages in tabs");
+ INITIAL_WINDOW_STATE_DISPLAY_NAME.put(Locale.ENGLISH, "Initial Mode");
+ INITIAL_WINDOW_STATE_DESCRIPTION.put(Locale.ENGLISH, "The inital mode of the window");
+ CONTROL_POLICY_PAGE_ACCESS_DENIED_DISPLAY_NAME.put(Locale.ENGLISH, "When access to the window is denied");
+ CONTROL_POLICY_PAGE_ACCESS_DENIED_DESCRIPTION.put(Locale.ENGLISH, "When access to the window is denied");
+ CONTROL_POLICY_PAGE_UNAVAILABLE_DISPLAY_NAME.put(Locale.ENGLISH, "When the window is unavailable");
+ CONTROL_POLICY_PAGE_UNAVAILABLE_DESCRIPTION.put(Locale.ENGLISH, "When the window is unavailable");
+ CONTROL_POLICY_PAGE_ERROR_DISPLAY_NAME.put(Locale.ENGLISH, "When there is an error on the window");
+ CONTROL_POLICY_PAGE_ERROR_DESCRIPTION.put(Locale.ENGLISH, "When there is an error on the window");
+ CONTROL_POLICY_PAGE_INTERNAL_ERROR_DISPLAY_NAME.put(Locale.ENGLISH, "When there is an error within the window");
+ CONTROL_POLICY_PAGE_INTERNAL_ERROR_DESCRIPTION.put(Locale.ENGLISH, "When there is an error within the window");
+ CONTROL_POLICY_PAGE_NOT_FOUND_DISPLAY_NAME.put(Locale.ENGLISH, "When the window is not found");
+ CONTROL_POLICY_PAGE_NOT_FOUND_DESCRIPTION.put(Locale.ENGLISH, "When the window is not found");
+ CONTROL_POLICY_PAGE_RESOURCE_URI_DISPLAY_NAME.put(Locale.ENGLISH, "On error redirect to this resource");
+ CONTROL_POLICY_PAGE_RESOURCE_URI_DESCRIPTION.put(Locale.ENGLISH, "On error redirect to this resource");
+ CONTROL_POLICY_PORTAL_ACCESS_DENIED_DISPLAY_NAME.put(Locale.ENGLISH, "When access to the page is denied");
+ CONTROL_POLICY_PORTAL_ACCESS_DENIED_DESCRIPTION.put(Locale.ENGLISH, "When access to the page is denied");
+ CONTROL_POLICY_PORTAL_UNAVAILABLE_DISPLAY_NAME.put(Locale.ENGLISH, "When the page is unavailable");
+ CONTROL_POLICY_PORTAL_UNAVAILABLE_DESCRIPTION.put(Locale.ENGLISH, "When the page is unavailable");
+ CONTROL_POLICY_PORTAL_ERROR_DISPLAY_NAME.put(Locale.ENGLISH, "When there is an error on the page");
+ CONTROL_POLICY_PORTAL_ERROR_DESCRIPTION.put(Locale.ENGLISH, "When there is an error on the page");
+ CONTROL_POLICY_PORTAL_INTERNAL_ERROR_DISPLAY_NAME.put(Locale.ENGLISH, "When there is an error within the page");
+ CONTROL_POLICY_PORTAL_INTERNAL_ERROR_DESCRIPTION.put(Locale.ENGLISH, "When there is an error within the page");
+ CONTROL_POLICY_PORTAL_NOT_FOUND_DISPLAY_NAME.put(Locale.ENGLISH, "When the page is not found");
+ CONTROL_POLICY_PORTAL_NOT_FOUND_DESCRIPTION.put(Locale.ENGLISH, "When the page is not found");
+ CONTROL_POLICY_PORTAL_RESOURCE_URI_DISPLAY_NAME.put(Locale.ENGLISH, "On error redirect to this resource");
+ CONTROL_POLICY_PORTAL_RESOURCE_URI_DESCRIPTION.put(Locale.ENGLISH, "On error redirect to this resource");
+
+ THEME_LAYOUT_ID_DISPLAY_NAME.put(Locale.ITALY, "Id Layout");
+ THEME_LAYOUT_ID_DESCRIPTION.put(Locale.ITALY, "Il valore del layout formatta la pagina");
+ THEME_THEME_ID_DISPLAY_NAME.put(Locale.ITALY, "Id Tema");
+ THEME_THEME_ID_DESCRIPTION.put(Locale.ITALY, "Il valore del tema copre la pagina");
+ THEME_RENDER_SET_ID_DISPLAY_NAME.put(Locale.ITALY, "Id Renderset");
+ THEME_RENDER_SET_ID_DESCRIPTION.put(Locale.ITALY, "L'id del renderset");
+ THEME_RENDER_REGION_ID_DISPLAY_NAME.put(Locale.ITALY, "Id Regione");
+ THEME_RENDER_REGION_ID_DESCRIPTION.put(Locale.ITALY, "Regione desiderata per la finestra");
+ THEME_RENDER_REGION_ORDER_DISPLAY_NAME.put(Locale.ITALY, "Ordine Regione");
+ THEME_RENDER_REGION_ORDER_DESCRIPTION.put(Locale.ITALY,
+ "L'ordine verticale o orizzontale della finestra dentro una regione");
+ AJAX_PARTIAL_REFRESH_DISPLAY_NAME.put(Locale.ITALY, "Aggiornamento parziale");
+ AJAX_PARTIAL_REFRESH_DESCRIPTION.put(Locale.ITALY, "Attiva l'aggiornamento parziale per le portlet");
+ AJAX_DND_DISPLAY_NAME.put(Locale.ITALY, "Copia e incolla");
+ AJAX_DND_DESCRIPTION.put(Locale.ITALY, "Attiva il copia e incolla per la finestra");
+ WINDOW_CONTENT_TYPE_DISPLAY_NAME.put(Locale.ITALY, "Tipo Contenuto");
+ WINDOW_CONTENT_TYPE_DESCRIPTION.put(Locale.ITALY, "Il tipo di contenuto di una finestra");
+ DEFAULT_CHILD_NAME_DISPLAY_NAME.put(Locale.ITALY, "Nome di default del figlio");
+ DEFAULT_CHILD_NAME_DESCRIPTION.put(Locale.ITALY, "Il nome del figlio quando non c'è un nome specificato");
+ PAGE_ORDER_DISPLAY_NAME.put(Locale.ITALY, "Ordine Etichetta");
+ PAGE_ORDER_DESCRIPTION.put(Locale.ITALY, "Il valore dell'ordine per visualizzare le pagine nelle etichette");
+ INITIAL_WINDOW_STATE_DISPLAY_NAME.put(Locale.ITALY, "Modalità iniziale");
+ INITIAL_WINDOW_STATE_DESCRIPTION.put(Locale.ITALY, "La modalità iniziale della finestra");
+ CONTROL_POLICY_PAGE_ACCESS_DENIED_DISPLAY_NAME.put(Locale.ITALY, "Quando l'accesso alla finestra è negato");
+ CONTROL_POLICY_PAGE_ACCESS_DENIED_DESCRIPTION.put(Locale.ITALY, "Quando l'accesso alla finestra è negato");
+ CONTROL_POLICY_PAGE_UNAVAILABLE_DISPLAY_NAME.put(Locale.ITALY, "Quando la finestra non è disponibile");
+ CONTROL_POLICY_PAGE_UNAVAILABLE_DESCRIPTION.put(Locale.ITALY, "Quando la finestra non è disponibile");
+ CONTROL_POLICY_PAGE_ERROR_DISPLAY_NAME.put(Locale.ITALY, "Quando c'è un errore sulla finestra");
+ CONTROL_POLICY_PAGE_ERROR_DESCRIPTION.put(Locale.ITALY, "Quando c'è un errore sulla finestra");
+ CONTROL_POLICY_PAGE_INTERNAL_ERROR_DISPLAY_NAME.put(Locale.ITALY, "Quando c'è un errore nella finestra");
+ CONTROL_POLICY_PAGE_INTERNAL_ERROR_DESCRIPTION.put(Locale.ITALY, "Quando c'è un errore nella finestra");
+ CONTROL_POLICY_PAGE_NOT_FOUND_DISPLAY_NAME.put(Locale.ITALY, "Quando la finestra non viene trovata");
+ CONTROL_POLICY_PAGE_NOT_FOUND_DESCRIPTION.put(Locale.ITALY, "Quando la finestra non viene trovata");
+ CONTROL_POLICY_PAGE_RESOURCE_URI_DISPLAY_NAME.put(Locale.ITALY,
+ "In caso di errore redireziona sulla risorsa");
+ CONTROL_POLICY_PAGE_RESOURCE_URI_DESCRIPTION.put(Locale.ITALY,
+ "In caso di errore redireziona sulla risorsa");
+ CONTROL_POLICY_PORTAL_ACCESS_DENIED_DISPLAY_NAME.put(Locale.ITALY, "Quando l'accesso alla pagina è negato");
+ CONTROL_POLICY_PORTAL_ACCESS_DENIED_DESCRIPTION.put(Locale.ITALY, "Quando l'accesso alla pagina è negato");
+ CONTROL_POLICY_PORTAL_UNAVAILABLE_DISPLAY_NAME.put(Locale.ITALY, "Quando la pagina non è disponibile");
+ CONTROL_POLICY_PORTAL_UNAVAILABLE_DESCRIPTION.put(Locale.ITALY, "Quando la pagina non è disponibile");
+ CONTROL_POLICY_PORTAL_ERROR_DISPLAY_NAME.put(Locale.ITALY, "Quando c'è un errore sulla pagina");
+ CONTROL_POLICY_PORTAL_ERROR_DESCRIPTION.put(Locale.ITALY, "Quando c'è un errore sulla pagina");
+ CONTROL_POLICY_PORTAL_INTERNAL_ERROR_DISPLAY_NAME.put(Locale.ITALY, "Quando c'è un errore nella pagina");
+ CONTROL_POLICY_PORTAL_INTERNAL_ERROR_DESCRIPTION.put(Locale.ITALY, "Quando c'è un errore nella pagina");
+ CONTROL_POLICY_PORTAL_NOT_FOUND_DISPLAY_NAME.put(Locale.ITALY, "Quando la pagina non viene trovata");
+ CONTROL_POLICY_PORTAL_NOT_FOUND_DESCRIPTION.put(Locale.ITALY, "Quando la pagina non viene trovata");
+ CONTROL_POLICY_PORTAL_RESOURCE_URI_DISPLAY_NAME.put(Locale.ITALY,
+ "In caso di errore redireziona sulla risorsa");
+ CONTROL_POLICY_PORTAL_RESOURCE_URI_DESCRIPTION.put(Locale.ITALY,
+ "In caso di errore redireziona sulla risorsa");
+ }
+
+ public static final PropertyInfo THEME_LAYOUT_ID = new PropertyInfo(ThemeConstants.PORTAL_PROP_LAYOUT,
+ new LocalizedString(THEME_LAYOUT_ID_DISPLAY_NAME, Locale.getDefault()), new LocalizedString(
+ THEME_LAYOUT_ID_DESCRIPTION, Locale.getDefault()), "java.lang.String",
+ PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
+
+ public static final PropertyInfo THEME_THEME_ID = new PropertyInfo(ThemeConstants.PORTAL_PROP_THEME,
+ new LocalizedString(THEME_THEME_ID_DISPLAY_NAME, Locale.getDefault()), new LocalizedString(
+ THEME_THEME_ID_DESCRIPTION, Locale.getDefault()), "java.lang.String",
+ PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
+
+ public static final PropertyInfo THEME_RENDER_SET_ID = new PropertyInfo(ThemeConstants.PORTAL_PROP_RENDERSET,
+ new LocalizedString(THEME_RENDER_SET_ID_DISPLAY_NAME, Locale.getDefault()), new LocalizedString(
+ THEME_RENDER_SET_ID_DESCRIPTION, Locale.getDefault()), "java.lang.String",
+ PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
+
+ public static final PropertyInfo THEME_RENDER_REGION_ID = new PropertyInfo(ThemeConstants.PORTAL_PROP_REGION,
+ new LocalizedString(THEME_RENDER_REGION_ID_DISPLAY_NAME, Locale.getDefault()), new LocalizedString(
+ THEME_RENDER_REGION_ID_DESCRIPTION, Locale.getDefault()), "java.lang.String",
+ PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
+
+ public static final PropertyInfo THEME_RENDER_REGION_ORDER = new PropertyInfo(ThemeConstants.PORTAL_PROP_ORDER,
+ new LocalizedString(THEME_RENDER_REGION_ORDER_DISPLAY_NAME, Locale.getDefault()), new LocalizedString(
+ THEME_RENDER_REGION_ORDER_DESCRIPTION, Locale.getDefault()), "java.lang.String",
+ PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PUBLIC_SCOPE);
+
//
- public static final PropertyInfo AJAX_PARTIAL_REFRESH = new PropertyInfo(DynaRenderOptions.PARTIAL_REFRESH_ENABLED, new LocalizedString("Partial refresh"), new LocalizedString("Enable partial refresh for portlets"), "java.lang.Boolean", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PUBLIC_SCOPE);
- public static final PropertyInfo AJAX_DND = new PropertyInfo(DynaRenderOptions.DND_ENABLED, new LocalizedString("Drag and drop"), new LocalizedString("Enable window drag and drop"), "java.lang.Boolean", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PUBLIC_SCOPE);
+ public static final PropertyInfo AJAX_PARTIAL_REFRESH = new PropertyInfo(DynaRenderOptions.PARTIAL_REFRESH_ENABLED,
+ new LocalizedString(AJAX_PARTIAL_REFRESH_DISPLAY_NAME, Locale.getDefault()), new LocalizedString(
+ AJAX_PARTIAL_REFRESH_DESCRIPTION, Locale.getDefault()), "java.lang.Boolean",
+ PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PUBLIC_SCOPE);
+ public static final PropertyInfo AJAX_DND = new PropertyInfo(DynaRenderOptions.DND_ENABLED, new LocalizedString(
+ AJAX_DND_DISPLAY_NAME, Locale.getDefault()), new LocalizedString(AJAX_DND_DESCRIPTION, Locale.getDefault()),
+ "java.lang.Boolean", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PUBLIC_SCOPE);
+
//
- public static final PropertyInfo WINDOW_CONTENT_TYPE = new PropertyInfo(WindowImpl.PORTAL_PROP_WINDOW_CONTENT_TYPE, new LocalizedString("Content type"), new LocalizedString("The type of content of a window"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
- public static final PropertyInfo DEFAULT_CHILD_NAME = new PropertyInfo(WindowImpl.PORTAL_PROP_DEFAULT_OBJECT_NAME, new LocalizedString("Default child name"), new LocalizedString("The child name used when no specific child name is explicited"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PUBLIC_SCOPE);
- public static final PropertyInfo PAGE_ORDER = new PropertyInfo("order", new LocalizedString("Tab order"), new LocalizedString("The order value to display pages in tabs"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PUBLIC_SCOPE);
- public static final PropertyInfo INITIAL_WINDOW_STATE = new PropertyInfo(WindowImpl.PORTAL_INITIAL_WINDOW_STATE, new LocalizedString("Initial Mode"), new LocalizedString("The inital mode of the window"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PUBLIC_SCOPE);
+ public static final PropertyInfo WINDOW_CONTENT_TYPE = new PropertyInfo(WindowImpl.PORTAL_PROP_WINDOW_CONTENT_TYPE,
+ new LocalizedString(WINDOW_CONTENT_TYPE_DISPLAY_NAME, Locale.getDefault()), new LocalizedString(
+ WINDOW_CONTENT_TYPE_DESCRIPTION, Locale.getDefault()), "java.lang.String",
+ PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
+ public static final PropertyInfo DEFAULT_CHILD_NAME = new PropertyInfo(WindowImpl.PORTAL_PROP_DEFAULT_OBJECT_NAME,
+ new LocalizedString(DEFAULT_CHILD_NAME_DISPLAY_NAME, Locale.getDefault()), new LocalizedString(
+ DEFAULT_CHILD_NAME_DESCRIPTION, Locale.getDefault()), "java.lang.String",
+ PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PUBLIC_SCOPE);
+
+ public static final PropertyInfo PAGE_ORDER = new PropertyInfo("order", new LocalizedString(PAGE_ORDER_DISPLAY_NAME,
+ Locale.getDefault()), new LocalizedString(PAGE_ORDER_DESCRIPTION, Locale.getDefault()), "java.lang.String",
+ PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PUBLIC_SCOPE);
+
+ public static final PropertyInfo INITIAL_WINDOW_STATE = new PropertyInfo(WindowImpl.PORTAL_INITIAL_WINDOW_STATE,
+ new LocalizedString(INITIAL_WINDOW_STATE_DISPLAY_NAME, Locale.getDefault()), new LocalizedString(
+ INITIAL_WINDOW_STATE_DESCRIPTION, Locale.getDefault()), "java.lang.String",
+ PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PUBLIC_SCOPE);
+
//
- public static final PropertyInfo CONTROL_POLICY_PAGE_ACCESS_DENIED = new PropertyInfo(ControlConstants.PAGE_ACCESS_DENIED_CONTROL_KEY, new LocalizedString("When access to the window is denied"), new LocalizedString("When access to the window is denied"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
- public static final PropertyInfo CONTROL_POLICY_PAGE_UNAVAILABLE = new PropertyInfo(ControlConstants.PAGE_UNAVAILABLE_CONTROL_KEY, new LocalizedString("When the window is unavailable"), new LocalizedString("When the window is unavailable"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
- public static final PropertyInfo CONTROL_POLICY_PAGE_ERROR = new PropertyInfo(ControlConstants.PAGE_ERROR_CONTROL_KEY, new LocalizedString("When there is an error on the window"), new LocalizedString("When there is an error on the window"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
- public static final PropertyInfo CONTROL_POLICY_PAGE_INTERNAL_ERROR = new PropertyInfo(ControlConstants.PAGE_INTERNAL_ERROR_CONTROL_KEY, new LocalizedString("When there is an error within the window"), new LocalizedString("When there is an error within the window"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
- public static final PropertyInfo CONTROL_POLICY_PAGE_NOT_FOUND = new PropertyInfo(ControlConstants.PAGE_NOT_FOUND_CONTROL_KEY, new LocalizedString("When the window is not found"), new LocalizedString("When the window is not found"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
- public static final PropertyInfo CONTROL_POLICY_PAGE_RESOURCE_URI = new PropertyInfo(ControlConstants.PAGE_RESOURCE_URI_CONTROL_KEY, new LocalizedString("On error redirect to this resource"), new LocalizedString("On error redirect to this resource"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
+ public static final PropertyInfo CONTROL_POLICY_PAGE_ACCESS_DENIED = new PropertyInfo(
+ ControlConstants.PAGE_ACCESS_DENIED_CONTROL_KEY, new LocalizedString(
+ CONTROL_POLICY_PAGE_ACCESS_DENIED_DISPLAY_NAME, Locale.getDefault()), new LocalizedString(
+ CONTROL_POLICY_PAGE_ACCESS_DENIED_DESCRIPTION, Locale.getDefault()), "java.lang.String",
+ PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
+ public static final PropertyInfo CONTROL_POLICY_PAGE_UNAVAILABLE = new PropertyInfo(
+ ControlConstants.PAGE_UNAVAILABLE_CONTROL_KEY, new LocalizedString(
+ CONTROL_POLICY_PAGE_UNAVAILABLE_DISPLAY_NAME, Locale.getDefault()), new LocalizedString(
+ CONTROL_POLICY_PAGE_UNAVAILABLE_DESCRIPTION, Locale.getDefault()), "java.lang.String",
+ PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
+
+ public static final PropertyInfo CONTROL_POLICY_PAGE_ERROR = new PropertyInfo(
+ ControlConstants.PAGE_ERROR_CONTROL_KEY, new LocalizedString(CONTROL_POLICY_PAGE_ERROR_DISPLAY_NAME, Locale
+ .getDefault()), new LocalizedString(CONTROL_POLICY_PAGE_ERROR_DESCRIPTION, Locale.getDefault()),
+ "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
+
+ public static final PropertyInfo CONTROL_POLICY_PAGE_INTERNAL_ERROR = new PropertyInfo(
+ ControlConstants.PAGE_INTERNAL_ERROR_CONTROL_KEY, new LocalizedString(
+ CONTROL_POLICY_PAGE_INTERNAL_ERROR_DISPLAY_NAME, Locale.getDefault()), new LocalizedString(
+ CONTROL_POLICY_PAGE_INTERNAL_ERROR_DESCRIPTION, Locale.getDefault()), "java.lang.String",
+ PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
+
+ public static final PropertyInfo CONTROL_POLICY_PAGE_NOT_FOUND = new PropertyInfo(
+ ControlConstants.PAGE_NOT_FOUND_CONTROL_KEY, new LocalizedString(CONTROL_POLICY_PAGE_NOT_FOUND_DISPLAY_NAME,
+ Locale.getDefault()),
+ new LocalizedString(CONTROL_POLICY_PAGE_NOT_FOUND_DESCRIPTION, Locale.getDefault()), "java.lang.String",
+ PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
+
+ public static final PropertyInfo CONTROL_POLICY_PAGE_RESOURCE_URI = new PropertyInfo(
+ ControlConstants.PAGE_RESOURCE_URI_CONTROL_KEY, new LocalizedString(
+ CONTROL_POLICY_PAGE_RESOURCE_URI_DISPLAY_NAME, Locale.getDefault()), new LocalizedString(
+ CONTROL_POLICY_PAGE_RESOURCE_URI_DESCRIPTION, Locale.getDefault()), "java.lang.String",
+ PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
+
//
- public static final PropertyInfo CONTROL_POLICY_PORTAL_ACCESS_DENIED = new PropertyInfo(ControlConstants.PORTAL_ACCESS_DENIED_CONTROL_KEY, new LocalizedString("When access to the page is denied"), new LocalizedString("When access to the page is denied"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
- public static final PropertyInfo CONTROL_POLICY_PORTAL_UNAVAILABLE = new PropertyInfo(ControlConstants.PORTAL_UNAVAILABLE_CONTROL_KEY, new LocalizedString("When the page is unavailable"), new LocalizedString("When the page is unavailable"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
- public static final PropertyInfo CONTROL_POLICY_PORTAL_ERROR = new PropertyInfo(ControlConstants.PORTAL_ERROR_CONTROL_KEY, new LocalizedString("When there is an error on the page"), new LocalizedString("When there is an error on the page"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
- public static final PropertyInfo CONTROL_POLICY_PORTAL_INTERNAL_ERROR = new PropertyInfo(ControlConstants.PORTAL_INTERNAL_ERROR_CONTROL_KEY, new LocalizedString("When there is an error within the page"), new LocalizedString("When there is an error within the page"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
- public static final PropertyInfo CONTROL_POLICY_PORTAL_NOT_FOUND = new PropertyInfo(ControlConstants.PORTAL_NOT_FOUND_CONTROL_KEY, new LocalizedString("When the page is not found"), new LocalizedString("When the page is not found"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
- public static final PropertyInfo CONTROL_POLICY_PORTAL_RESOURCE_URI = new PropertyInfo(ControlConstants.PORTAL_RESOURCE_URI_CONTROL_KEY, new LocalizedString("On error redirect to this resource"), new LocalizedString("On error redirect to this resource"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
+ public static final PropertyInfo CONTROL_POLICY_PORTAL_ACCESS_DENIED = new PropertyInfo(
+ ControlConstants.PORTAL_ACCESS_DENIED_CONTROL_KEY, new LocalizedString(
+ CONTROL_POLICY_PORTAL_ACCESS_DENIED_DISPLAY_NAME, Locale.getDefault()), new LocalizedString(
+ CONTROL_POLICY_PORTAL_ACCESS_DENIED_DESCRIPTION, Locale.getDefault()), "java.lang.String",
+ PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
+ public static final PropertyInfo CONTROL_POLICY_PORTAL_UNAVAILABLE = new PropertyInfo(
+ ControlConstants.PORTAL_UNAVAILABLE_CONTROL_KEY, new LocalizedString(
+ CONTROL_POLICY_PORTAL_UNAVAILABLE_DISPLAY_NAME, Locale.getDefault()), new LocalizedString(
+ CONTROL_POLICY_PORTAL_UNAVAILABLE_DESCRIPTION, Locale.getDefault()), "java.lang.String",
+ PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
+ public static final PropertyInfo CONTROL_POLICY_PORTAL_ERROR = new PropertyInfo(
+ ControlConstants.PORTAL_ERROR_CONTROL_KEY, new LocalizedString(CONTROL_POLICY_PORTAL_ERROR_DISPLAY_NAME,
+ Locale.getDefault()), new LocalizedString(CONTROL_POLICY_PORTAL_ERROR_DESCRIPTION, Locale.getDefault()),
+ "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
+
+ public static final PropertyInfo CONTROL_POLICY_PORTAL_INTERNAL_ERROR = new PropertyInfo(
+ ControlConstants.PORTAL_INTERNAL_ERROR_CONTROL_KEY, new LocalizedString(
+ CONTROL_POLICY_PORTAL_INTERNAL_ERROR_DISPLAY_NAME, Locale.getDefault()), new LocalizedString(
+ CONTROL_POLICY_PORTAL_INTERNAL_ERROR_DESCRIPTION, Locale.getDefault()), "java.lang.String",
+ PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
+
+ public static final PropertyInfo CONTROL_POLICY_PORTAL_NOT_FOUND = new PropertyInfo(
+ ControlConstants.PORTAL_NOT_FOUND_CONTROL_KEY, new LocalizedString(
+ CONTROL_POLICY_PORTAL_NOT_FOUND_DISPLAY_NAME, Locale.getDefault()), new LocalizedString(
+ CONTROL_POLICY_PORTAL_NOT_FOUND_DESCRIPTION, Locale.getDefault()), "java.lang.String",
+ PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
+
+ public static final PropertyInfo CONTROL_POLICY_PORTAL_RESOURCE_URI = new PropertyInfo(
+ ControlConstants.PORTAL_RESOURCE_URI_CONTROL_KEY, new LocalizedString(
+ CONTROL_POLICY_PORTAL_RESOURCE_URI_DISPLAY_NAME, Locale.getDefault()), new LocalizedString(
+ CONTROL_POLICY_PORTAL_RESOURCE_URI_DESCRIPTION, Locale.getDefault()), "java.lang.String",
+ PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PRIVATE_SCOPE);
+
/** . */
private static final PropertyInfoSet CONTEXT_PROPERTIES = new PropertyInfoSet();
@@ -206,16 +496,16 @@
Map objectProps = null;
switch (portalObject.getType())
{
- case PortalObject.TYPE_CONTEXT:
+ case PortalObject.TYPE_CONTEXT :
objectProps = CONTEXT_PROPERTIES;
break;
- case PortalObject.TYPE_PORTAL:
+ case PortalObject.TYPE_PORTAL :
objectProps = PORTAL_PROPERTIES;
break;
- case PortalObject.TYPE_PAGE:
+ case PortalObject.TYPE_PAGE :
objectProps = PAGE_PROPERTIES;
break;
- case PortalObject.TYPE_WINDOW:
+ case PortalObject.TYPE_WINDOW :
objectProps = WINDOW_PROPERTIES;
break;
}
@@ -226,14 +516,15 @@
//
for (Iterator i = portalObject.getDeclaredProperties().entrySet().iterator(); i.hasNext();)
{
- Map.Entry entry = (Map.Entry)i.next();
- String name = (String)entry.getKey();
+ Map.Entry entry = (Map.Entry) i.next();
+ String name = (String) entry.getKey();
// Add additional properties
if (!ALL_PROPERTIES.containsKey(name))
{
LocalizedString displayName = new LocalizedString(name);
- PropertyInfo info = new PropertyInfo(name, displayName, new LocalizedString("The " + name + " property"), "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PUBLIC_SCOPE);
+ PropertyInfo info = new PropertyInfo(name, displayName, new LocalizedString("The " + name + " property"),
+ "java.lang.String", PropertyInfo.READ_WRITE_ACCESS_MODE, PropertyInfo.PUBLIC_SCOPE);
entries.put(name, info);
}
}
@@ -249,7 +540,7 @@
public PropertyInfo getPropertyInfo(String name)
{
- return (PropertyInfo)entries.get(name);
+ return (PropertyInfo) entries.get(name);
}
public static boolean isControlProperty(String name)
@@ -259,7 +550,7 @@
public static PropertyInfo getControlPropertyInfo(String name)
{
- return (PropertyInfo)CONTROL_PROPERTIES.get(name);
+ return (PropertyInfo) CONTROL_PROPERTIES.get(name);
}
}
15 years, 11 months
JBoss Portal SVN: r10882 - branches/JBoss_Portal_Branch_2_7/core/src/resources/portal-server-war/WEB-INF/classes.
by portal-commits@lists.jboss.org
Author: sviluppatorefico
Date: 2008-05-31 18:23:29 -0400 (Sat, 31 May 2008)
New Revision: 10882
Modified:
branches/JBoss_Portal_Branch_2_7/core/src/resources/portal-server-war/WEB-INF/classes/Resource_it.properties
Log:
internationalization updates
Modified: branches/JBoss_Portal_Branch_2_7/core/src/resources/portal-server-war/WEB-INF/classes/Resource_it.properties
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core/src/resources/portal-server-war/WEB-INF/classes/Resource_it.properties 2008-05-31 20:53:15 UTC (rev 10881)
+++ branches/JBoss_Portal_Branch_2_7/core/src/resources/portal-server-war/WEB-INF/classes/Resource_it.properties 2008-05-31 22:23:29 UTC (rev 10882)
@@ -22,7 +22,7 @@
################################################################################
ACCOUNT_DISABLED=Il tuo account \u00e8 disabilitato
-ACCOUNT_INEXISTING_OR_WRONG_PASSWORD=Utente insesistente o password non corretta
+ACCOUNT_INEXISTING_OR_WRONG_PASSWORD=Utente inesistente o password non corretta
ACCOUNT_NOTASSIGNEDTOROLE=L\'utente non ha i giusti permessi
LOGIN_TITLE=JBoss Portal Login
15 years, 11 months
JBoss Portal SVN: r10881 - branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/WEB-INF/classes.
by portal-commits@lists.jboss.org
Author: sviluppatorefico
Date: 2008-05-31 16:53:15 -0400 (Sat, 31 May 2008)
New Revision: 10881
Modified:
branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/WEB-INF/classes/Resource_it.properties
Log:
internationalization updates
Modified: branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/WEB-INF/classes/Resource_it.properties
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/WEB-INF/classes/Resource_it.properties 2008-05-31 20:46:17 UTC (rev 10880)
+++ branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/WEB-INF/classes/Resource_it.properties 2008-05-31 20:53:15 UTC (rev 10881)
@@ -36,7 +36,7 @@
PORTAL=portale
SUB_PORTALS=sotto-portali
PAGES_WITHIN=pagine dentro
-CREATE_PORTAL_NAMED=Crea un portale chiamato
+CREATE_PORTAL_NAMED=Crea un portale con nome
PAGE_LAYOUT=Layout della pagina
SECURITY=Sicurezza
THEME=Tema
@@ -96,7 +96,7 @@
COMMON_SURE_DELETE=Sei sicuro di volerlo cancellare
COMMON_ERROR_HANDLING=Gestione degli errori della Pagina
COMMON_CONFIGURE_ERRORS=Configura la gestione degli errori a livello di pagina
-COMMON_CASE=Caso
+COMMON_CASE=Regola
COMMON_INHERITANCE=Ereditariet\u00e0
COMMON_ACTION=Azione
COMMON_INHERIT_ACTION=eredita l\'azione dal genitore
15 years, 11 months
JBoss Portal SVN: r10880 - branches/JBoss_Portal_Branch_2_7/core/src/resources/portal-core-war/WEB-INF/classes.
by portal-commits@lists.jboss.org
Author: sviluppatorefico
Date: 2008-05-31 16:46:17 -0400 (Sat, 31 May 2008)
New Revision: 10880
Modified:
branches/JBoss_Portal_Branch_2_7/core/src/resources/portal-core-war/WEB-INF/classes/Resource_it.properties
Log:
internationalization updates
Modified: branches/JBoss_Portal_Branch_2_7/core/src/resources/portal-core-war/WEB-INF/classes/Resource_it.properties
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core/src/resources/portal-core-war/WEB-INF/classes/Resource_it.properties 2008-05-31 20:45:44 UTC (rev 10879)
+++ branches/JBoss_Portal_Branch_2_7/core/src/resources/portal-core-war/WEB-INF/classes/Resource_it.properties 2008-05-31 20:46:17 UTC (rev 10880)
@@ -23,8 +23,8 @@
POWERED_BY=Sviluppato da
THEME_BY=Tema di
-LOGIN=Login
-LOGOUT=Logout
+LOGIN=Connettiti
+LOGOUT=Uscita
PORTLET_INSTANCE_ASSOCIATED=Istanza di Portlet associata a questa finestra
PORTLET_NAME=Nome della Portlet
PORTLET_DESCRIPTION=Descrizione della Portlet
@@ -34,4 +34,4 @@
PORTAL=Portale
ADMIN=Amministrazione
MEMBERS=Membri
-LOGGED=Benvenuto
\ No newline at end of file
+LOGGED=Connesso come
\ No newline at end of file
15 years, 11 months
JBoss Portal SVN: r10879 - branches/JBoss_Portal_Branch_2_7/core/src/resources/portal-server-war.
by portal-commits@lists.jboss.org
Author: sviluppatorefico
Date: 2008-05-31 16:45:44 -0400 (Sat, 31 May 2008)
New Revision: 10879
Modified:
branches/JBoss_Portal_Branch_2_7/core/src/resources/portal-server-war/login.jsp
Log:
you cannot to use conf.bundle.Resource because that file is into portal-core.war. Here we are into portal-server.war. Threre is a own Resource.properties file
Modified: branches/JBoss_Portal_Branch_2_7/core/src/resources/portal-server-war/login.jsp
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core/src/resources/portal-server-war/login.jsp 2008-05-31 20:43:27 UTC (rev 10878)
+++ branches/JBoss_Portal_Branch_2_7/core/src/resources/portal-server-war/login.jsp 2008-05-31 20:45:44 UTC (rev 10879)
@@ -25,7 +25,7 @@
<%@page import="java.util.ResourceBundle"%>
<%
- ResourceBundle rb = ResourceBundle.getBundle("conf.bundles.Resource", request.getLocale());
+ ResourceBundle rb = ResourceBundle.getBundle("Resource", request.getLocale());
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
15 years, 11 months
JBoss Portal SVN: r10878 - in branches/JBoss_Portal_Branch_2_7/core-cms/src/resources/portal-cms-war/WEB-INF: jsp/cms/admin and 1 other directory.
by portal-commits@lists.jboss.org
Author: sviluppatorefico
Date: 2008-05-31 16:43:27 -0400 (Sat, 31 May 2008)
New Revision: 10878
Modified:
branches/JBoss_Portal_Branch_2_7/core-cms/src/resources/portal-cms-war/WEB-INF/classes/Resource.properties
branches/JBoss_Portal_Branch_2_7/core-cms/src/resources/portal-cms-war/WEB-INF/classes/Resource_it.properties
branches/JBoss_Portal_Branch_2_7/core-cms/src/resources/portal-cms-war/WEB-INF/jsp/cms/admin/main.jsp
Log:
internationalization updates
Modified: branches/JBoss_Portal_Branch_2_7/core-cms/src/resources/portal-cms-war/WEB-INF/classes/Resource.properties
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-cms/src/resources/portal-cms-war/WEB-INF/classes/Resource.properties 2008-05-31 08:31:05 UTC (rev 10877)
+++ branches/JBoss_Portal_Branch_2_7/core-cms/src/resources/portal-cms-war/WEB-INF/classes/Resource.properties 2008-05-31 20:43:27 UTC (rev 10878)
@@ -120,3 +120,4 @@
CMS_HELP=The CMS Portlet displays content from the file store inside a portlet window, or, in the case of binary content, outside of the portlet window altogether
CMS_TO_MODIFY=To modify how this portlet behaves, please
CMS_CLICK_HERE=click here
+CMS_SELECT_ACTION=Select Action
\ No newline at end of file
Modified: branches/JBoss_Portal_Branch_2_7/core-cms/src/resources/portal-cms-war/WEB-INF/classes/Resource_it.properties
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-cms/src/resources/portal-cms-war/WEB-INF/classes/Resource_it.properties 2008-05-31 08:31:05 UTC (rev 10877)
+++ branches/JBoss_Portal_Branch_2_7/core-cms/src/resources/portal-cms-war/WEB-INF/classes/Resource_it.properties 2008-05-31 20:43:27 UTC (rev 10878)
@@ -115,4 +115,5 @@
CMS_INTRODUCTION=Introduzione
CMS_HELP=La Portlet CMS visualizza e salva i contenuti di un file da dentro la finestra di una Portlet, o, nel caso di un contenuto binario, fuori della finestra
CMS_TO_MODIFY=Per modificare il comportamento di questa Portlet,
-CMS_CLICK_HERE=clicca qui
\ No newline at end of file
+CMS_CLICK_HERE=clicca qui
+CMS_SELECT_ACTION=Seleziona un\'azione
\ No newline at end of file
Modified: branches/JBoss_Portal_Branch_2_7/core-cms/src/resources/portal-cms-war/WEB-INF/jsp/cms/admin/main.jsp
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-cms/src/resources/portal-cms-war/WEB-INF/jsp/cms/admin/main.jsp 2008-05-31 08:31:05 UTC (rev 10877)
+++ branches/JBoss_Portal_Branch_2_7/core-cms/src/resources/portal-cms-war/WEB-INF/jsp/cms/admin/main.jsp 2008-05-31 20:43:27 UTC (rev 10878)
@@ -105,7 +105,7 @@
<div class="menu">
<select onchange="window.open(this.options[this.selectedIndex].value,'_top')">
- <option value="">Select Action...</option>
+ <option value="">${n:i18n("CMS_SELECT_ACTION")}...</option>
<option value="<portlet:renderURL>
<portlet:param name="op" value="<%= CMSAdminConstants.OP_CONFIRM_CREATE_COLLECTION %>"/>
<portlet:param name="path" value="<%= sCurrPath %>"/>
15 years, 11 months
JBoss Portal SVN: r10877 - branches/JBoss_Portal_Branch_2_7/core/src/resources/portal-core-war/WEB-INF/jsp/content.
by portal-commits@lists.jboss.org
Author: sviluppatorefico
Date: 2008-05-31 04:31:05 -0400 (Sat, 31 May 2008)
New Revision: 10877
Modified:
branches/JBoss_Portal_Branch_2_7/core/src/resources/portal-core-war/WEB-INF/jsp/content/portlet_editor.jsp
Log:
internationalization update
Modified: branches/JBoss_Portal_Branch_2_7/core/src/resources/portal-core-war/WEB-INF/jsp/content/portlet_editor.jsp
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core/src/resources/portal-core-war/WEB-INF/jsp/content/portlet_editor.jsp 2008-05-30 22:33:46 UTC (rev 10876)
+++ branches/JBoss_Portal_Branch_2_7/core/src/resources/portal-core-war/WEB-INF/jsp/content/portlet_editor.jsp 2008-05-31 08:31:05 UTC (rev 10877)
@@ -144,9 +144,9 @@
</div>
</div>
<div class="content">
- <div><span class="portlet-form-field-label">Portlet name:</span><%= displayName %>
+ <div><span class="portlet-form-field-label">${n:i18n("PORTLET_NAME")}:</span><%= displayName %>
</div>
- <div><span class="portlet-form-field-label">Portlet description:</span>
+ <div><span class="portlet-form-field-label">${n:i18n("PORTLET_DESCRIPTION")}:</span>
<%= getLocalizedValue(portletMetaInfo.getMetaValue(MetaInfo.DESCRIPTION), locale) %>
</div>
</div>
15 years, 11 months
JBoss Portal SVN: r10876 - branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/WEB-INF/classes.
by portal-commits@lists.jboss.org
Author: sviluppatorefico
Date: 2008-05-30 18:33:46 -0400 (Fri, 30 May 2008)
New Revision: 10876
Modified:
branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/WEB-INF/classes/Resource.properties
branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/WEB-INF/classes/Resource_it.properties
Log:
updated internationalization
Modified: branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/WEB-INF/classes/Resource.properties
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/WEB-INF/classes/Resource.properties 2008-05-30 22:33:24 UTC (rev 10875)
+++ branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/WEB-INF/classes/Resource.properties 2008-05-30 22:33:46 UTC (rev 10876)
@@ -70,7 +70,6 @@
DESCRIPTION=Description
REMOTE=Remote
REMOTABLE=Remotable
-ACTIONS=Actions
CREATE_INSTANCE=Create instance
PORTLET_DEFINITIONS=Portlet Definitions
DETAILS=details
@@ -176,7 +175,6 @@
COMMON_TRANSPORT_GUARANTEES=Transport Guarantees
COMMON_CACHE_EXPIRATION=Cache Expiration
COMMON_SECONDS=seconds
-COMMON_MODES=Modes
COMMON_PUBLIC_NAVIGATION_PARAMETERS=Public Navigation Parameters
COMMON_CONSUMED_EVENTS=Consumed Events
COMMON_PRODUCED_EVENTS=Produced Events
Modified: branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/WEB-INF/classes/Resource_it.properties
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/WEB-INF/classes/Resource_it.properties 2008-05-30 22:33:24 UTC (rev 10875)
+++ branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/WEB-INF/classes/Resource_it.properties 2008-05-30 22:33:46 UTC (rev 10876)
@@ -42,7 +42,6 @@
THEME=Tema
RENAME=Rinomina
DISPLAY_NAMES=Nomi visualizzati
-DELETE=Cancella
MANAGE_SUB_PAGES_WITHIN=Gestisci le sotto-pagine dentro
CREATE_PAGE_NAMED=Crea una pagina chiamata
SET_PAGE_PERMISSIONS=Configura i permessi per la pagina
@@ -125,6 +124,7 @@
COMMON_OR=o
COMMON_ENTER_PROPERTY_NAME=Inserisci il nome della propriet\u00e0
COMMON_MANAGE_PROPERTIES=Gestisci le propriet\u00e0 attualmente definite
+COMMON_DESCRIPTION=Descrizione
COMMON_INHERITED=Ereditato
COMMON_YES=Si
COMMON_NO=No
@@ -134,6 +134,7 @@
COMMON_SETTING=Configurazione
COMMON_LAYOUT=Layout
COMMON_NAME_LAYOUT_IMPLEMENTATION=Nome dell\'implementazione del layout usato per le finestre della portlet nelle pagine
+COMMON_THEME=Tema
COMMON_NAME_LOOK_AND_FEEL=Nome del look and feel da usare
COMMON_RENDERSET=RenderSet
COMMON_NAME_RENDER_ENGINE_PAGES=Nome del motore di Render da usare per creare le pagine
@@ -162,11 +163,11 @@
COMMON_APPEND=Aggiungi
COMMON_LOCALE=Nazionalit\u00e0
COMMON_DISPLAY_NAME=Visualizza Nome
-COMMON_MEDIA_TYPES=Media Types
-COMMON_WINDOW_STATES=Window States
-COMMON_PORTLET_MODES=Portlet Modes
-COMMON_PREFERENCES=Preferences
-COMMON_PUBLIC_RENDER_PARAMETERS=Public Render Parameters
+COMMON_MEDIA_TYPES=Tipi di Media
+COMMON_WINDOW_STATES=Stati della Finestra
+COMMON_PORTLET_MODES=Modalit\u00e0
+COMMON_PREFERENCES=Preferenze
+COMMON_PUBLIC_RENDER_PARAMETERS=Parametri pubblici di visualizzazione
COMMON_ID=Id
COMMON_TITLE=Titolo
COMMON_KEYWORDS=Parole chiave
@@ -174,7 +175,6 @@
COMMON_TRANSPORT_GUARANTEES=Garanzia di Trasporto
COMMON_CACHE_EXPIRATION=Durata della Cache
COMMON_SECONDS=secondi
-COMMON_MODES=Modalit\u00e0
COMMON_PUBLIC_NAVIGATION_PARAMETERS=Parametri pubblici di navigazione
COMMON_CONSUMED_EVENTS=Eventi ricevuti
COMMON_PRODUCED_EVENTS=Eventi prodotti
15 years, 11 months
JBoss Portal SVN: r10875 - branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf.
by portal-commits@lists.jboss.org
Author: sviluppatorefico
Date: 2008-05-30 18:33:24 -0400 (Fri, 30 May 2008)
New Revision: 10875
Modified:
branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/portlets.xhtml
Log:
updated internationalization
Modified: branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/portlets.xhtml
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/portlets.xhtml 2008-05-30 22:30:43 UTC (rev 10874)
+++ branches/JBoss_Portal_Branch_2_7/core-admin/src/resources/portal-admin-war/jsf/portlets.xhtml 2008-05-30 22:33:24 UTC (rev 10875)
@@ -17,14 +17,14 @@
<div class="provider-menu-container">
<h:form>
<h:outputLabel for="menu">
- <h:outputText value="View portlets provided by the portlet provider named: "
+ <h:outputText value="#{bundle.VIEW_PORTLETS_PROVIDED_BY}: "
styleClass="portlet-form-field-label"/>
</h:outputLabel>
<h:selectOneMenu id="menu" styleClass="portlet-form-field"
value="#{portletmgr.selectedPortletInvokerId}">
<f:selectItems value="#{portletmgr.portletInvokerItems}"/>
</h:selectOneMenu>
- <h:commandButton value="View portlets" styleClass="portlet-form-button"/>
+ <h:commandButton value="#{bundle.VIEW_PORTLETS}" styleClass="portlet-form-button"/>
</h:form>
</div>
<h:form>
@@ -86,11 +86,11 @@
</tbody>
<tfoot class="portlet-section-header">
<tr>
- <th>Portlet name</th>
- <th>Description</th>
- <th>Remote</th>
- <th>Remotable</th>
- <th>Actions</th>
+ <th>#{bundle.PORTLET_NAME}</th>
+ <th>#{bundle.DESCRIPTION}</th>
+ <th>#{bundle.REMOTE}</th>
+ <th>#{bundle.REMOTABLE}</th>
+ <th>#{bundle.ACTIONS}</th>
</tr>
</tfoot>
</table>
@@ -173,7 +173,7 @@
<h:inputText id="instanceId" value="#{createInstanceAction.instanceId}" styleClass="portlet-form-input-field"
required="true"/>
<br/>
- <h:commandButton action="#{createInstanceAction.execute}" value="Create instance"
+ <h:commandButton action="#{createInstanceAction.execute}" value="#{bundle.CREATE_INSTANCE}"
styleClass="portlet-form-button"/>
<h:message for="instanceId" errorClass="portlet-msg-error"/>
</h:form>
15 years, 11 months