JBoss Portal SVN: r6415 - trunk/core-admin/src/main/org/jboss/portal/core/portlet/management.
by portal-commits@lists.jboss.org
Author: julien(a)jboss.com
Date: 2007-02-26 18:54:28 -0500 (Mon, 26 Feb 2007)
New Revision: 6415
Removed:
trunk/core-admin/src/main/org/jboss/portal/core/portlet/management/LazyPortalObjectTreeNode.java
Log:
removed unused LazyPortalObjectTreeNode class now
Deleted: trunk/core-admin/src/main/org/jboss/portal/core/portlet/management/LazyPortalObjectTreeNode.java
===================================================================
--- trunk/core-admin/src/main/org/jboss/portal/core/portlet/management/LazyPortalObjectTreeNode.java 2007-02-26 23:39:02 UTC (rev 6414)
+++ trunk/core-admin/src/main/org/jboss/portal/core/portlet/management/LazyPortalObjectTreeNode.java 2007-02-26 23:54:28 UTC (rev 6415)
@@ -1,188 +0,0 @@
-/******************************************************************************
- * JBoss, a division of Red Hat *
- * Copyright 2006, Red Hat Middleware, LLC, and individual *
- * contributors as indicated by the @authors tag. See the *
- * copyright.txt in the distribution for a full listing of *
- * individual contributors. *
- * *
- * This is free software; you can redistribute it and/or modify it *
- * under the terms of the GNU Lesser General Public License as *
- * published by the Free Software Foundation; either version 2.1 of *
- * the License, or (at your option) any later version. *
- * *
- * This software is distributed in the hope that it will be useful, *
- * but WITHOUT ANY WARRANTY; without even the implied warranty of *
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
- * Lesser General Public License for more details. *
- * *
- * You should have received a copy of the GNU Lesser General Public *
- * License along with this software; if not, write to the Free *
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA *
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org. *
- ******************************************************************************/
-package org.jboss.portal.core.portlet.management;
-
-import org.apache.myfaces.custom.tree2.TreeNode;
-import org.jboss.portal.core.model.portal.PortalObject;
-import org.jboss.portal.core.model.portal.PortalObjectId;
-
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.Comparator;
-import java.util.List;
-
-/**
- * @author <a href="mailto:julien@jboss.org">Julien Viet</a>
- * @version $Revision: 6250 $
- */
-public class LazyPortalObjectTreeNode implements TreeNode
-{
-
- /** The serialVersionUID */
- private static final long serialVersionUID = 7253085860667670643L;
-
- public static LazyPortalObjectTreeNode newInstance(PortalObject object)
- {
- if (object.isDashboard())
- {
- return new DashboardNode(object);
- }
- else
- {
- return new LazyPortalObjectTreeNode(object);
- }
- }
-
- private static class DashboardNode extends LazyPortalObjectTreeNode
- {
- public DashboardNode(PortalObject object)
- {
- super(object);
- }
-
- public List getChildren()
- {
- return Collections.EMPTY_LIST;
- }
-
- public boolean isLeaf()
- {
- return true;
- }
-
- public int getChildCount()
- {
- return 0;
- }
- }
-
- /** . */
- private PortalObject object;
-
- /** . */
- private List children;
-
- /** . */
- private String description;
-
- /** . */
- private String type;
-
- protected LazyPortalObjectTreeNode(PortalObject object)
- {
- this.object = object;
- this.description = object.getName();
- switch (object.getType())
- {
- case PortalObject.TYPE_CONTEXT:
- type = "context";
- break;
- case PortalObject.TYPE_PORTAL:
- type = "portal";
- break;
- case PortalObject.TYPE_PAGE:
- type = "page";
- break;
- case PortalObject.TYPE_WINDOW:
- type = "window";
- break;
- }
- }
-
- public boolean isLeaf()
- {
- return object.getChildren().size() == 0;
- }
-
- public void setLeaf(boolean b)
- {
- throw new UnsupportedOperationException();
- }
-
- public List getChildren()
- {
- if (children == null)
- {
- children = new ArrayList(object.getChildren());
- Collections.sort(children, new Comparator()
- {
- public int compare(Object o1, Object o2)
- {
- PortalObject po1 = (PortalObject)o1;
- PortalObject po2 = (PortalObject)o2;
- int high1 = po1.getType();
- int high2 = po2.getType();
- if (high1 == high2)
- {
- return po1.getName().compareTo(po2.getName());
- }
- else
- {
- return high1 - high2;
- }
- }
- });
- for (int i = 0; i < children.size(); i++)
- {
- PortalObject child = (PortalObject)children.get(i);
- children.set(i, LazyPortalObjectTreeNode.newInstance(child));
- }
- }
- return children;
- }
-
- public String getType()
- {
- return type;
- }
-
- public void setType(String name)
- {
- throw new UnsupportedOperationException();
- }
-
- public String getDescription()
- {
- return description;
- }
-
- public void setDescription(String name)
- {
- throw new UnsupportedOperationException();
- }
-
- public String getIdentifier()
- {
- return object.getId().toString(PortalObjectId.LEGACY_BASE64_FORMAT);
- }
-
- public void setIdentifier(String name)
- {
- throw new UnsupportedOperationException();
- }
-
- public int getChildCount()
- {
- return object.getChildren().size();
- }
-}
19 years, 2 months
JBoss Portal SVN: r6414 - trunk/build/ide/intellij/idea60/modules/faces.
by portal-commits@lists.jboss.org
Author: julien(a)jboss.com
Date: 2007-02-26 18:39:02 -0500 (Mon, 26 Feb 2007)
New Revision: 6414
Modified:
trunk/build/ide/intellij/idea60/modules/faces/faces.iml
Log:
added facelet and el jar in faces libs of idea project
Modified: trunk/build/ide/intellij/idea60/modules/faces/faces.iml
===================================================================
--- trunk/build/ide/intellij/idea60/modules/faces/faces.iml 2007-02-26 23:17:20 UTC (rev 6413)
+++ trunk/build/ide/intellij/idea60/modules/faces/faces.iml 2007-02-26 23:39:02 UTC (rev 6414)
@@ -47,6 +47,33 @@
<SOURCES />
</library>
</orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/../../../../../../thirdparty/junit/lib/junit.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/../../../../../../thirdparty/facelets/lib/jsf-facelets.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$MODULE_DIR$/../../../../../../thirdparty/el/lib/el-api.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
<orderEntryProperties />
</component>
<component name="VcsManagerConfiguration">
19 years, 2 months
JBoss Portal SVN: r6413 - trunk/faces/src/main/org/jboss/portal/faces/el.
by portal-commits@lists.jboss.org
Author: thomas.heute(a)jboss.com
Date: 2007-02-26 18:17:20 -0500 (Mon, 26 Feb 2007)
New Revision: 6413
Modified:
trunk/faces/src/main/org/jboss/portal/faces/el/DelegatingPropertyResolver.java
Log:
Always failing is not good ;)
Modified: trunk/faces/src/main/org/jboss/portal/faces/el/DelegatingPropertyResolver.java
===================================================================
--- trunk/faces/src/main/org/jboss/portal/faces/el/DelegatingPropertyResolver.java 2007-02-26 20:58:17 UTC (rev 6412)
+++ trunk/faces/src/main/org/jboss/portal/faces/el/DelegatingPropertyResolver.java 2007-02-26 23:17:20 UTC (rev 6413)
@@ -182,6 +182,7 @@
if (delegate != null)
{
delegate.setValue(base, property, value);
+ return;
}
//
19 years, 2 months
JBoss Portal SVN: r6412 - in trunk/wsrp/src/main/org/jboss/portal: wsrp/consumer and 1 other directory.
by portal-commits@lists.jboss.org
Author: chris.laprun(a)jboss.com
Date: 2007-02-26 15:58:17 -0500 (Mon, 26 Feb 2007)
New Revision: 6412
Added:
trunk/wsrp/src/main/org/jboss/portal/test/wsrp/other/EndpointConfigurationInfoTestCase.java
Modified:
trunk/wsrp/src/main/org/jboss/portal/wsrp/consumer/EndpointConfigurationInfo.java
Log:
- Improved state robustness when setters are used. In particular, make sure that Hibernate can load object properly.
- Added test case.
Added: trunk/wsrp/src/main/org/jboss/portal/test/wsrp/other/EndpointConfigurationInfoTestCase.java
===================================================================
--- trunk/wsrp/src/main/org/jboss/portal/test/wsrp/other/EndpointConfigurationInfoTestCase.java (rev 0)
+++ trunk/wsrp/src/main/org/jboss/portal/test/wsrp/other/EndpointConfigurationInfoTestCase.java 2007-02-26 20:58:17 UTC (rev 6412)
@@ -0,0 +1,92 @@
+/*
+* JBoss, a division of Red Hat
+* Copyright 2006, Red Hat Middleware, LLC, and individual contributors as indicated
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+
+package org.jboss.portal.test.wsrp.other;
+
+import junit.framework.TestCase;
+import org.jboss.portal.wsrp.consumer.EndpointConfigurationInfo;
+import org.jboss.portal.wsrp.services.PerEndpointSOAPInvokerServiceFactory;
+import org.jboss.portal.wsrp.services.RemoteSOAPInvokerServiceFactory;
+
+/**
+ * @author <a href="mailto:chris.laprun@jboss.com">Chris Laprun</a>
+ * @version $Revision$
+ * @since 2.6
+ */
+public class EndpointConfigurationInfoTestCase extends TestCase
+{
+ private EndpointConfigurationInfo info;
+ private String url = "http://www.example.com/";
+
+ protected void setUp() throws Exception
+ {
+ info = new EndpointConfigurationInfo();
+ }
+
+ public void testSetURLs()
+ {
+ info.setServiceDescriptionURL(url);
+ assertEquals(url, info.getServiceDescriptionURL());
+ try
+ {
+ info.getServiceFactory();
+ fail("Missing markup URL: service factory should not be initialized");
+ }
+ catch (IllegalStateException expected)
+ {
+ }
+
+ info.setMarkupURL(url);
+ assertNotNull(info.getServiceFactory());
+ assertEquals(url, info.getServiceFactory().getServiceDescriptionURL());
+ assertEquals(url, info.getServiceFactory().getMarkupURL());
+ }
+
+ public void testSetWSDLURL()
+ {
+ info.setServiceDescriptionURL(url);
+ info.setMarkupURL(url);
+ assertTrue(info.getServiceFactory() instanceof PerEndpointSOAPInvokerServiceFactory);
+ assertFalse(info.usesWSDL());
+
+ String bea = "http://wsrp.bea.com:7001/producer/producer?WSDL";
+ info.setWsdlDefinitionURL(bea);
+ assertEquals(bea, info.getWsdlDefinitionURL());
+ assertTrue(info.getServiceFactory() instanceof RemoteSOAPInvokerServiceFactory);
+ assertEquals(bea, ((RemoteSOAPInvokerServiceFactory)info.getServiceFactory()).getWsdlDefinitionURL());
+ assertTrue(info.usesWSDL());
+
+ info.setMarkupURL(url);
+ assertEquals(url, info.getMarkupURL());
+ assertEquals(url, info.getServiceFactory().getMarkupURL());
+ assertTrue(info.usesWSDL());
+ }
+
+ public void testSetNullWSDLURL()
+ {
+ info.setServiceDescriptionURL(url);
+ info.setMarkupURL(url);
+
+ // it should be possible to set the WSDL to null for Hibernate
+ info.setWsdlDefinitionURL(null);
+ }
+}
Property changes on: trunk/wsrp/src/main/org/jboss/portal/test/wsrp/other/EndpointConfigurationInfoTestCase.java
___________________________________________________________________
Name: svn:keywords
+ Author Date Id Revision
Name: svn:eol-style
+ native
Modified: trunk/wsrp/src/main/org/jboss/portal/wsrp/consumer/EndpointConfigurationInfo.java
===================================================================
--- trunk/wsrp/src/main/org/jboss/portal/wsrp/consumer/EndpointConfigurationInfo.java 2007-02-26 20:55:40 UTC (rev 6411)
+++ trunk/wsrp/src/main/org/jboss/portal/wsrp/consumer/EndpointConfigurationInfo.java 2007-02-26 20:58:17 UTC (rev 6412)
@@ -88,9 +88,7 @@
public boolean usesWSDL()
{
- return serviceFactory instanceof RemoteSOAPInvokerServiceFactory ||
- (wsdlDefinitionURL != null && serviceDescriptionURL == null && markupURL == null && portletManagementURL == null
- && registrationURL == null);
+ return serviceFactory instanceof RemoteSOAPInvokerServiceFactory || wsdlDefinitionURL != null;
}
public String getWsdlDefinitionURL()
@@ -141,36 +139,53 @@
public void setServiceDescriptionURL(String serviceDescriptionURL)
{
- serviceFactory.setServiceDescriptionURL(serviceDescriptionURL);
+ if (serviceFactory != null)
+ {
+ serviceFactory.setServiceDescriptionURL(serviceDescriptionURL);
+ }
this.serviceDescriptionURL = serviceDescriptionURL;
}
public void setMarkupURL(String markupURL)
{
- serviceFactory.setMarkupURL(markupURL);
+ if (serviceFactory != null)
+ {
+ serviceFactory.setMarkupURL(markupURL);
+ }
this.markupURL = markupURL;
}
public void setRegistrationURL(String registrationURL)
{
- serviceFactory.setRegistrationURL(registrationURL);
+ if (serviceFactory != null)
+ {
+ serviceFactory.setRegistrationURL(registrationURL);
+ }
this.registrationURL = registrationURL;
}
public void setPortletManagementURL(String portletManagementURL)
{
- serviceFactory.setPortletManagementURL(portletManagementURL);
+ if (serviceFactory != null)
+ {
+ serviceFactory.setPortletManagementURL(portletManagementURL);
+ }
this.portletManagementURL = portletManagementURL;
}
public void setWsdlDefinitionURL(String wsdlDefinitionURL)
{
this.wsdlDefinitionURL = wsdlDefinitionURL;
- if (!(serviceFactory instanceof RemoteSOAPInvokerServiceFactory))
+
+ // WSDL url is optional so can be null (and in particular, it is when loaded from Hibernate most of the time)
+ if (wsdlDefinitionURL != null)
{
- serviceFactory = new RemoteSOAPInvokerServiceFactory();
+ if (!(serviceFactory instanceof RemoteSOAPInvokerServiceFactory))
+ {
+ serviceFactory = new RemoteSOAPInvokerServiceFactory();
+ }
+ ((RemoteSOAPInvokerServiceFactory)serviceFactory).setWsdlDefinitionURL(wsdlDefinitionURL);
}
- ((RemoteSOAPInvokerServiceFactory)serviceFactory).setWsdlDefinitionURL(wsdlDefinitionURL);
}
public void initServiceFactoryIfNeeded()
@@ -184,17 +199,24 @@
}
else
{
- serviceFactory = new PerEndpointSOAPInvokerServiceFactory();
- serviceFactory.setServiceDescriptionURL(serviceDescriptionURL);
- serviceFactory.setMarkupURL(markupURL);
- serviceFactory.setPortletManagementURL(portletManagementURL);
- serviceFactory.setRegistrationURL(registrationURL);
+ if (serviceDescriptionURL != null && markupURL != null)
+ {
+ serviceFactory = new PerEndpointSOAPInvokerServiceFactory();
+ serviceFactory.setServiceDescriptionURL(serviceDescriptionURL);
+ serviceFactory.setMarkupURL(markupURL);
+ serviceFactory.setPortletManagementURL(portletManagementURL);
+ serviceFactory.setRegistrationURL(registrationURL);
+ }
+ else
+ {
+ throw new IllegalStateException("Cannot initialize ServiceFactory: missing either service description or markup URLs!");
+ }
}
}
}
- ServiceFactory getServiceFactory()
+ public ServiceFactory getServiceFactory()
{
initServiceFactoryIfNeeded();
return serviceFactory;
19 years, 2 months
JBoss Portal SVN: r6411 - trunk/core/src/main/org/jboss/portal/core/impl/portlet/state.
by portal-commits@lists.jboss.org
Author: chris.laprun(a)jboss.com
Date: 2007-02-26 15:55:40 -0500 (Mon, 26 Feb 2007)
New Revision: 6411
Modified:
trunk/core/src/main/org/jboss/portal/core/impl/portlet/state/PersistentConsumer.java
Log:
Removed extra semi-colon.
Modified: trunk/core/src/main/org/jboss/portal/core/impl/portlet/state/PersistentConsumer.java
===================================================================
--- trunk/core/src/main/org/jboss/portal/core/impl/portlet/state/PersistentConsumer.java 2007-02-26 20:40:25 UTC (rev 6410)
+++ trunk/core/src/main/org/jboss/portal/core/impl/portlet/state/PersistentConsumer.java 2007-02-26 20:55:40 UTC (rev 6411)
@@ -57,7 +57,7 @@
// Runtime state
- private ConsumerCapabilities capabilities = new ConsumerCapabilitiesImpl();;
+ private ConsumerCapabilities capabilities = new ConsumerCapabilitiesImpl();
/**
* Manager constructor.
19 years, 2 months
JBoss Portal SVN: r6410 - in trunk: core/src/resources/portal-core-sar/META-INF and 12 other directories.
by portal-commits@lists.jboss.org
Author: thomas.heute(a)jboss.com
Date: 2007-02-26 15:40:25 -0500 (Mon, 26 Feb 2007)
New Revision: 6410
Added:
trunk/core-admin/src/bin/portal-admin-war/images/management/window.png
trunk/core-admin/src/main/org/jboss/portal/core/portlet/management/PortalObjectBean.java
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/common/
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/common/editSecurity.xhtml
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/common/editTheme.xhtml
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/definitionsTemplate.xhtml
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/editPagePreferences.xhtml
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/editPageSecurity.xhtml
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/editPageTheme.xhtml
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/editPortalPreferences.xhtml
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/editPortalSecurity.xhtml
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/editPortalTheme.xhtml
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/editWindowPreferences.xhtml
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/editWindowSecurity.xhtml
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/editWindowTheme.xhtml
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/instancesTemplate.xhtml
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/objectTemplate.xhtml
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/pageNavigation.xhtml
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/pages.xhtml
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/portalNavigation.xhtml
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/portals.xhtml
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/tabTemplate.xhtml
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/windowNavigation.xhtml
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/windows.xhtml
Removed:
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/index.xhtml
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/nav.xhtml
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/template.xhtml
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/tomahawk.tld
Modified:
trunk/core-admin/.classpath
trunk/core-admin/src/main/org/jboss/portal/core/portlet/management/PortalObjectManagerBean.java
trunk/core-admin/src/main/org/jboss/portal/core/portlet/management/actions/AddPageAction.java
trunk/core-admin/src/main/org/jboss/portal/core/portlet/management/actions/PortalAction.java
trunk/core-admin/src/main/org/jboss/portal/core/portlet/management/actions/ThemePropertyAction.java
trunk/core-admin/src/resources/portal-admin-sar/content/editor.xhtml
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/faces-config.xml
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/instances.xhtml
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/plugins/manager.xhtml
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/portlets.xhtml
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/portlet.xml
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/web.xml
trunk/core/src/main/org/jboss/portal/core/model/portal/command/RenderPageCommand.java
trunk/core/src/resources/portal-core-sar/META-INF/jboss-service.xml
trunk/core/src/resources/portal-core-war/WEB-INF/portal-layouts.xml
trunk/core/src/resources/portal-core-war/WEB-INF/portal-themes.xml
trunk/theme/src/main/org/jboss/portal/theme/LayoutService.java
trunk/theme/src/main/org/jboss/portal/theme/ThemeService.java
trunk/theme/src/main/org/jboss/portal/theme/impl/LayoutServiceImpl.java
trunk/theme/src/main/org/jboss/portal/theme/impl/ThemeServiceImpl.java
Log:
- Beginning of "management portlet revamping"
- Define default theme
Modified: trunk/core/src/main/org/jboss/portal/core/model/portal/command/RenderPageCommand.java
===================================================================
--- trunk/core/src/main/org/jboss/portal/core/model/portal/command/RenderPageCommand.java 2007-02-26 20:35:51 UTC (rev 6409)
+++ trunk/core/src/main/org/jboss/portal/core/model/portal/command/RenderPageCommand.java 2007-02-26 20:40:25 UTC (rev 6410)
@@ -278,17 +278,38 @@
//
ThemeService service = context.getController().getPageService().getThemeService();
+ PortalTheme theme;
+
// If the id is provided in the form of context.name then look up the theme via a registration id
- if (themeIdString.lastIndexOf(".") > 0)
+ if (themeIdString == null)
{
+ theme = service.getDefaultTheme();
+ }
+ else if (themeIdString.lastIndexOf(".") > 0)
+ {
ServerRegistrationID themeId = ServerRegistrationID.createID(ServerRegistrationID.TYPE_THEME, parseId(themeIdString));
- return service.getTheme(themeId, true);
+ theme = service.getTheme(themeId, true);
}
else
{
// Otherwise use the ordinary theme name provided and lookup the theme via the name
- return service.getTheme(themeIdString, true);
+ theme = service.getTheme(themeIdString, true);
}
+
+ // Last Chance
+ if (theme == null)
+ {
+ theme = service.getTheme("renaissance", true);
+ }
+
+ // We don't like that situation
+ if (theme == null)
+ {
+ throw new IllegalStateException("No Theme found for " + themeIdString);
+ }
+
+ //
+ return theme;
}
/**
@@ -304,15 +325,14 @@
{
String layoutIdString = page.getProperty(ThemeConstants.PORTAL_PROP_LAYOUT);
- // Last resort: use the generic layout
+ //
+ PortalLayout layout;
+
if (layoutIdString == null)
{
- layoutIdString = "generic";
+ layout = layoutService.getDefaultLayout();
}
-
- //
- PortalLayout layout;
- if (layoutIdString.lastIndexOf(".") > 0)
+ else if (layoutIdString.lastIndexOf(".") > 0)
{
// if the id is provided in the form of context.name then look up the layout via a registration id
ServerRegistrationID layoutID = ServerRegistrationID.createID(ServerRegistrationID.TYPE_LAYOUT, parseId(layoutIdString));
@@ -324,6 +344,12 @@
layout = layoutService.getLayout(layoutIdString, true);
}
+ // Last Chance
+ if (layout == null)
+ {
+ layout = layoutService.getLayout("generic", true);
+ }
+
// We don't like that situation
if (layout == null)
{
Modified: trunk/core/src/resources/portal-core-sar/META-INF/jboss-service.xml
===================================================================
--- trunk/core/src/resources/portal-core-sar/META-INF/jboss-service.xml 2007-02-26 20:35:51 UTC (rev 6409)
+++ trunk/core/src/resources/portal-core-sar/META-INF/jboss-service.xml 2007-02-26 20:40:25 UTC (rev 6410)
@@ -333,6 +333,7 @@
xmbean-dd=""
xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
<xmbean/>
+ <attribute name="DefaultThemeName">renaissance</attribute>
</mbean>
<mbean
code="org.jboss.portal.theme.impl.LayoutServiceImpl"
@@ -340,6 +341,7 @@
xmbean-dd=""
xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
<xmbean/>
+ <attribute name="DefaultLayoutName">generic</attribute>
</mbean>
<mbean
code="org.jboss.portal.theme.impl.page.PageServiceImpl"
Modified: trunk/core/src/resources/portal-core-war/WEB-INF/portal-layouts.xml
===================================================================
--- trunk/core/src/resources/portal-core-war/WEB-INF/portal-layouts.xml 2007-02-26 20:35:51 UTC (rev 6409)
+++ trunk/core/src/resources/portal-core-war/WEB-INF/portal-layouts.xml 2007-02-26 20:40:25 UTC (rev 6410)
@@ -23,7 +23,7 @@
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
<layouts>
- <layout>
+ <!-- layout>
<name>nodesk</name>
<uri>/nodesk/index.jsp</uri>
<uri state="maximized">/nodesk/index.jsp</uri>
@@ -40,7 +40,7 @@
<region name="left"/>
<region name="center"/>
</regions>
- </layout>
+ </layout-->
<layout>
<name>generic</name>
<uri>/layouts/generic/index.jsp</uri>
Modified: trunk/core/src/resources/portal-core-war/WEB-INF/portal-themes.xml
===================================================================
--- trunk/core/src/resources/portal-core-war/WEB-INF/portal-themes.xml 2007-02-26 20:35:51 UTC (rev 6409)
+++ trunk/core/src/resources/portal-core-war/WEB-INF/portal-themes.xml 2007-02-26 20:40:25 UTC (rev 6410)
@@ -24,29 +24,29 @@
<themes>
<theme>
+ <name>renaissance</name>
+ <link rel="stylesheet" id="main_css" href="/themes/renaissance/portal_style.css" type="text/css"/>
+ <link rel="shortcut icon" href="/themes/renaissance/images/favicon.ico"/>
+ <link rel="icon" href="/themes/renaissance/images/animated_favicon1.gif" type="image/gif"/>
+ </theme>
+ <theme>
<name>industrial</name>
- <link rel="stylesheet" id="main_css" href="/themes/industrial/portal_style.css" type="text/css"/>
- <link rel="shortcut icon" href="/themes/industrial/images/favicon.ico"/>
+ <link rel="stylesheet" id="main_css" href="/themes/industrial/portal_style.css" type="text/css"/>
+ <link rel="shortcut icon" href="/themes/industrial/images/favicon.ico"/>
</theme>
<theme>
- <name>Nphalanx</name>
- <link rel="stylesheet" id="main_css" href="/themes/phalanx/portal_style.css" type="text/css"/>
- <link rel="shortcut icon" href="/themes/phalanx/images/favicon.ico"/>
+ <name>nphalanx</name>
+ <link rel="stylesheet" id="main_css" href="/themes/phalanx/portal_style.css" type="text/css"/>
+ <link rel="shortcut icon" href="/themes/phalanx/images/favicon.ico"/>
</theme>
<theme>
<name>mission-critical</name>
- <link rel="stylesheet" id="main_css" href="/themes/mission-critical/portal_style.css" type="text/css"/>
- <link rel="shortcut icon" href="/themes/mission-critical/images/favicon.ico"/>
+ <link rel="stylesheet" id="main_css" href="/themes/mission-critical/portal_style.css" type="text/css"/>
+ <link rel="shortcut icon" href="/themes/mission-critical/images/favicon.ico"/>
</theme>
<theme>
- <name>Maple</name>
- <link rel="stylesheet" id="main_css" href="/themes/maple/portal_style.css" type="text/css"/>
- <link rel="shortcut icon" href="/themes/maple/images/favicon.ico"/>
+ <name>maple</name>
+ <link rel="stylesheet" id="main_css" href="/themes/maple/portal_style.css" type="text/css"/>
+ <link rel="shortcut icon" href="/themes/maple/images/favicon.ico"/>
</theme>
- <theme>
- <name>renaissance</name>
- <link rel="stylesheet" id="main_css" href="/themes/renaissance/portal_style.css" type="text/css"/>
- <link rel="shortcut icon" href="/themes/renaissance/images/favicon.ico"/>
- <link rel="icon" href="/themes/renaissance/images/animated_favicon1.gif" type="image/gif"/>
- </theme>
</themes>
\ No newline at end of file
Modified: trunk/core-admin/.classpath
===================================================================
--- trunk/core-admin/.classpath 2007-02-26 20:35:51 UTC (rev 6409)
+++ trunk/core-admin/.classpath 2007-02-26 20:40:25 UTC (rev 6410)
@@ -14,5 +14,10 @@
<classpathentry combineaccessrules="false" kind="src" path="/theme"/>
<classpathentry combineaccessrules="false" kind="src" path="/portlet-federation"/>
<classpathentry kind="lib" path="/thirdparty/apache-tomahawk/lib/tomahawk.jar"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/jems"/>
+ <classpathentry kind="lib" path="/thirdparty/jbossas/core-libs/lib/jboss-system.jar"/>
+ <classpathentry kind="lib" path="/thirdparty/jbossas/core-libs/lib/jboss-jmx.jar"/>
+ <classpathentry kind="lib" path="/thirdparty/facelets/lib/jsf-facelets.jar"/>
+ <classpathentry kind="lib" path="/thirdparty/el/lib/el-api.jar"/>
<classpathentry kind="output" path="output/classes"/>
</classpath>
Copied: trunk/core-admin/src/bin/portal-admin-war/images/management/window.png (from rev 6400, trunk/core-admin/src/bin/portal-admin-war/images/management/tree/window.png)
===================================================================
(Binary files differ)
Added: trunk/core-admin/src/main/org/jboss/portal/core/portlet/management/PortalObjectBean.java
===================================================================
--- trunk/core-admin/src/main/org/jboss/portal/core/portlet/management/PortalObjectBean.java (rev 0)
+++ trunk/core-admin/src/main/org/jboss/portal/core/portlet/management/PortalObjectBean.java 2007-02-26 20:40:25 UTC (rev 6410)
@@ -0,0 +1,77 @@
+/******************************************************************************
+ * JBoss, a division of Red Hat *
+ * Copyright 2006, Red Hat Middleware, LLC, and individual *
+ * contributors as indicated by the @authors tag. See the *
+ * copyright.txt in the distribution for a full listing of *
+ * individual contributors. *
+ * *
+ * This is free software; you can redistribute it and/or modify it *
+ * under the terms of the GNU Lesser General Public License as *
+ * published by the Free Software Foundation; either version 2.1 of *
+ * the License, or (at your option) any later version. *
+ * *
+ * This software is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
+ * Lesser General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU Lesser General Public *
+ * License along with this software; if not, write to the Free *
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA *
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org. *
+ ******************************************************************************/
+package org.jboss.portal.core.portlet.management;
+
+import org.jboss.portal.core.model.portal.PortalObject;
+import org.jboss.portal.core.model.portal.PortalObjectId;
+
+/**
+ * @author <a href="mailto:theute@jboss.org">Thomas Heute</a>
+ * @version $Revision$
+ */
+public class PortalObjectBean
+{
+ private PortalObject po;
+ private PortalObjectBean parent;
+
+
+ public PortalObjectBean(PortalObject po)
+ {
+ this.po = po;
+ }
+
+ public String getId()
+ {
+ return po.getId().toString(PortalObjectId.LEGACY_BASE64_FORMAT);
+ }
+
+// public void setId(String id)
+// {
+// // Do nothing
+// }
+
+ public String getName()
+ {
+ return po.getName();
+ }
+
+ public PortalObjectBean getParent()
+ {
+ if ((parent == null) || (po.getParent() != parent.getPortalObject()))
+ {
+ parent = new PortalObjectBean(po.getParent());
+ }
+ return parent;
+ }
+
+ public int getType()
+ {
+ return po.getType();
+ }
+
+ public PortalObject getPortalObject()
+ {
+ return po;
+ }
+
+}
Modified: trunk/core-admin/src/main/org/jboss/portal/core/portlet/management/PortalObjectManagerBean.java
===================================================================
--- trunk/core-admin/src/main/org/jboss/portal/core/portlet/management/PortalObjectManagerBean.java 2007-02-26 20:35:51 UTC (rev 6409)
+++ trunk/core-admin/src/main/org/jboss/portal/core/portlet/management/PortalObjectManagerBean.java 2007-02-26 20:40:25 UTC (rev 6410)
@@ -39,15 +39,10 @@
import java.util.TreeSet;
import javax.faces.application.FacesMessage;
-import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
+import javax.faces.event.ActionEvent;
import javax.faces.model.SelectItem;
-import javax.faces.validator.ValidatorException;
-import org.apache.myfaces.custom.tree2.HtmlTree;
-import org.apache.myfaces.custom.tree2.TreeModel;
-import org.apache.myfaces.custom.tree2.TreeModelBase;
-import org.apache.myfaces.custom.tree2.TreeNode;
import org.jboss.logging.Logger;
import org.jboss.portal.api.node.PortalNode;
import org.jboss.portal.common.MediaType;
@@ -202,9 +197,6 @@
/** . */
private ThemeBean themes = new ThemeBean();
- /** . */
- private HtmlTree _tree;
-
/** The selected type for content. */
private ContentType selectedContentType = ContentType.PORTLET;
@@ -326,23 +318,40 @@
return authorizationDomainRegistry.getDomain("portalobject").getConfigurator();
}
+ public PortalObject getObjectFromId(String id)
+ {
+ PortalObjectId objectId = PortalObjectId.parse(id, PortalObjectId.LEGACY_BASE64_FORMAT);
+ return getObjectFromId(objectId);
+ }
+
+ public PortalObject getObjectFromId(PortalObjectId id)
+ {
+ return portalObjectContainer.getObject(id);
+ }
+
public PortalObject getSelectedObject()
{
PortalObject result = null;
if (selectedId != null)
{
- try
- {
- PortalObjectId id = PortalObjectId.parse(selectedId, PortalObjectId.LEGACY_BASE64_FORMAT);
- result = portalObjectContainer.getObject(id);
- }
- catch (Exception e)
- {
- e.printStackTrace();
- }
+ result = getObjectFromId(selectedId);
}
+ else
+ {
+ result = portalObjectContainer.getRootObject();
+ }
return result;
}
+
+ public PortalObjectBean getSelectedObjectBean()
+ {
+ return new PortalObjectBean(getSelectedObject());
+ }
+
+ public void setSelectedObject(PortalObject po)
+ {
+ selectedId = po.getId().toString(PortalObjectId.LEGACY_BASE64_FORMAT);
+ }
public List getSelectedProperties()
{
@@ -361,6 +370,61 @@
{
return selectedPlugin;
}
+
+
+ public String goBack()
+ {
+ PortalObject po = getSelectedObject();
+ selectParentObject();
+ if (po.getType() == PortalObject.TYPE_PORTAL)
+ {
+ return "portals";
+ }
+ else if (po.getParent().getType() == PortalObject.TYPE_PAGE)
+ {
+ if (po.getType() == PortalObject.TYPE_PAGE)
+ {
+ return "pages";
+ }
+ else if (po.getType() == PortalObject.TYPE_WINDOW)
+ {
+ return "windows";
+ }
+ }
+ return "";
+ }
+
+ public String modifySecurity()
+ {
+ // Update is made by JSF
+ // Just need to give the correct outcome
+ PortalObject po = getSelectedObject();
+ if (po.getType() == PortalObject.TYPE_PORTAL)
+ {
+ String stringMessage = "Security has been correctly updated on the portal named: " + po.getName();
+ FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_INFO, stringMessage, stringMessage);
+ FacesContext.getCurrentInstance().addMessage("status", message);
+ setSelectedObject(po.getParent());
+ return "portals";
+ }
+ else if (po.getType() == PortalObject.TYPE_PAGE)
+ {
+ String stringMessage = "Security has been correctly updated on the page named: " + po.getName();
+ FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_INFO, stringMessage, stringMessage);
+ FacesContext.getCurrentInstance().addMessage("status", message);
+ setSelectedObject(po.getParent());
+ return "pages";
+ }
+ else if (po.getType() == PortalObject.TYPE_WINDOW)
+ {
+ String stringMessage = "Security has been correctly updated on the window named: " + po.getName();
+ FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_INFO, stringMessage, stringMessage);
+ FacesContext.getCurrentInstance().addMessage("status", message);
+ setSelectedObject(po.getParent());
+ return "windows";
+ }
+ return "";
+ }
public void selectPlugin()
{
@@ -369,16 +433,23 @@
selectedPlugin = (String)pmap.get("plugin");
}
- /**
- *
- */
+ public void selectParentObject(ActionEvent ae)
+ {
+ selectParentObject();
+ }
+
+ public void selectParentObject()
+ {
+ setSelectedObject(getSelectedObject().getParent());
+ }
+
public void udpateContentType()
{
// Do nothing
}
/** Proceed to an object selection. */
- public void selectObject()
+ public void selectObject(ActionEvent ae)
{
try
{
@@ -413,7 +484,7 @@
}
/** Proceed to object destroy. */
- public void destroyObject()
+ public void destroyObject(ActionEvent ae)
{
try
{
@@ -431,8 +502,15 @@
PortalObjectId poid = PortalObjectId.parse(id, PortalObjectId.LEGACY_BASE64_FORMAT);
PortalObject object = portalObjectContainer.getObject(poid);
+ setSelectedObject(object.getParent());
+
+ String stringMessage = object.getName() + " has successfully been destroyed";
+
//
object.getParent().destroyChild(object.getName());
+
+ FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_INFO, stringMessage, stringMessage);
+ FacesContext.getCurrentInstance().addMessage("status", message);
}
}
catch (Exception e)
@@ -441,12 +519,52 @@
}
}
- public TreeNode getTreeData()
+ public List getPortalNodes()
{
PortalObject root = portalObjectContainer.getRootObject();
- return LazyPortalObjectTreeNode.newInstance(root);
+ Collection test = root.getChildren(PortalObject.PORTAL_MASK);
+ // TODO: don't recreate the objects each time !
+ // TODO: Use a datamodel
+ ArrayList result = new ArrayList();
+ Iterator it = test.iterator();
+ while (it.hasNext())
+ {
+ PortalObject po = (PortalObject)it.next();
+ result.add(new PortalObjectBean(po));
+ }
+ return result;
}
+ public List getPageNodes()
+ {
+ Collection test = getSelectedObject().getChildren(PortalObject.PAGE_MASK);
+ // TODO: don't recreate the objects each time !
+ // TODO: Use a datamodel
+ ArrayList result = new ArrayList();
+ Iterator it = test.iterator();
+ while (it.hasNext())
+ {
+ PortalObject po = (PortalObject)it.next();
+ result.add(new PortalObjectBean(po));
+ }
+ return result;
+ }
+
+ public List getWindowNodes()
+ {
+ Collection test = getSelectedObject().getChildren(PortalObject.WINDOW_MASK);
+ // TODO: don't recreate the objects each time !
+ // TODO: Use a datamodel
+ ArrayList result = new ArrayList();
+ Iterator it = test.iterator();
+ while (it.hasNext())
+ {
+ PortalObject po = (PortalObject)it.next();
+ result.add(new PortalObjectBean(po));
+ }
+ return result;
+ }
+
public SelectItem[] getInstanceItems()
{
Collection instances = instanceContainer.getDefinitions();
@@ -543,7 +661,7 @@
{
Map pmap = FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap();
String id = (String)pmap.get("id");
- PortalObjectId poid = PortalObjectId.parse(id, PortalObjectId.LEGACY_BASE64_FORMAT);
+ PortalObjectId poid = PortalObjectId.parse(id, PortalObjectId.CANONICAL_FORMAT);
Window target = (Window)portalObjectContainer.getObject(poid);
move(target, MOVE_UP);
}
@@ -559,7 +677,7 @@
{
Map pmap = FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap();
String id = (String)pmap.get("id");
- PortalObjectId poid = PortalObjectId.parse(id, PortalObjectId.LEGACY_BASE64_FORMAT);
+ PortalObjectId poid = PortalObjectId.parse(id, PortalObjectId.CANONICAL_FORMAT);
Window target = (Window)portalObjectContainer.getObject(poid);
move(target, MOVE_DOWN);
}
@@ -575,7 +693,7 @@
{
Map pmap = FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap();
String id = (String)pmap.get("id");
- PortalObjectId poid = PortalObjectId.parse(id, PortalObjectId.LEGACY_BASE64_FORMAT);
+ PortalObjectId poid = PortalObjectId.parse(id, PortalObjectId.CANONICAL_FORMAT);
Window target = (Window)portalObjectContainer.getObject(poid);
move(target, MOVE_RIGHT);
}
@@ -591,7 +709,7 @@
{
Map pmap = FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap();
String id = (String)pmap.get("id");
- PortalObjectId poid = PortalObjectId.parse(id, PortalObjectId.LEGACY_BASE64_FORMAT);
+ PortalObjectId poid = PortalObjectId.parse(id, PortalObjectId.CANONICAL_FORMAT);
Window target = (Window)portalObjectContainer.getObject(poid);
move(target, MOVE_LEFT);
}
@@ -790,79 +908,6 @@
return (Map[])maps.toArray(new Map[maps.size()]);
}
- /**
- * NOTE: This is just to show an alternative way of supplying tree data. You can supply either a TreeModel or
- * TreeNode.
- *
- * @return TreeModel
- */
- public TreeModel getExpandedTreeData()
- {
- return new TreeModelBase(getTreeData());
- }
-
- public void setTree(HtmlTree tree)
- {
- _tree = tree;
- }
-
- public HtmlTree getTree()
- {
- return _tree;
- }
-
- public String expandAll()
- {
- _tree.expandAll();
- return null;
- }
-
- private String _nodePath;
-
- public void setNodePath(String nodePath)
- {
- _nodePath = nodePath;
- }
-
- public String getNodePath()
- {
- return _nodePath;
- }
-
- public void checkPath(FacesContext context, UIComponent component, java.lang.Object value)
- {
- // make sure path is valid (leaves cannot be expanded or renderer will complain)
- FacesMessage message = null;
-
- String[] path = _tree.getPathInformation(value.toString());
-
- for (int i = 0; i < path.length; i++)
- {
- String nodeId = path[i];
- try
- {
- _tree.setNodeId(nodeId);
- }
- catch (Exception e)
- {
- throw new ValidatorException(message, e);
- }
-
- if (_tree.getNode().isLeaf())
- {
- message = new FacesMessage(FacesMessage.SEVERITY_ERROR,
- "Invalid node path (cannot expand a leaf): " + nodeId,
- "Invalid node path (cannot expand a leaf): " + nodeId);
- throw new ValidatorException(message);
- }
- }
- }
-
- public void expandPath()
- {
- _tree.expandPath(_tree.getPathInformation(_nodePath));
- }
-
// ****************************
public class PortalObjectAuthorizationBean extends AbstractAuthorizationBean
@@ -889,11 +934,11 @@
public SelectItem[] getAvailableActions()
{
return new SelectItem[]{
- new SelectItem("view"),
- new SelectItem("viewrecursive"),
- new SelectItem("personalize"),
- new SelectItem("personalizerecursive"),
- new SelectItem("dashboard"),
+ new SelectItem("view", "View"),
+ new SelectItem("viewrecursive", "View Recursive"),
+ new SelectItem("personalize", "Personalize"),
+ new SelectItem("personalizerecursive", "Personalize Recursive"),
+ new SelectItem("dashboard", "Dashboard"),
};
}
@@ -905,17 +950,6 @@
public final class ThemeBean
{
- public boolean isWindow()
- {
- PortalObject po = getSelectedObject();
- if (po != null)
- {
- return (po.getType() == PortalObject.TYPE_WINDOW);
- }
-
- return false;
- }
-
public String getLayoutName()
{
return getDeclaredProperty(ThemeConstants.PORTAL_PROP_LAYOUT);
@@ -966,7 +1000,7 @@
PortalLayout layout = (PortalLayout)i.next();
names[p++] = new SelectItem(layout.getLayoutInfo().getName(), layout.getLayoutInfo().getName());
}
- names[p] = new SelectItem("", "no selection");
+ names[p] = new SelectItem("", "default");
return names;
}
@@ -986,7 +1020,7 @@
PortalTheme theme = (PortalTheme)i.next();
themeNames[p++] = new SelectItem(theme.getThemeInfo().getName(), theme.getThemeInfo().getName());
}
- themeNames[p] = new SelectItem("", "no selection");
+ themeNames[p] = new SelectItem("", "default");
return themeNames;
}
@@ -1016,7 +1050,7 @@
String key = (String)it.next();
renderSetNames[i++] = new SelectItem(key, (String)names.get(key));
}
- renderSetNames[i] = new SelectItem("", "no selection");
+ renderSetNames[i] = new SelectItem("", "default");
return renderSetNames;
}
@@ -1041,7 +1075,7 @@
String key = (String)it.next();
strategyNames[i++] = new SelectItem(key, (String)names.get(key));
}
- strategyNames[i] = new SelectItem("", "no selection");
+ strategyNames[i] = new SelectItem("", "Default");
return strategyNames;
}
Modified: trunk/core-admin/src/main/org/jboss/portal/core/portlet/management/actions/AddPageAction.java
===================================================================
--- trunk/core-admin/src/main/org/jboss/portal/core/portlet/management/actions/AddPageAction.java 2007-02-26 20:35:51 UTC (rev 6409)
+++ trunk/core-admin/src/main/org/jboss/portal/core/portlet/management/actions/AddPageAction.java 2007-02-26 20:40:25 UTC (rev 6410)
@@ -36,6 +36,7 @@
import javax.faces.context.FacesContext;
import javax.faces.validator.ValidatorException;
import java.util.Collections;
+import java.util.Map;
import java.util.Set;
/**
Modified: trunk/core-admin/src/main/org/jboss/portal/core/portlet/management/actions/PortalAction.java
===================================================================
--- trunk/core-admin/src/main/org/jboss/portal/core/portlet/management/actions/PortalAction.java 2007-02-26 20:35:51 UTC (rev 6409)
+++ trunk/core-admin/src/main/org/jboss/portal/core/portlet/management/actions/PortalAction.java 2007-02-26 20:40:25 UTC (rev 6410)
@@ -42,6 +42,7 @@
import javax.faces.validator.ValidatorException;
import java.util.Collections;
import java.util.HashSet;
+import java.util.Map;
import java.util.Set;
/**
Modified: trunk/core-admin/src/main/org/jboss/portal/core/portlet/management/actions/ThemePropertyAction.java
===================================================================
--- trunk/core-admin/src/main/org/jboss/portal/core/portlet/management/actions/ThemePropertyAction.java 2007-02-26 20:35:51 UTC (rev 6409)
+++ trunk/core-admin/src/main/org/jboss/portal/core/portlet/management/actions/ThemePropertyAction.java 2007-02-26 20:40:25 UTC (rev 6410)
@@ -22,6 +22,9 @@
******************************************************************************/
package org.jboss.portal.core.portlet.management.actions;
+import javax.faces.application.FacesMessage;
+import javax.faces.context.FacesContext;
+
import org.jboss.portal.core.model.portal.PortalObject;
import org.jboss.portal.core.portlet.management.PortalObjectManagerBean;
import org.jboss.portal.theme.ThemeConstants;
@@ -145,10 +148,12 @@
this.portletRendererName = ("".equals(portletRendererName) ? null : portletRendererName);
}
- public void execute()
+ public String execute()
{
PortalObject po = pomgr.getSelectedObject();
+ boolean successful = true;
+
if (po.getType() == PortalObject.TYPE_PORTAL || po.getType() == PortalObject.TYPE_PAGE)
{
if (layoutName == null || !layoutName.equals(pomgr.getThemes().getLayoutName()))
@@ -173,7 +178,7 @@
{
// log.info("set strategy to '" + strategyName + "' for " + po.getName());
po.setDeclaredProperty(ThemeConstants.PORTAL_PROP_STRATEGY, strategyName);
- }
+ }
}
else if (po.getType() == PortalObject.TYPE_WINDOW)
{
@@ -195,7 +200,46 @@
}
else
{
-// log.error("attempt to set a theme property on an unknown node type: " + po);
+ String stringMessage = "Unknown object type, please file a Jira issue: http://jira.jboss.org";
+ FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_ERROR, stringMessage, stringMessage);
+ FacesContext.getCurrentInstance().addMessage("error", message);
+ successful = false;
}
+
+ if (po.getType() == PortalObject.TYPE_PORTAL)
+ {
+ if (successful)
+ {
+ String stringMessage = "Theme has been correctly updated on the portal named: " + po.getName();
+ FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_INFO, stringMessage, stringMessage);
+ FacesContext.getCurrentInstance().addMessage("status", message);
+ }
+ pomgr.setSelectedObject(po.getParent());
+ return "portals";
+ }
+ else if (po.getType() == PortalObject.TYPE_PAGE)
+ {
+ if (successful)
+ {
+ String stringMessage = "Theme has been correctly updated on the page named: " + po.getName();
+ FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_INFO, stringMessage, stringMessage);
+ FacesContext.getCurrentInstance().addMessage("status", message);
+ }
+ pomgr.setSelectedObject(po.getParent());
+ return "pages";
+ }
+ else if (po.getType() == PortalObject.TYPE_WINDOW)
+ {
+ if (successful)
+ {
+ String stringMessage = "Theme has been correctly updated on the window named: " + po.getName();
+ FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_INFO, stringMessage, stringMessage);
+ FacesContext.getCurrentInstance().addMessage("status", message);
+ }
+ pomgr.setSelectedObject(po.getParent());
+ return "windows";
+ }
+
+ return "";
}
}
Modified: trunk/core-admin/src/resources/portal-admin-sar/content/editor.xhtml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-sar/content/editor.xhtml 2007-02-26 20:35:51 UTC (rev 6409)
+++ trunk/core-admin/src/resources/portal-admin-sar/content/editor.xhtml 2007-02-26 20:40:25 UTC (rev 6410)
@@ -10,18 +10,19 @@
value="#{contentURI}">
<f:selectItems value="#{registry.editors.portlet.instanceItems}"/>
</h:selectOneListbox>
-
+ <br />
<pfc:context>
<ui:param name="instance" value="#{registry.editors.portlet.instanceMap[contentURI]}"/>
<ui:param name="portlet" value="#{instance.portlet}"/>
<h:panelGroup rendered="#{instance != null}">
<h:outputText value="#{instance.id}"/>
+ <br />
<h:panelGroup rendered="#{portlet != null}">
<h:outputText value="Portlet #{portlet.name} - #{portlet.description}"/>
</h:panelGroup>
</h:panelGroup>
</pfc:context>
+ <br />
+ <h:commandButton value="Show details" class="portlet-form-button"/>
- <h:commandButton value="Show details"/>
-
</div>
\ No newline at end of file
Modified: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/faces-config.xml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/faces-config.xml 2007-02-26 20:35:51 UTC (rev 6409)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/faces-config.xml 2007-02-26 20:40:25 UTC (rev 6410)
@@ -198,10 +198,54 @@
<navigation-rule>
<navigation-case>
- <from-outcome>portalobjects</from-outcome>
- <to-view-id>/WEB-INF/jsp/management/index.xhtml</to-view-id>
+ <from-outcome>portals</from-outcome>
+ <to-view-id>/WEB-INF/jsp/management/portals.xhtml</to-view-id>
</navigation-case>
<navigation-case>
+ <from-outcome>windows</from-outcome>
+ <to-view-id>/WEB-INF/jsp/management/windows.xhtml</to-view-id>
+ </navigation-case>
+ <navigation-case>
+ <from-outcome>pages</from-outcome>
+ <to-view-id>/WEB-INF/jsp/management/pages.xhtml</to-view-id>
+ </navigation-case>
+ <navigation-case>
+ <from-outcome>editPortalPreferences</from-outcome>
+ <to-view-id>/WEB-INF/jsp/management/editPortalPreferences.xhtml</to-view-id>
+ </navigation-case>
+ <navigation-case>
+ <from-outcome>editPortalSecurity</from-outcome>
+ <to-view-id>/WEB-INF/jsp/management/editPortalSecurity.xhtml</to-view-id>
+ </navigation-case>
+ <navigation-case>
+ <from-outcome>editPortalTheme</from-outcome>
+ <to-view-id>/WEB-INF/jsp/management/editPortalTheme.xhtml</to-view-id>
+ </navigation-case>
+ <navigation-case>
+ <from-outcome>editPagePreferences</from-outcome>
+ <to-view-id>/WEB-INF/jsp/management/editPagePreferences.xhtml</to-view-id>
+ </navigation-case>
+ <navigation-case>
+ <from-outcome>editPageSecurity</from-outcome>
+ <to-view-id>/WEB-INF/jsp/management/editPageSecurity.xhtml</to-view-id>
+ </navigation-case>
+ <navigation-case>
+ <from-outcome>editPageTheme</from-outcome>
+ <to-view-id>/WEB-INF/jsp/management/editPageTheme.xhtml</to-view-id>
+ </navigation-case>
+ <navigation-case>
+ <from-outcome>editWindowPreferences</from-outcome>
+ <to-view-id>/WEB-INF/jsp/management/editWindowPreferences.xhtml</to-view-id>
+ </navigation-case>
+ <navigation-case>
+ <from-outcome>editWindowSecurity</from-outcome>
+ <to-view-id>/WEB-INF/jsp/management/editWindowSecurity.xhtml</to-view-id>
+ </navigation-case>
+ <navigation-case>
+ <from-outcome>editWindowTheme</from-outcome>
+ <to-view-id>/WEB-INF/jsp/management/editWindowTheme.xhtml</to-view-id>
+ </navigation-case>
+ <navigation-case>
<from-outcome>instances</from-outcome>
<to-view-id>/WEB-INF/jsp/management/instances.xhtml</to-view-id>
</navigation-case>
Added: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/common/editSecurity.xhtml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/common/editSecurity.xhtml (rev 0)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/common/editSecurity.xhtml 2007-02-26 20:40:25 UTC (rev 6410)
@@ -0,0 +1,24 @@
+<div
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core">
+ <h:panelGroup>
+ <h:form>
+ <h:dataTable
+ var="role"
+ value="#{portalobjectmgr.auth.roles}">
+ <h:column>
+ <b><h:outputText value="#{role == '__unchecked__' ? 'Unchecked' : (portalobjectmgr.auth.roleDisplayNameMap[role] != null ? portalobjectmgr.auth.roleDisplayNameMap[role] : role)}"/></b>
+ </h:column>
+ <h:column>
+ <h:selectManyCheckbox id="cars"
+ value="#{portalobjectmgr.auth.forRole[role]}">
+ <f:selectItems value="#{portalobjectmgr.auth.availableActions}"/>
+ </h:selectManyCheckbox>
+ </h:column>
+ </h:dataTable>
+ <h:commandButton action="#{portalobjectmgr.modifySecurity}" value="Update" class="portlet-form-button"/>
+ </h:form>
+ </h:panelGroup>
+</div>
\ No newline at end of file
Added: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/common/editTheme.xhtml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/common/editTheme.xhtml (rev 0)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/common/editTheme.xhtml 2007-02-26 20:40:25 UTC (rev 6410)
@@ -0,0 +1,41 @@
+<div
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core">
+
+ <h:panelGroup styleClass="portlet-section-body"
+ id="themepg">
+ <h:form
+ id="themeform">
+ <table border="0" width="100%" cellpadding="2">
+ <tr>
+ <td class="portlet-form-field-label"><label class="portlet-form-field-label">Layout:</label></td>
+ <td>
+ <h:selectOneMenu styleClass="portlet-form-field" value="#{themePropertyAction.layoutName}">
+ <f:selectItems value="#{portalobjectmgr.themes.layoutNames}"/>
+ </h:selectOneMenu>
+ </td>
+ </tr>
+ <tr>
+ <td class="portlet-form-field-label"><label class="portlet-form-field-label">Theme:</label></td>
+ <td>
+ <h:selectOneMenu styleClass="portlet-form-field" value="#{themePropertyAction.themeName}">
+ <f:selectItems value="#{portalobjectmgr.themes.themeNames}"/>
+ </h:selectOneMenu>
+ </td>
+ </tr>
+ <tr>
+ <td class="portlet-form-field-label"><label class="portlet-form-field-label">RenderSet:</label></td>
+ <td>
+ <h:selectOneMenu styleClass="portlet-form-field" value="#{themePropertyAction.renderSetName}">
+ <f:selectItems value="#{portalobjectmgr.themes.renderSetNames}"/>
+ </h:selectOneMenu>
+ </td>
+ </tr>
+ </table>
+ <h:commandButton styleClass="portlet-form-button" id="the_command" value="Update"
+ action="#{themePropertyAction.execute}" />
+ </h:form>
+</h:panelGroup>
+</div>
\ No newline at end of file
Added: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/definitionsTemplate.xhtml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/definitionsTemplate.xhtml (rev 0)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/definitionsTemplate.xhtml 2007-02-26 20:40:25 UTC (rev 6410)
@@ -0,0 +1,30 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<div xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:ui="http://java.sun.com/jsf/facelets">
+
+<!-- h:form>
+<div id="navigation">
+ <ul id="tabsHeader">
+ <li id="current" onmouseover="this.className='hoverOn'" onmouseout="this.className='hoverOff'">
+ <h:commandLink value="Portal Objects" action="portals"/>
+ </li>
+ <li onmouseover="this.className='hoverOn'" onmouseout="this.className='hoverOff'">
+ <h:commandLink value="Porlet Instances" action="instances"/>
+ </li>
+ <li onmouseover="this.className='hoverOn'" onmouseout="this.className='hoverOff'">
+ <h:commandLink value="Portlet Definitions" action="portlets"/>
+ </li>
+ </ul>
+</div>
+</h:form-->
+<div>
+<h:form>
+<h:commandLink value="Portal Objects" action="portals"/> | <h:commandLink value="Porlet Instances" action="instances"/> | <b><h:commandLink value="Portlet Definitions" action="portlets"/></b>
+</h:form>
+</div>
+
+<br/>
+<ui:insert name="content">Content</ui:insert>
+
+</div>
Added: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/editPagePreferences.xhtml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/editPagePreferences.xhtml (rev 0)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/editPagePreferences.xhtml 2007-02-26 20:40:25 UTC (rev 6410)
@@ -0,0 +1,37 @@
+<div
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:t="http://myfaces.apache.org/tomahawk">
+
+<ui:composition template="/WEB-INF/jsp/management/objectTemplate.xhtml">
+
+ <ui:define name="content">
+
+ <h:form>
+ <h:commandLink action="pages">
+ <h:outputText value="Go back to pages" />
+ </h:commandLink>
+ </h:form>
+
+ <h3>You are editing the page: <h:outputText
+ value="#{portalobjectmgr.selectedObject.name}" /></h3>
+
+
+ <h:form>
+ <h:inputText id="name" value="#{addPageAction.pageName}"
+ validator="#{addPageAction.validatePageName}"
+ required="true"/>
+ <h:commandButton action="#{addPageAction.execute}" value="Add Portal sub-Page" class="portlet-form-button"/>
+ <h:message for="name" style="color: red"/>
+ </h:form>
+
+ </ui:define>
+
+</ui:composition>
+
+</div>
+
+
+
Added: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/editPageSecurity.xhtml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/editPageSecurity.xhtml (rev 0)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/editPageSecurity.xhtml 2007-02-26 20:40:25 UTC (rev 6410)
@@ -0,0 +1,25 @@
+<div
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core">
+
+<ui:composition template="/WEB-INF/jsp/management/objectTemplate.xhtml">
+
+ <ui:define name="content">
+
+ <h:form>
+ <h:commandLink action="pages">
+ <h:outputText value="Go back to pages"/>
+ </h:commandLink>
+ </h:form>
+
+ <h3>Please set the permissions for the page: <h:outputText value="#{portalobjectmgr.selectedObject.name}"/></h3>
+
+ <ui:include src="/WEB-INF/jsp/management/common/editSecurity.xhtml"/>
+
+ </ui:define>
+
+</ui:composition>
+
+</div>
Added: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/editPageTheme.xhtml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/editPageTheme.xhtml (rev 0)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/editPageTheme.xhtml 2007-02-26 20:40:25 UTC (rev 6410)
@@ -0,0 +1,26 @@
+<div
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core">
+
+<ui:composition template="/WEB-INF/jsp/management/objectTemplate.xhtml">
+
+ <ui:define name="content">
+
+ <h:form>
+ <h:commandLink action="pages" actionListener="#{portalobjectmgr.selectParentObject}">
+ <h:outputText value="Go back to pages"/>
+ </h:commandLink>
+ </h:form>
+
+ <h3>Please set the display options for the page: <h:outputText value="#{portalobjectmgr.selectedObject.name}"/></h3>
+ <br/>
+ <ui:include src="/WEB-INF/jsp/management/common/editTheme.xhtml"/>
+
+ </ui:define>
+
+</ui:composition>
+
+</div>
+
Property changes on: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/editPageTheme.xhtml
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/editPortalPreferences.xhtml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/editPortalPreferences.xhtml (rev 0)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/editPortalPreferences.xhtml 2007-02-26 20:40:25 UTC (rev 6410)
@@ -0,0 +1,38 @@
+<div xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:t="http://myfaces.apache.org/tomahawk">
+
+ <ui:composition
+ template="/WEB-INF/jsp/management/objectTemplate.xhtml">
+
+ <ui:define name="content">
+
+ <h:form>
+ <h:commandLink action="portals" actionListener="#{portalobjectmgr.selectParentObject}">
+ <h:outputText value="Go back to portals" />
+ </h:commandLink>
+ </h:form>
+
+ <h3>You are editing the portal: <h:outputText
+ value="#{portalobjectmgr.selectedObject.name}" /></h3>
+
+ <h:form>
+ <h:outputLabel for="name">
+ <h:outputText value="Default Page: " />
+ </h:outputLabel>
+ <h:selectOneMenu value="#{portalAction.defaultPageName}">
+ <f:selectItems value="#{portalobjectmgr.portalPageItems}" />
+ </h:selectOneMenu>
+ <h:commandButton class="portlet-form-button" value="Update" action="portals" actionListener="#{portalobjectmgr.selectParentObject}"/>
+ </h:form>
+
+
+ </ui:define>
+
+ </ui:composition>
+</div>
+
+
+
Added: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/editPortalSecurity.xhtml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/editPortalSecurity.xhtml (rev 0)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/editPortalSecurity.xhtml 2007-02-26 20:40:25 UTC (rev 6410)
@@ -0,0 +1,25 @@
+<div
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core">
+
+<ui:composition template="/WEB-INF/jsp/management/objectTemplate.xhtml">
+
+ <ui:define name="content">
+
+ <h:form>
+ <h:commandLink action="portals">
+ <h:outputText value="Go back to portals"/>
+ </h:commandLink>
+ </h:form>
+
+ <h3>Please set the permissions for the portal: <h:outputText value="#{portalobjectmgr.selectedObject.name}"/></h3>
+
+ <ui:include src="/WEB-INF/jsp/management/common/editSecurity.xhtml"/>
+
+ </ui:define>
+
+</ui:composition>
+
+</div>
Added: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/editPortalTheme.xhtml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/editPortalTheme.xhtml (rev 0)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/editPortalTheme.xhtml 2007-02-26 20:40:25 UTC (rev 6410)
@@ -0,0 +1,28 @@
+<div
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core">
+
+<ui:composition template="/WEB-INF/jsp/management/objectTemplate.xhtml">
+
+ <ui:define name="content">
+
+ <h:form>
+ <h:commandLink action="portals">
+ <h:outputText value="Go back to portals"/>
+ </h:commandLink>
+ </h:form>
+
+
+ <h3>Please set the display options for the portal: <h:outputText value="#{portalobjectmgr.selectedObject.name}"/></h3>
+ <p>The settings defined here will be applied to the whole portal including all the pages and windows unless they have been assigned with different settings</p>
+ <br/>
+ <ui:include src="/WEB-INF/jsp/management/common/editTheme.xhtml"/>
+
+ </ui:define>
+
+</ui:composition>
+
+</div>
+
Property changes on: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/editPortalTheme.xhtml
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/editWindowPreferences.xhtml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/editWindowPreferences.xhtml (rev 0)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/editWindowPreferences.xhtml 2007-02-26 20:40:25 UTC (rev 6410)
@@ -0,0 +1,32 @@
+<div
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:t="http://myfaces.apache.org/tomahawk">
+
+<ui:composition template="/WEB-INF/jsp/management/objectTemplate.xhtml">
+
+ <ui:define name="content">
+
+ <h:form>
+ <h:commandLink action="windows" actionListener="#{portalobjectmgr.selectParentObject}">
+ <h:outputText value="Go back to windows"/>
+ </h:commandLink>
+ </h:form>
+
+
+ <h3>You are editing the window: <h:outputText
+ value="#{portalobjectmgr.selectedObject.name}" /></h3>
+
+
+ <ui:include src="/WEB-INF/jsp/management/plugins/manager.xhtml"/>
+
+ </ui:define>
+
+</ui:composition>
+
+</div>
+
+
+
Added: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/editWindowSecurity.xhtml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/editWindowSecurity.xhtml (rev 0)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/editWindowSecurity.xhtml 2007-02-26 20:40:25 UTC (rev 6410)
@@ -0,0 +1,25 @@
+<div
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core">
+
+<ui:composition template="/WEB-INF/jsp/management/objectTemplate.xhtml">
+
+ <ui:define name="content">
+
+ <h:form>
+ <h:commandLink action="windows" actionListener="#{portalobjectmgr.selectParentObject}">
+ <h:outputText value="Go back to windows"/>
+ </h:commandLink>
+ </h:form>
+
+ <h3>Please set the permissions for the window: <h:outputText value="#{portalobjectmgr.selectedObject.name}"/></h3>
+
+ <ui:include src="/WEB-INF/jsp/management/common/editSecurity.xhtml"/>
+
+ </ui:define>
+
+</ui:composition>
+
+</div>
Added: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/editWindowTheme.xhtml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/editWindowTheme.xhtml (rev 0)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/editWindowTheme.xhtml 2007-02-26 20:40:25 UTC (rev 6410)
@@ -0,0 +1,26 @@
+<div
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core">
+
+<ui:composition template="/WEB-INF/jsp/management/objectTemplate.xhtml">
+
+ <ui:define name="content">
+
+ <h:form>
+ <h:commandLink action="windows" actionListener="#{portalobjectmgr.selectParentObject}">
+ <h:outputText value="Go back to windows"/>
+ </h:commandLink>
+ </h:form>
+
+ <h3>Please set the display options for the window: <h:outputText value="#{portalobjectmgr.selectedObject.name}"/></h3>
+ <br/>
+ <ui:include src="/WEB-INF/jsp/management/common/editTheme.xhtml"/>
+
+ </ui:define>
+
+</ui:composition>
+
+</div>
+
Property changes on: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/editWindowTheme.xhtml
___________________________________________________________________
Name: svn:executable
+ *
Deleted: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/index.xhtml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/index.xhtml 2007-02-26 20:35:51 UTC (rev 6409)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/index.xhtml 2007-02-26 20:40:25 UTC (rev 6410)
@@ -1,219 +0,0 @@
-<div
- xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:t="http://myfaces.apache.org/tomahawk">
-<ui:include src="/WEB-INF/jsp/management/nav.xhtml"/>
-
-<h:panelGrid
- id="thepanel"
- columns="3"
- cellspacing="2"
- cellpadding="2"
- rowClasses="vertTop"
- columnClasses=",,content">
-
-<h:panelGroup id="pg1">
- <h:form id="foo">
- <t:tree2
- id="serverTree"
- value="#{portalobjectmgr.treeData}"
- var="node"
- varNodeToggler="t"
- org.apache.myfaces.tree2.CLIENT_SIDE_TOGGLE="#{false}">
- <f:facet name="context">
- <h:panelGroup>
- <h:commandLink
- action="#{portalobjectmgr.selectObject}" title="Context">
- <t:graphicImage
- value="/images/management/tree/context.png"
- style="vertical-align:middle;border-width:0;"/>
- <f:param
- name="id"
- value="#{node.identifier}"/>
- </h:commandLink>
- <h:outputText> </h:outputText>
- <h:commandLink
- action="#{portalobjectmgr.selectObject}" title="Context">
- <h:outputText
- value="#{node.description}"/>
- <f:param
- name="id"
- value="#{node.identifier}"/>
- </h:commandLink>
- <h:outputText
- value=" (#{node.childCount})"
- styleClass="childCount"
- rendered="#{!empty node.children}"/>
- </h:panelGroup>
- </f:facet>
- <f:facet name="portal">
- <h:panelGroup>
- <h:commandLink
- action="#{portalobjectmgr.selectObject}" title="Portal">
- <t:graphicImage
- value="/images/management/tree/portal.png"
- style="vertical-align:middle;border-width:0;"/>
- <f:param
- name="id"
- value="#{node.identifier}"/>
- </h:commandLink>
- <h:outputText> </h:outputText>
- <h:commandLink
- action="#{portalobjectmgr.selectObject}" title="Portal">
- <h:outputText
- value="#{node.description}"/>
- <f:param
- name="id"
- value="#{node.identifier}"/>
- </h:commandLink>
- <h:outputText
- value=" (#{node.childCount})"
- styleClass="childCount"
- rendered="#{!empty node.children}"/>
- </h:panelGroup>
- </f:facet>
- <f:facet name="page">
- <h:panelGroup>
- <h:commandLink
- action="#{portalobjectmgr.selectObject}" title="Page">
- <t:graphicImage
- value="/images/management/tree/page.png"
- style="vertical-align:middle;border-width:0;"/>
- <f:param
- name="id"
- value="#{node.identifier}"/>
- </h:commandLink>
- <h:outputText> </h:outputText>
- <h:commandLink
- action="#{portalobjectmgr.selectObject}" title="Page">
- <h:outputText
- value="#{node.description}"/>
- <f:param
- name="id"
- value="#{node.identifier}"/>
- </h:commandLink>
- <h:outputText
- value=" (#{node.childCount})"
- styleClass="childCount"
- rendered="#{!empty node.children}"/>
- </h:panelGroup>
- </f:facet>
- <f:facet name="window">
- <h:panelGroup>
- <h:commandLink
- action="#{portalobjectmgr.selectObject}" title="Window">
- <t:graphicImage
- value="/images/management/tree/window.png"
- style="vertical-align:middle;border-width:0;"/>
- <f:param
- name="id"
- value="#{node.identifier}"/>
- </h:commandLink>
- <h:outputText> </h:outputText>
- <h:commandLink
- action="#{portalobjectmgr.selectObject}" title="Window">
- <h:outputText
- value="#{node.description}"/>
- <f:param
- name="id"
- value="#{node.identifier}"/>
- </h:commandLink>
- </h:panelGroup>
- </f:facet>
- </t:tree2>
- </h:form>
-</h:panelGroup>
-<h:panelGroup id="splitter">
-</h:panelGroup>
-<h:panelGroup
- id="pg2">
- <div align="center">
- <h:form id="plugin_display">
- <h:panelGrid
- columns="4"
- border="0"
- cellspacing="2"
- cellpadding="2"
- rowClasses="vertTop">
- <h:commandLink
- action="#{portalobjectmgr.selectPlugin}"
- style="#{portalobjectmgr.selectedPlugin == 'manager' ? 'font-weight:bold' : ''}">
- <h:graphicImage value="/images/management/manage.png" style="vertical-align:middle;border-width:0"/>
- <h:outputText> </h:outputText>
- <h:outputText
- value="Manager"/>
- <f:param
- name="plugin"
- value="manager"/>
- <h:outputText>   </h:outputText>
- </h:commandLink>
- <h:commandLink
- action="#{portalobjectmgr.selectPlugin}"
- style="#{portalobjectmgr.selectedPlugin == 'properties' ? 'font-weight:bold' : ''}">
- <h:graphicImage value="/images/management/properties.png" style="vertical-align:middle;border-width:0"/>
- <h:outputText> </h:outputText>
- <h:outputText
- value="Properties"/>
- <f:param
- name="plugin"
- value="properties"/>
- <h:outputText>   </h:outputText>
- </h:commandLink>
- <h:commandLink
- action="#{portalobjectmgr.selectPlugin}"
- style="#{portalobjectmgr.selectedPlugin == 'security' ? 'font-weight:bold' : ''}">
- <h:graphicImage value="/images/management/security.png" style="vertical-align:middle;border-width:0"/>
- <h:outputText> </h:outputText>
- <h:outputText
- value="Security"/>
- <f:param
- name="plugin"
- value="security"/>
- <h:outputText>   </h:outputText>
- </h:commandLink>
- <h:commandLink
- action="#{portalobjectmgr.selectPlugin}"
- style="#{portalobjectmgr.selectedPlugin == 'theme' ? 'font-weight:bold' : ''}">
- <h:graphicImage value="/images/management/theme.png" style="vertical-align:middle;border-width:0"/>
- <h:outputText> </h:outputText>
- <h:outputText value="Theme"/>
- <f:param name="plugin" value="theme"/>
- </h:commandLink>
- </h:panelGrid>
- </h:form>
- </div>
- <!--<h:form id="plugin_nav">-->
- <h:panelGroup
- rendered="#{portalobjectmgr.selectedObject != null}"
- id="pg3">
- <h:panelGroup
- id="theone"
- rendered="#{portalobjectmgr.selectedPlugin == 'security'}">
- <ui:include id="theone_one" src="/WEB-INF/jsp/management/plugins/security.xhtml">
- <ui:param id="theone_two" name="auth" value="#{portalobjectmgr.auth}"/>
- </ui:include>
- </h:panelGroup>
- <h:panelGroup
- id="thetwo"
- rendered="#{portalobjectmgr.selectedPlugin == 'theme'}">
- <ui:include id="thetwo_one" src="/WEB-INF/jsp/management/plugins/theme.xhtml">
- <ui:param id="thetwo_two" name="themes" value="#{portalobjectmgr.themes}"/>
- </ui:include>
- </h:panelGroup>
- <h:panelGroup
- id="thethree"
- rendered="#{portalobjectmgr.selectedPlugin == 'manager'}">
- <ui:include id="thethree_one" src="/WEB-INF/jsp/management/plugins/manager.xhtml"/>
- </h:panelGroup>
- <h:panelGroup
- id="thefour"
- rendered="#{portalobjectmgr.selectedPlugin == 'properties'}">
- <ui:include id="thefour_one" src="/WEB-INF/jsp/management/plugins/properties.xhtml"/>
- </h:panelGroup>
- </h:panelGroup>
- <!--</h:form>-->
-</h:panelGroup>
-</h:panelGrid>
-</div>
Modified: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/instances.xhtml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/instances.xhtml 2007-02-26 20:35:51 UTC (rev 6409)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/instances.xhtml 2007-02-26 20:40:25 UTC (rev 6410)
@@ -1,11 +1,14 @@
<div
- xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:t="http://myfaces.apache.org/tomahawk">
-<ui:include src="/WEB-INF/jsp/management/nav.xhtml"/>
-<br/><br/>
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:t="http://myfaces.apache.org/tomahawk">
+
+<ui:composition template="/WEB-INF/jsp/management/instancesTemplate.xhtml">
+
+ <ui:define name="content">
+
<h:panelGrid
id="thepanel"
columns="3"
@@ -144,4 +147,6 @@
</h:panelGroup>
</h:panelGroup>
</h:panelGrid>
+</ui:define>
+</ui:composition>
</div>
Added: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/instancesTemplate.xhtml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/instancesTemplate.xhtml (rev 0)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/instancesTemplate.xhtml 2007-02-26 20:40:25 UTC (rev 6410)
@@ -0,0 +1,30 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<div xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:ui="http://java.sun.com/jsf/facelets">
+
+<!-- h:form>
+<div id="navigation">
+ <ul id="tabsHeader">
+ <li id="current" onmouseover="this.className='hoverOn'" onmouseout="this.className='hoverOff'">
+ <h:commandLink value="Portal Objects" action="portals"/>
+ </li>
+ <li onmouseover="this.className='hoverOn'" onmouseout="this.className='hoverOff'">
+ <h:commandLink value="Porlet Instances" action="instances"/>
+ </li>
+ <li onmouseover="this.className='hoverOn'" onmouseout="this.className='hoverOff'">
+ <h:commandLink value="Portlet Definitions" action="portlets"/>
+ </li>
+ </ul>
+</div>
+</h:form-->
+<div>
+<h:form>
+<h:commandLink value="Portal Objects" action="portals"/> | <b><h:commandLink value="Porlet Instances" action="instances"/></b> | <h:commandLink value="Portlet Definitions" action="portlets"/>
+</h:form>
+</div>
+
+<br/>
+<ui:insert name="content">Content</ui:insert>
+
+</div>
Deleted: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/nav.xhtml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/nav.xhtml 2007-02-26 20:35:51 UTC (rev 6409)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/nav.xhtml 2007-02-26 20:40:25 UTC (rev 6410)
@@ -1,66 +0,0 @@
-<div
- xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:t="http://myfaces.apache.org/tomahawk">
- <script language="javascript">
- /* <![CDATA[ */
- <!--
- var state = 'hidden';
- var display = 'none';
- function showhide(layer_ref)
- {
- if (state == 'visible')
- {
- state = 'hidden';
- display = 'none';
- }
- else
- {
- state = 'visible';
- display = 'block';
- }
- if (document.all)
- { //IS IE 4, 5, or 6)
- eval("document.all." + layer_ref + ".style.visibility = state");
- eval("document.all." + layer_ref + ".style.display = display");
- }
- if (document.layers)
- { //IS NETSCAPE 4 or below
- document.layers[layer_ref].visibility = state;
- document.layers[layer_ref].display = display;
- }
- if (document.getElementById && !document.all)
- { // FF
- motobecane = document.getElementById(layer_ref);
- motobecane.style.visibility = state;
- motobecane.style.display = display;
- }
- }
- //-->
- /* ]]> */
- </script>
- <br/>
- <h:form id="nav">
- <h:outputText>Manage:</h:outputText>
- <h:outputText>   </h:outputText>
- <h:panelGroup id="pgnav1">
- <h:graphicImage value="/images/management/portal.gif" style="vertical-align:middle;"/>
- <h:outputText> </h:outputText>
- <h:commandLink value="Portal" action="portalobjects"/>
- </h:panelGroup>
- <h:outputText>   </h:outputText>
- <h:panelGroup id="pgnav2">
- <h:graphicImage value="/images/management/instance.gif" style="vertical-align:middle;"/>
- <h:outputText> </h:outputText>
- <h:commandLink value="Instances" action="instances"/>
- </h:panelGroup>
- <h:outputText>   </h:outputText>
- <h:panelGroup id="pgnav3">
- <h:graphicImage value="/images/management/portlet.gif" style="vertical-align:middle;"/>
- <h:outputText> </h:outputText>
- <h:commandLink value="Portlets" action="portlets"/>
- </h:panelGroup>
- </h:form>
-</div>
Added: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/objectTemplate.xhtml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/objectTemplate.xhtml (rev 0)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/objectTemplate.xhtml 2007-02-26 20:40:25 UTC (rev 6410)
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<div xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:ui="http://java.sun.com/jsf/facelets">
+
+<!-- h:form>
+<div id="navigation">
+ <ul id="tabsHeader">
+ <li id="current" onmouseover="this.className='hoverOn'" onmouseout="this.className='hoverOff'">
+ <h:commandLink value="Portal Objects" action="portals"/>
+ </li>
+ <li onmouseover="this.className='hoverOn'" onmouseout="this.className='hoverOff'">
+ <h:commandLink value="Porlet Instances" action="instances"/>
+ </li>
+ <li onmouseover="this.className='hoverOn'" onmouseout="this.className='hoverOff'">
+ <h:commandLink value="Portlet Definitions" action="portlets"/>
+ </li>
+ </ul>
+</div>
+</h:form-->
+<div>
+<h:form>
+<b><h:commandLink value="Portal Objects" action="portals"/></b> | <h:commandLink value="Porlet Instances" action="instances"/> | <h:commandLink value="Portlet Definitions" action="portlets"/>
+</h:form>
+</div>
+<hr />
+
+<br/>
+<ui:insert name="content">Content</ui:insert>
+
+</div>
Added: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/pageNavigation.xhtml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/pageNavigation.xhtml (rev 0)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/pageNavigation.xhtml 2007-02-26 20:40:25 UTC (rev 6410)
@@ -0,0 +1,60 @@
+<div
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core">
+
+
+ <h:form>
+ <h:commandLink action="#{portalobjectmgr.goBack}">
+ <h:outputText value="Go back"/>
+ </h:commandLink>
+ </h:form>
+
+ <h:form>
+ <h:dataTable value="#{portalobjectmgr.pageNodes}" var="page" style="border-spacing: 20px 7px">
+ <h:column>
+ <f:facet name="header"><h:outputText value="Portal Page"/></f:facet>
+ <h:commandLink action="pages" actionListener="#{portalobjectmgr.selectObject}">
+ <h:outputText value="#{page.name}"/>
+ <f:param name="id" value="#{page.id}"/>
+ </h:commandLink>
+ </h:column>
+ <h:column>
+ <f:facet name="header"><h:outputText value="Actions"/></f:facet>
+ <h:commandLink action="windows" actionListener="#{portalobjectmgr.selectObject}">
+ <h:graphicImage value="/images/management/window.png" style="vertical-align:middle;border-width:0"/>
+ <h:outputText value="Edit windows"/>
+ <f:param name="id" value="#{page.id}"/>
+ </h:commandLink>
+ <br/>
+ <h:commandLink action="editPageSecurity" actionListener="#{portalobjectmgr.selectObject}">
+ <h:graphicImage value="/images/management/security.png" style="vertical-align:middle;border-width:0"/>
+ <h:outputText value="Edit page security access"/>
+ <f:param name="id" value="#{page.id}"/>
+ </h:commandLink>
+ </h:column>
+ <h:column>
+ <h:commandLink action="editPageTheme" actionListener="#{portalobjectmgr.selectObject}">
+ <h:graphicImage value="/images/management/theme.png" style="vertical-align:middle;border-width:0"/>
+ <h:outputText value="Edit page theme"/>
+ <f:param name="id" value="#{page.id}"/>
+ </h:commandLink>
+ <br/>
+ <h:commandLink action="pages" actionListener="#{portalobjectmgr.destroyObject}">
+ <h:graphicImage value="/images/management/delete.png" style="vertical-align:middle;border-width:0"/>
+ <h:outputText value="Destroy page"/>
+ <f:param name="id" value="#{page.id}"/>
+ </h:commandLink>
+ </h:column>
+ </h:dataTable>
+ </h:form>
+
+ <h:form id="portal_form">
+ <h:inputText id="name" value="#{addPageAction.pageName}"
+ validator="#{addPageAction.validatePageName}"
+ required="true"/>
+ <h:commandButton action="#{addPageAction.execute}" value="Add portal page" class="portlet-form-button"/>
+ <h:message for="name" style="color: red"/>
+ </h:form>
+
+</div>
Added: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/pages.xhtml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/pages.xhtml (rev 0)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/pages.xhtml 2007-02-26 20:40:25 UTC (rev 6410)
@@ -0,0 +1,25 @@
+<div
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:t="http://myfaces.apache.org/tomahawk">
+
+<ui:composition template="/WEB-INF/jsp/management/objectTemplate.xhtml">
+
+ <ui:define name="content">
+
+ <h3>You are editing the pages of: <h:outputText value="#{portalobjectmgr.selectedObject.name}"/></h3>
+
+ <h:message id="status" for="status"/>
+
+ <ui:include src="/WEB-INF/jsp/management/pageNavigation.xhtml"/>
+
+ </ui:define>
+
+</ui:composition>
+
+</div>
+
+
+
Modified: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/plugins/manager.xhtml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/plugins/manager.xhtml 2007-02-26 20:35:51 UTC (rev 6409)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/plugins/manager.xhtml 2007-02-26 20:40:25 UTC (rev 6410)
@@ -1,11 +1,12 @@
<div
xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
xmlns:t="http://myfaces.apache.org/tomahawk"
xmlns:ct="http://www.julien.com">
<br/>
+
<!-- Context tab -->
<h:panelGroup
id="a"
@@ -38,11 +39,11 @@
<h:outputLabel for="name">
<h:outputText value="Defaut Page Name: " style="font-weight:bold;"/>
</h:outputLabel>
- <h:selectOneMenu value="#{portalAction.defaultPageName}">
+ <h:selectOneMenu id="name" value="#{portalAction.defaultPageName}">
<f:selectItems value="#{portalobjectmgr.portalPageItems}"/>
</h:selectOneMenu>
<br/>
- <h:commandButton value="Update"/>
+ <h:commandButton value="Update" class="portlet-form-button"/>
<br/>
</h:form>
<h:form id="portal_form_2">
@@ -54,7 +55,7 @@
required="true"/>
<h:messages style="color: red"/>
<br/>
- <h:commandButton action="#{addPageAction.execute}" value="Add page"/>
+ <h:commandButton action="#{addPageAction.execute}" value="Add page" class="portlet-form-button"/>
</h:form>
</h:panelGroup>
@@ -62,16 +63,15 @@
<h:panelGroup
id="c"
rendered="#{portalobjectmgr.selectedObject.type==2}">
- <h:outputText style="font-weight:bold;" value="Name: "/>
- <h:outputText value="#{portalobjectmgr.selectedObject.name}"/>
- <f:verbatim><br/><br/></f:verbatim>
- <h:outputText style="font-weight:bold;" value="Type: "/>
- <f:verbatim>PAGE<br/></f:verbatim>
+
+ <h2>Add a new window</h2>
+
<h:form id="page_form_2">
<t:dataTable
id="data"
var="row"
- value="#{portalobjectmgr.rows}">
+ value="#{portalobjectmgr.rows}"
+ border="1">
<t:columns value="#{portalobjectmgr.cols}" var="col">
<f:facet name="header">
<h:outputText value="#{col}"/>
@@ -101,84 +101,57 @@
</h:form>
<h:form id="page_form_3">
+ <h:message for="windowName" style="color: red"/>
+ <br />
+ <h:panelGroup>
+ <h:outputLabel for="windowName">
+ <h:outputText value="New Window Name: " style="font-weight:bold;"/>
+ </h:outputLabel>
+ <h:inputText id="windowName" value="#{addWindowAction.windowName}"
+ validator="#{addWindowAction.validateWindowName}"
+ required="true"/>
+ </h:panelGroup>
+ <br />
+ <h:selectOneMenu
+ value="#{portalobjectmgr.selectedContentType}">
+ <f:selectItems value="#{registry.availableTypes}"/>
+ </h:selectOneMenu>
+ <h:commandButton
+ value="Change content type" class="portlet-form-button"/>
+ <ct:content
+ contentType="#{portalobjectmgr.selectedContentType}"
+ contentURI="#{portalobjectmgr.selectedContentURI}"/>
+ <br/>
<t:dataTable
id="data"
var="row"
value="#{portalobjectmgr.rows}">
<t:columns value="#{portalobjectmgr.cols}" var="col">
<f:facet name="footer">
- <h:commandButton value="Add #{col}" action="#{addWindowAction.execute}"/>
+ <h:commandButton value="Add #{col}" action="#{addWindowAction.execute}" class="portlet-form-button"/>
</f:facet>
</t:columns>
</t:dataTable>
- <h:selectOneMenu
- value="#{portalobjectmgr.selectedContentType}">
- <f:selectItems value="#{registry.availableTypes}"/>
- </h:selectOneMenu>
- <h:commandButton
- value="Change content type"/>
- <ct:content
- contentType="#{portalobjectmgr.selectedContentType}"
- contentURI="#{portalobjectmgr.selectedContentURI}"/>
- <br/>
-
- <h:messages style="color: red"/>
- <h:panelGroup>
- <h:inputText value="#{addWindowAction.windowName}"
- validator="#{addWindowAction.validateWindowName}"
- required="true"/>
- </h:panelGroup>
-
</h:form>
-
- <h:form id="page_form_4">
- <h:outputLabel for="name">
- <h:outputText value="Page Name: " style="font-weight:bold;"/>
- </h:outputLabel>
- <h:inputText id="name" value="#{addPageAction.pageName}"
- validator="#{addPageAction.validatePageName}"
- required="true"/>
- <h:messages style="color: red"/>
- <br/>
- <h:commandButton action="#{addPageAction.execute}" value="Add page"/>
- </h:form>
+
<h:outputLink value="#{portalobjectmgr.previewURL}" title="Preview link" target="_blank">Preview link</h:outputLink>
+
+
</h:panelGroup>
<!-- Window tab -->
<h:panelGroup
id="d"
rendered="#{portalobjectmgr.selectedObject.type==3}">
- <h:outputText style="font-weight:bold;" value="Name: "/>
- <h:outputText value="#{portalobjectmgr.selectedObject.name}"/>
- <f:verbatim><br/><br/></f:verbatim>
- <h:outputText style="font-weight:bold;" value="Type: "/>
- <f:verbatim>Window<br/></f:verbatim>
-
<h:form id="window_form">
<ct:content
contentType="#{portalobjectmgr.selectedObject.type==3 ? portalobjectmgr.selectedObject.contentType : null}"
contentURI="#{portalobjectmgr.selectedObject.instanceRef}"/>
<br/>
- <h:commandButton value="Change instance"/>
+ <h:commandButton value="Change instance" class="portlet-form-button"/>
</h:form>
- <h:outputLink value="#{portalobjectmgr.previewURL}" title="Preview link" target="_blank">Preview link</h:outputLink>
</h:panelGroup>
-<br/>
-<h:panelGroup
- id="e"
- rendered="#{portalobjectmgr.selectedObject != null}">
- <h:form>
- <h:commandLink
- action="#{portalobjectmgr.destroyObject}">
- <h:graphicImage value="/images/management/delete.png" style="vertical-align:middle;border-width:0"/>
- <h:outputText> </h:outputText>
- <h:outputText value="Destroy"/>
- <f:param name="id" value="#{portalobjectmgr.selectedObject.id}"/>
- </h:commandLink>
- </h:form>
-</h:panelGroup>
</div>
Added: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/portalNavigation.xhtml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/portalNavigation.xhtml (rev 0)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/portalNavigation.xhtml 2007-02-26 20:40:25 UTC (rev 6410)
@@ -0,0 +1,54 @@
+<div
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core">
+
+ <h:form>
+
+ <h:dataTable value="#{portalobjectmgr.portalNodes}" var="portal" style="border-spacing: 20px 7px">
+ <h:column>
+ <f:facet name="header"><h:outputText value="Portal Name"/></f:facet>
+ <h:commandLink action="pages" actionListener="#{portalobjectmgr.selectObject}">
+ <h:outputText value="#{portal.name}"/>
+ <f:param name="id" value="#{portal.id}"/>
+ </h:commandLink>
+ </h:column>
+ <h:column>
+ <f:facet name="header"><h:outputText value="Actions"/></f:facet>
+ <h:commandLink action="editPortalPreferences" actionListener="#{portalobjectmgr.selectObject}">
+ <h:graphicImage value="/images/management/manage.png" style="vertical-align:middle;border-width:0"/>
+ <h:outputText value="Edit portal parameters"/>
+ <f:param name="id" value="#{portal.id}"/>
+ </h:commandLink>
+ <br/>
+ <h:commandLink action="editPortalSecurity" actionListener="#{portalobjectmgr.selectObject}">
+ <h:graphicImage value="/images/management/security.png" style="vertical-align:middle;border-width:0"/>
+ <h:outputText value="Edit portal security access"/>
+ <f:param name="id" value="#{portal.id}"/>
+ </h:commandLink>
+ </h:column>
+ <h:column>
+ <h:commandLink action="editPortalTheme" actionListener="#{portalobjectmgr.selectObject}">
+ <h:graphicImage value="/images/management/theme.png" style="vertical-align:middle;border-width:0"/>
+ <h:outputText value="Edit portal theme"/>
+ <f:param name="id" value="#{portal.id}"/>
+ </h:commandLink>
+ <br/>
+ <h:commandLink action="portals" actionListener="#{portalobjectmgr.destroyObject}">
+ <h:graphicImage value="/images/management/delete.png" style="vertical-align:middle;border-width:0"/>
+ <h:outputText value="Destroy portal"/>
+ <f:param name="id" value="#{portal.id}"/>
+ </h:commandLink>
+ </h:column>
+ </h:dataTable>
+ </h:form>
+
+ <h:form id="portal_form">
+ <h:inputText id="name" value="#{portalAction.portalName}"
+ validator="#{portalAction.validatePortalName}"
+ required="true"/>
+ <h:commandButton action="#{portalAction.addPortal}" value="Add portal" class="portlet-form-button"/>
+ <h:message for="name" style="color: red"/>
+ </h:form>
+
+</div>
Added: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/portals.xhtml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/portals.xhtml (rev 0)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/portals.xhtml 2007-02-26 20:40:25 UTC (rev 6410)
@@ -0,0 +1,23 @@
+<div
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:t="http://myfaces.apache.org/tomahawk">
+
+<ui:composition template="/WEB-INF/jsp/management/objectTemplate.xhtml">
+
+ <ui:define name="content">
+
+ <h:message id="status" for="status"/>
+
+ <ui:include src="/WEB-INF/jsp/management/portalNavigation.xhtml"/>
+
+ </ui:define>
+
+</ui:composition>
+
+</div>
+
+
+
Modified: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/portlets.xhtml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/portlets.xhtml 2007-02-26 20:35:51 UTC (rev 6409)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/portlets.xhtml 2007-02-26 20:40:25 UTC (rev 6410)
@@ -1,11 +1,14 @@
<div
- xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:t="http://myfaces.apache.org/tomahawk">
-<ui:include src="/WEB-INF/jsp/management/nav.xhtml"/>
-<br/><br/>
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:t="http://myfaces.apache.org/tomahawk">
+
+<ui:composition template="/WEB-INF/jsp/management/definitionsTemplate.xhtml">
+
+ <ui:define name="content">
+
<h:panelGrid
id="federateddropdown">
<h:form>
@@ -175,4 +178,6 @@
</h:panelGroup>
</h:panelGroup>
</h:panelGrid>
+</ui:define>
+</ui:composition>
</div>
Added: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/tabTemplate.xhtml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/tabTemplate.xhtml (rev 0)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/tabTemplate.xhtml 2007-02-26 20:40:25 UTC (rev 6410)
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<div xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:ui="http://java.sun.com/jsf/facelets">
+
+<h:form>
+<div id="navigation">
+ <ul id="tabsHeader">
+ <li id="current" onmouseover="this.className='hoverOn'" onmouseout="this.className='hoverOff'">
+ <h:commandLink value="Portal Objects" action="portalobjects"/>
+ </li>
+ <li onmouseover="this.className='hoverOn'" onmouseout="this.className='hoverOff'">
+ <h:commandLink value="Porlet Instances" action="instances"/>
+ </li>
+ <li onmouseover="this.className='hoverOn'" onmouseout="this.className='hoverOff'">
+ <h:commandLink value="Portlet Definitions" action="portlets"/>
+ </li>
+ </ul>
+</div>
+
+<div>
+<h:commandLink value="Portal Objects" action="portals"/> | <h:commandLink value="Porlet Instances" action="instances"/> | <h:commandLink value="Portlet Definitions" action="portlets"/>
+</div>
+
+</h:form>
+
+<ui:insert name="content">Content</ui:insert>
+
+</div>
Deleted: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/template.xhtml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/template.xhtml 2007-02-26 20:35:51 UTC (rev 6409)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/template.xhtml 2007-02-26 20:40:25 UTC (rev 6410)
@@ -1,5 +0,0 @@
-<div
- xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets">
-<ui:insert name="body">Default Body</ui:insert>
-</div>
Added: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/windowNavigation.xhtml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/windowNavigation.xhtml (rev 0)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/windowNavigation.xhtml 2007-02-26 20:40:25 UTC (rev 6410)
@@ -0,0 +1,44 @@
+<div
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core">
+
+
+ <h:form>
+ <h:dataTable value="#{portalobjectmgr.windowNodes}" var="window" style="border-spacing: 20px 7px">
+ <h:column>
+ <f:facet name="header"><h:outputText value="Window"/></f:facet>
+ <h:outputText value="#{window.name}"/>
+ </h:column>
+ <h:column>
+ <f:facet name="header"><h:outputText value="Actions"/></f:facet>
+ <h:commandLink action="editWindowPreferences" actionListener="#{portalobjectmgr.selectObject}">
+ <h:graphicImage value="/images/management/manage.png" style="vertical-align:middle;border-width:0"/>
+ <h:outputText value="Edit window parameters"/>
+ <f:param name="id" value="#{window.id}"/>
+ </h:commandLink>
+ <br/>
+ <h:commandLink action="editWindowSecurity" actionListener="#{portalobjectmgr.selectObject}">
+ <h:graphicImage value="/images/management/security.png" style="vertical-align:middle;border-width:0"/>
+ <h:outputText value="Edit window security access"/>
+ <f:param name="id" value="#{window.id}"/>
+ </h:commandLink>
+ </h:column>
+ <h:column>
+ <h:commandLink action="editWindowTheme" actionListener="#{portalobjectmgr.selectObject}">
+ <h:graphicImage value="/images/management/theme.png" style="vertical-align:middle;border-width:0"/>
+ <h:outputText value="Edit window theme"/>
+ <f:param name="id" value="#{window.id}"/>
+ </h:commandLink>
+ <br/>
+ <h:commandLink action="windows" actionListener="#{portalobjectmgr.destroyObject}">
+ <h:graphicImage value="/images/management/delete.png" style="vertical-align:middle;border-width:0"/>
+ <h:outputText value="Destroy window"/>
+ <f:param name="id" value="#{window.id}"/>
+ </h:commandLink>
+ </h:column>
+ </h:dataTable>
+ </h:form>
+
+
+</div>
Added: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/windows.xhtml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/windows.xhtml (rev 0)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsp/management/windows.xhtml 2007-02-26 20:40:25 UTC (rev 6410)
@@ -0,0 +1,35 @@
+<div
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:t="http://myfaces.apache.org/tomahawk">
+
+<ui:composition template="/WEB-INF/jsp/management/objectTemplate.xhtml">
+
+ <ui:define name="content">
+
+ <h:form>
+ <h:commandLink action="#{portalobjectmgr.goBack}">
+ <h:outputText value="Go back to pages"/>
+ </h:commandLink>
+ </h:form>
+
+ <h3>You are editing the windows of: <h:outputText value="#{portalobjectmgr.selectedObject.name}"/></h3>
+
+ <h:message id="status" for="status"/>
+
+ <ui:include src="/WEB-INF/jsp/management/windowNavigation.xhtml"/>
+
+ <hr />
+
+ <ui:include src="/WEB-INF/jsp/management/plugins/manager.xhtml"/>
+
+ </ui:define>
+
+</ui:composition>
+
+</div>
+
+
+
Modified: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/portlet.xml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/portlet.xml 2007-02-26 20:35:51 UTC (rev 6409)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/portlet.xml 2007-02-26 20:40:25 UTC (rev 6410)
@@ -34,7 +34,7 @@
<portlet-class>org.apache.myfaces.portlet.MyFacesGenericPortlet</portlet-class>
<init-param>
<name>default-view</name>
- <value>/WEB-INF/jsp/management/index.xhtml</value>
+ <value>/WEB-INF/jsp/management/portals.xhtml</value>
</init-param>
<expiration-cache>-1</expiration-cache>
<supports>
Deleted: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/tomahawk.tld
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/tomahawk.tld 2007-02-26 20:35:51 UTC (rev 6409)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/tomahawk.tld 2007-02-26 20:40:25 UTC (rev 6410)
@@ -1,9147 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
- * Copyright 2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
---><!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
-<taglib>
-
- <tlib-version>1.0.10</tlib-version>
- <jsp-version>1.2</jsp-version>
- <short-name>t</short-name>
- <uri>http://myfaces.apache.org/tomahawk</uri>
- <description>
- MyFaces subproject that contains components and other goodies to be used with any JSF implementation.
- </description>
-
-<!-- Extended standard components -->
-
- <!-- commandButton -->
- <tag>
- <name>commandButton</name>
- <tag-class>org.apache.myfaces.taglib.html.ext.HtmlCommandButtonTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- Extends standard commandButton by user role support.
- </description>
- <!-- all standard attributes of the commandButton tag -->
- <!-- UICommand attributes -->
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
- <attribute>
- <name>action</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>MethodBinding pointing at the application action to be invoked, if this UIComponent is activated by the user, during the Apply Request Values or Invoke Application phase of the request processing lifecycle, depending on the value of the immediate property.</description>
- </attribute>
- <attribute>
- <name>actionListener</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>MethodBinding pointing at method acception an ActionEvent with return type void.</description>
- </attribute>
- <attribute>
- <name>immediate</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>True means, that the default ActionListener should be executed immediately (i.e. during Apply Request Values phase of the request processing lifecycle), rather than waiting until the Invoke Application phase.</description>
- </attribute>
- <attribute>
- <name>value</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Initial value to set when rendered for the first time.</description>
- </attribute>
-
- <!-- HTML 4.0 universal attributes -->
- <attribute><name>dir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>lang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>style</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>title</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Corresponds to the HTML class attribute.</description>
- </attribute>
-
- <!-- HTML 4.0 event-handler attributes -->
- <attribute><name>onclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>ondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- HTML 4.0 button attributes -->
- <attribute><name>accesskey</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>alt</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>disabled</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onblur</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onchange</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onfocus</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onselect</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>size</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>tabindex</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>type</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
-
- <!-- HtmlCommandButton attributes -->
- <attribute>
- <name>image</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>enabledOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, no hyperlink is rendered but all nested
- tags (=body) are rendered.
- </description>
- </attribute>
- <attribute>
- <name>visibleOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, nothing is rendered and the body of this tag
- will be skipped.
- </description>
- </attribute>
-
- <!--
- This attribute indicates that the component should be forced to use the specified id instead of
- using the one that faces generates. Components contained within a "list" will include a '[n]'
- suffix where 'n' is the row index (unless the forceIdIndex attribute is set to false).
- -->
- <attribute>
- <name>forceId</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will force the use of the specified id when rendering.</description>
- </attribute>
-
- <!--
- If the component is contained within an "list" (such as dataTable), this attribute indicates whether or not a
- '[n]' suffix should be added where 'n' is the row index. Default is true. The attribute is ignored if forceId
- is false (or not specified)
- -->
- <attribute>
- <name>forceIdIndex</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>
- If false, this component will not append a '[n]' suffix (where 'n' is the row index) to components
- that are contained within a "list." This value will be true by default and the value will be ignored if
- the value of forceId is false (or not specified.)
- </description>
- </attribute>
-
- </tag>
-
- <!-- commandLink -->
- <tag>
- <name>commandLink</name>
- <tag-class>org.apache.myfaces.taglib.html.ext.HtmlCommandLinkTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- Extends standard commandLink by user role support and the HTML target attribute.
- </description>
- <!-- all standard attributes of the commandLink tag -->
- <!-- UICommand attributes -->
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
- <attribute>
- <name>action</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>MethodBinding pointing at the application action to be invoked, if this UIComponent is activated by the user, during the Apply Request Values or Invoke Application phase of the request processing lifecycle, depending on the value of the immediate property.</description>
- </attribute>
- <attribute>
- <name>actionListener</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>MethodBinding pointing at method acception an ActionEvent with return type void.</description>
- </attribute>
- <attribute>
- <name>immediate</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>True means, that the default ActionListener should be executed immediately (i.e. during Apply Request Values phase of the request processing lifecycle), rather than waiting until the Invoke Application phase.</description>
- </attribute>
- <attribute>
- <name>value</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Initial value to set when rendered for the first time.</description>
- </attribute>
-
- <!-- HTML 4.0 universal attributes -->
- <attribute><name>dir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>lang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>style</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>title</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Corresponds to the HTML class attribute.</description>
- </attribute>
-
- <!-- HTML 4.0 event-handler attributes -->
- <attribute><name>onclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>ondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- HTML 4.0 anchor (=a) attributes -->
- <attribute><name>accesskey</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>charset</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>coords</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <!-- "href" is a special LinkRenderer attribute -->
- <attribute><name>hreflang</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <!-- "name" cannot be set by user -->
- <attribute><name>rel</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>rev</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>shape</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>tabindex</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>type</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <!--todo: is in JSF API of HtmlCommandLink and HtmlOutputLink, but there is no corresponding tag in HTML 4.0.. What to do?-->
- <attribute>
- <name>onblur</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <!--todo: is in JSF API of HtmlCommandLink and HtmlOutputLink, but there is no corresponding tag in HTML 4.0.. What to do?-->
- <attribute>
- <name>onfocus</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>target</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
-
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>enabledOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, no hyperlink is rendered but all nested
- tags (=body) are rendered.
- </description>
- </attribute>
- <attribute>
- <name>visibleOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, nothing is rendered and the body of this tag
- will be skipped.
- </description>
- </attribute>
-
- <!--
- This attribute indicates that the component should be forced to use the specified id instead of
- using the one that faces generates. Components contained within a "list" will include a '[n]'
- suffix where 'n' is the row index (unless the forceIdIndex attribute is set to false).
- -->
- <attribute>
- <name>forceId</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will force the use of the specified id when rendering.</description>
- </attribute>
-
- <!--
- If the component is contained within an "list" (such as dataTable), this attribute indicates whether or not a
- '[n]' suffix should be added where 'n' is the row index. Default is true. The attribute is ignored if forceId
- is false (or not specified)
- -->
- <attribute>
- <name>forceIdIndex</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>
- If false, this component will not append a '[n]' suffix (where 'n' is the row index) to components
- that are contained within a "list." This value will be true by default and the value will be ignored if
- the value of forceId is false (or not specified.)
- </description>
- </attribute>
-
- </tag>
-
- <!-- dataTable -->
- <tag>
- <name>dataTable</name>
- <tag-class>org.apache.myfaces.taglib.html.ext.HtmlDataTableTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- Extended data_table that adds some additional features to the standard
- data_table action: see attribute descriptions for preserveDataModel,
- sortColumn, sortAscending and preserveSort.
- </description>
- <!-- all standard attributes of the dataTable tag -->
- <!-- UIPanel attributes -->
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
-
- <!-- HTML 4.0 universal attributes -->
- <attribute><name>dir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>lang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>style</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>title</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Corresponds to the HTML class attribute.</description>
- </attribute>
-
- <!-- HTML 4.0 event-handler attributes -->
- <attribute><name>onclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>ondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- HTML 4.0 table attributes -->
- <attribute><name>align</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>border</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>bgcolor</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>cellpadding</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>cellspacing</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>datafld</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>datasrc</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>dataformatas</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>frame</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>rules</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>summary</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>width</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- UIData attributes -->
- <attribute>
- <name>value</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Supported types see JSF Spec 4.1.3</description>
- </attribute>
- <attribute>
- <name>var</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>rows</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>first</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <!-- TableRenderer attributes -->
- <attribute>
- <name>columnClasses</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>footerClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>headerClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>rowClasses</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
-
- <!-- MyFaces extensions -->
- <!--
- This attribute indicates that the component should be forced to use the specified id instead of
- using the one that faces generates. Components contained within a "list" will include a '[n]'
- suffix where 'n' is the row index (unless the forceIdIndex attribute is set to false).
- -->
- <attribute>
- <name>forceId</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will force the use of the specified id when rendering.</description>
- </attribute>
-
- <!--
- If the component is contained within an "list" (such as dataTable), this attribute indicates whether or not a
- '[n]' suffix should be added where 'n' is the row index. Default is true. The attribute is ignored if forceId
- is false (or not specified)
- -->
- <attribute>
- <name>forceIdIndex</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>
- If false, this component will not append a '[n]' suffix (where 'n' is the row index) to components
- that are contained within a "list." This value will be true by default and the value will be ignored if
- the value of forceId is false (or not specified.)
- </description>
- </attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>enabledOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, no hyperlink is rendered but all nested
- tags (=body) are rendered.
- </description>
- </attribute>
- <attribute>
- <name>visibleOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, nothing is rendered and the body of this tag
- will be skipped.
- </description>
- </attribute>
-
- <attribute>
- <name>preserveDataModel</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Indicates whether the state of the whole DataModel should be saved and
- restored.
- Default: false
- </description>
- </attribute>
- <attribute>
- <name>forceIdIndexFormula</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- A formula that overrides the defaut row index in the construction of table's
- body components.
- Example : #{myRowVar.key}
- Warning, the EL should evaluate to a unique value for each row !
- </description>
- </attribute>
- <attribute>
- <name>sortColumn</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Value reference to a model property that gives the current sort column name.
- </description>
- </attribute>
- <attribute>
- <name>sortAscending</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Value reference to a model property that gives the current sort direction.
- </description>
- </attribute>
- <attribute>
- <name>preserveSort</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Indicates whether the state of the sortColumn and sortAscending attribute
- should be saved and restored and written back to the model during the
- update model phase.
- Default: true
- </description>
- </attribute>
- <attribute>
- <name>renderedIfEmpty</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Indicates whether this table should be rendered if the underlying DataModel is
- empty.
- You could as well use rendered="#{not empty bean.list}", but this one causes
- the getList method of your model bean beeing called up to five times per
- request, which is not optimal when the list is backed by a DB table.
- Using renderedIfEmpty="false" solves this problem, because the MyFaces
- extended HtmlDataTable automatically caches the DataModel and calles the
- model getter only once per request.
- Default: true
- </description>
- </attribute>
- <attribute>
- <name>rowIndexVar</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- A parameter name, under which the current rowIndex is set in request scope
- similar to the var parameter.
- </description>
- </attribute>
- <attribute>
- <name>rowCountVar</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- A parameter name, under which the rowCount is set in request scope
- similar to the var parameter.
- </description>
- </attribute>
- <attribute>
- <name>previousRowDataVar</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- A parameter name, under which the previous RowData Object is set in request scope
- similar to the rowIndexVar and rowCountVar parameters.
- Mind that the value of this request scope attribute is null in the first row
- or when isRowAvailable returns false for the previous row.
- </description>
- </attribute>
- <attribute>
- <name>rowOnClick</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Defines a JavaScript onclick event handler for each table row
- </description>
- </attribute>
- <attribute>
- <name>rowOnDblClick</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Defines a JavaScript ondblclick event handler for each table row
- </description>
- </attribute>
- <attribute>
- <name>rowOnMouseDown</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Defines a JavaScript onmpusedown event handler for each table row
- </description>
- </attribute>
- <attribute>
- <name>rowOnMouseUp</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Defines a JavaScript onmouseup event handler for each table row
- </description>
- </attribute>
- <attribute>
- <name>rowOnMouseOver</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Defines a JavaScript onmouseover event handler for each table row
- </description>
- </attribute>
- <attribute>
- <name>rowOnMouseMove</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Defines a JavaScript onmousemove event handler for each table row
- </description>
- </attribute>
- <attribute>
- <name>rowOnMouseOut</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Defines a JavaScript onmouseout event handler for each table row
- </description>
- </attribute>
- <attribute>
- <name>rowOnKeyPress</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Defines a JavaScript onkeypress event handler for each table row
- </description>
- </attribute>
- <attribute>
- <name>rowOnKeyDown</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Defines a JavaScript onkeydown event handler for each table row
- </description>
- </attribute>
- <attribute>
- <name>rowOnKeyUp</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Defines a JavaScript onkeyup event handler for each table row
- </description>
- </attribute>
- <attribute>
- <name>rowId</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- The id to use for <tr> elements that are generated by the table.
- </description>
- </attribute>
- <attribute>
- <name>rowStyleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Corresponds to the HTML class attribute for the row tr tag.</description>
- </attribute>
- <attribute>
- <name>rowStyle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Corresponds to the HTML style attribute for the row tr tag.</description>
- </attribute>
- </tag>
-
- <!-- inputHidden -->
- <tag>
- <name>inputHidden</name>
- <tag-class>org.apache.myfaces.taglib.html.ext.HtmlInputHiddenTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- Extends standard inputHidden by providing additional MyFaces goodies.
- </description>
- <!-- UIInput attributes -->
- <!-- UIOutput attributes -->
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
- <attribute>
- <name>value</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Initial value to set when rendered for the first time.</description>
- </attribute>
- <attribute>
- <name>converter</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Id of Converter to be used or reference to a Converter.</description>
- </attribute>
-
- <attribute>
- <name>immediate</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description> Flag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase.</description>
- </attribute>
- <attribute>
- <name>required</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will be checked for non-empty input.</description>
- </attribute>
- <attribute>
- <name>validator</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>MethodBinding pointing at a method that will be called during Process Validations phase of the request processing lifecycle, to validate the current value of this component.</description>
- </attribute>
- <attribute>
- <name>valueChangeListener</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Listener for value changes.</description>
- </attribute>
-
- <!--
- This attribute indicates that the component should be forced to use the specified id instead of
- using the one that faces generates. Components contained within a "list" will include a '[n]'
- suffix where 'n' is the row index (unless the forceIdIndex attribute is set to false).
- -->
- <attribute>
- <name>forceId</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will force the use of the specified id when rendering.</description>
- </attribute>
-
- <!--
- If the component is contained within an "list" (such as dataTable), this attribute indicates whether or not a
- '[n]' suffix should be added where 'n' is the row index. Default is true. The attribute is ignored if forceId
- is false (or not specified)
- -->
- <attribute>
- <name>forceIdIndex</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>
- If false, this component will not append a '[n]' suffix (where 'n' is the row index) to components
- that are contained within a "list." This value will be true by default and the value will be ignored if
- the value of forceId is false (or not specified.)
- </description>
- </attribute>
-
- </tag>
-
- <!-- inputSecret -->
- <tag>
- <name>inputSecret</name>
- <tag-class>org.apache.myfaces.taglib.html.ext.HtmlInputSecretTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- Extends standard inputSecret.
- </description>
- <attribute><name>datafld</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>datasrc</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>dataformatas</name><required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <!-- UIInput attributes -->
- <!-- UIOutput attributes -->
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
- <attribute>
- <name>value</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Initial value to set when rendered for the first time.</description>
- </attribute>
- <attribute>
- <name>converter</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Id of Converter to be used or reference to a Converter.</description>
- </attribute>
-
- <attribute>
- <name>immediate</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description> Flag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase.</description>
- </attribute>
- <attribute>
- <name>required</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will be checked for non-empty input.</description>
- </attribute>
- <attribute>
- <name>validator</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>MethodBinding pointing at a method that will be called during Process Validations phase of the request processing lifecycle, to validate the current value of this component.</description>
- </attribute>
- <attribute>
- <name>valueChangeListener</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Listener for value changes.</description>
- </attribute>
-
- <!-- HTML 4.0 input attributes -->
- <attribute><name>accesskey</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>align</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>alt</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>disabled</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>maxlength</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onblur</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onchange</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onfocus</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onselect</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>readonly</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>size</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>tabindex</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <!-- HTML 4.0 universal attributes -->
- <attribute><name>dir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>lang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>style</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>title</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Corresponds to the HTML class attribute.</description>
- </attribute>
-
- <!-- HTML 4.0 event-handler attributes -->
- <attribute><name>onclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>ondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>enabledOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, no hyperlink is rendered but all nested
- tags (=body) are rendered.
- </description>
- </attribute>
- <attribute>
- <name>visibleOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, nothing is rendered and the body of this tag
- will be skipped.
- </description>
- </attribute>
-
- <!--
- This attribute indicates that the component should be forced to use the specified id instead of
- using the one that faces generates. Components contained within a "list" will include a '[n]'
- suffix where 'n' is the row index (unless the forceIdIndex attribute is set to false).
- -->
- <attribute>
- <name>forceId</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will force the use of the specified id when rendering.</description>
- </attribute>
-
- <!--
- If the component is contained within an "list" (such as dataTable), this attribute indicates whether or not a
- '[n]' suffix should be added where 'n' is the row index. Default is true. The attribute is ignored if forceId
- is false (or not specified)
- -->
- <attribute>
- <name>forceIdIndex</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>
- If false, this component will not append a '[n]' suffix (where 'n' is the row index) to components
- that are contained within a "list." This value will be true by default and the value will be ignored if
- the value of forceId is false (or not specified.)
- </description>
- </attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>displayValueOnly</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If true, renders only the value of the component, but no input widget.
- Default is false.
- </description>
- </attribute>
- <attribute>
- <name>displayValueOnlyStyle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Style used when displayValueOnly is true.
- </description>
- </attribute>
- <attribute>
- <name>displayValueOnlyStyleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Style class used when displayValueOnly is true.
- </description>
- </attribute>
- <!-- SecretRenderer attributes -->
- <attribute>
- <name>redisplay</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If true, the value will be re-sent (in plaintext) when the form
- is rerendered (see JSF.7.4.4). Default is false.
- </description>
- </attribute>
- </tag>
-
- <!-- inputText -->
- <tag>
- <name>inputText</name>
- <tag-class>org.apache.myfaces.taglib.html.ext.HtmlInputTextTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- Extends standard inputText by user role support.
- </description>
- <attribute><name>datafld</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>datasrc</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>dataformatas</name><required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <!-- all standard attributes of the inputText tag -->
- <!-- UIInput attributes -->
- <!-- UIOutput attributes -->
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
- <attribute>
- <name>value</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Initial value to set when rendered for the first time.</description>
- </attribute>
- <attribute>
- <name>converter</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Id of Converter to be used or reference to a Converter.</description>
- </attribute>
-
- <attribute>
- <name>immediate</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description> Flag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase.</description>
- </attribute>
- <attribute>
- <name>required</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will be checked for non-empty input.</description>
- </attribute>
- <attribute>
- <name>validator</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>MethodBinding pointing at a method that will be called during Process Validations phase of the request processing lifecycle, to validate the current value of this component.</description>
- </attribute>
- <attribute>
- <name>valueChangeListener</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Listener for value changes.</description>
- </attribute>
-
- <!-- HTML 4.0 universal attributes -->
- <attribute><name>dir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>lang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>style</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>title</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Corresponds to the HTML class attribute.</description>
- </attribute>
-
- <!-- HTML 4.0 event-handler attributes -->
- <attribute><name>onclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>ondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- HTML 4.0 input attributes -->
- <attribute><name>accesskey</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>align</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>alt</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>disabled</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>maxlength</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onblur</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onchange</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onfocus</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onselect</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>readonly</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>size</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>tabindex</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>enabledOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, no hyperlink is rendered but all nested
- tags (=body) are rendered.
- </description>
- </attribute>
- <attribute>
- <name>visibleOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, nothing is rendered and the body of this tag
- will be skipped.
- </description>
- </attribute>
-
- <!--
- This attribute indicates that the component should be forced to use the specified id instead of
- using the one that faces generates. Components contained within a "list" will include a '[n]'
- suffix where 'n' is the row index (unless the forceIdIndex attribute is set to false).
- -->
- <attribute>
- <name>forceId</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will force the use of the specified id when rendering.</description>
- </attribute>
-
- <!--
- If the component is contained within an "list" (such as dataTable), this attribute indicates whether or not a
- '[n]' suffix should be added where 'n' is the row index. Default is true. The attribute is ignored if forceId
- is false (or not specified)
- -->
- <attribute>
- <name>forceIdIndex</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>
- If false, this component will not append a '[n]' suffix (where 'n' is the row index) to components
- that are contained within a "list." This value will be true by default and the value will be ignored if
- the value of forceId is false (or not specified.)
- </description>
- </attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>displayValueOnly</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If true, renders only the value of the component, but no input widget.
- Default is false.
- </description>
- </attribute>
- <attribute>
- <name>displayValueOnlyStyle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Style used when displayValueOnly is true.
- </description>
- </attribute>
- <attribute>
- <name>displayValueOnlyStyleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Style class used when displayValueOnly is true.
- </description>
- </attribute>
- </tag>
-
- <!-- inputTextHelp -->
- <tag>
- <name>inputTextHelp</name>
- <tag-class>org.apache.myfaces.custom.inputTextHelp.HtmlInputTextHelpTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- Extends standard inputText by helptext support.
- </description>
- <!-- all standard attributes of the inputText tag -->
- <!-- UIInput attributes -->
- <!-- UIOutput attributes -->
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
- <attribute>
- <name>value</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Initial value to set when rendered for the first time.</description>
- </attribute>
- <attribute>
- <name>converter</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Id of Converter to be used or reference to a Converter.</description>
- </attribute>
-
- <attribute>
- <name>immediate</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description> Flag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase.</description>
- </attribute>
- <attribute>
- <name>required</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will be checked for non-empty input.</description>
- </attribute>
- <attribute>
- <name>validator</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>MethodBinding pointing at a method that will be called during Process Validations phase of the request processing lifecycle, to validate the current value of this component.</description>
- </attribute>
- <attribute>
- <name>valueChangeListener</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Listener for value changes.</description>
- </attribute>
-
- <!-- HTML 4.0 universal attributes -->
- <attribute><name>dir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>lang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>style</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>title</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Corresponds to the HTML class attribute.</description>
- </attribute>
-
- <!-- HTML 4.0 event-handler attributes -->
- <attribute><name>onclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>ondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- HTML 4.0 input attributes -->
- <attribute><name>accesskey</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>align</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>alt</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>disabled</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>maxlength</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onblur</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onchange</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onfocus</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onselect</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>readonly</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>size</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>tabindex</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>enabledOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, no hyperlink is rendered but all nested
- tags (=body) are rendered.
- </description>
- </attribute>
- <attribute>
- <name>visibleOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, nothing is rendered and the body of this tag
- will be skipped.
- </description>
- </attribute>
-
- <!--
- This attribute indicates that the component should be forced to use the specified id instead of
- using the one that faces generates. Components contained within a "list" will include a '[n]'
- suffix where 'n' is the row index (unless the forceIdIndex attribute is set to false).
- -->
- <attribute>
- <name>forceId</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will force the use of the specified id when rendering.</description>
- </attribute>
-
- <!--
- If the component is contained within an "list" (such as dataTable), this attribute indicates whether or not a
- '[n]' suffix should be added where 'n' is the row index. Default is true. The attribute is ignored if forceId
- is false (or not specified)
- -->
- <attribute>
- <name>forceIdIndex</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>
- If false, this component will not append a '[n]' suffix (where 'n' is the row index) to components
- that are contained within a "list." This value will be true by default and the value will be ignored if
- the value of forceId is false (or not specified.)
- </description>
- </attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>displayValueOnly</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If true, renders only the value of the component, but no input widget.
- Default is false.
- </description>
- </attribute>
- <attribute>
- <name>displayValueOnlyStyle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Style used when displayValueOnly is true.
- </description>
- </attribute>
- <attribute>
- <name>displayValueOnlyStyleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Style class used when displayValueOnly is true.
- </description>
- </attribute>
- <!-- Attributes for HtmlInputText with Helptext -->
- <attribute>
- <name>helpText</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>selectText</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
- <!-- inputTextarea -->
- <tag>
- <name>inputTextarea</name>
- <tag-class>org.apache.myfaces.taglib.html.ext.HtmlInputTextareaTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- Extends standard inputTextarea by user role support.
- </description>
- <!-- all standard attributes of the inputTextarea tag -->
- <!-- UIInput attributes -->
- <!-- UIOutput attributes -->
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
- <attribute>
- <name>value</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Initial value to set when rendered for the first time.</description>
- </attribute>
- <attribute>
- <name>converter</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Id of Converter to be used or reference to a Converter.</description>
- </attribute>
-
- <attribute>
- <name>immediate</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description> Flag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase.</description>
- </attribute>
- <attribute>
- <name>required</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will be checked for non-empty input.</description>
- </attribute>
- <attribute>
- <name>validator</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>MethodBinding pointing at a method that will be called during Process Validations phase of the request processing lifecycle, to validate the current value of this component.</description>
- </attribute>
- <attribute>
- <name>valueChangeListener</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Listener for value changes.</description>
- </attribute>
-
- <!-- HTML 4.0 textarea attributes -->
- <attribute><name>accesskey</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>cols</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>datafld</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>datasrc</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>dataformatas</name><required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>disabled</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onblur</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onchange</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onfocus</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onselect</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>readonly</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>rows</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>tabindex</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
-
- <!-- HTML 4.0 universal attributes -->
- <attribute><name>dir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>lang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>style</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>title</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Corresponds to the HTML class attribute.</description>
- </attribute>
-
- <!-- HTML 4.0 event-handler attributes -->
- <attribute><name>onclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>ondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>enabledOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, no hyperlink is rendered but all nested
- tags (=body) are rendered.
- </description>
- </attribute>
- <attribute>
- <name>visibleOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, nothing is rendered and the body of this tag
- will be skipped.
- </description>
- </attribute>
-
- <!--
- This attribute indicates that the component should be forced to use the specified id instead of
- using the one that faces generates. Components contained within a "list" will include a '[n]'
- suffix where 'n' is the row index (unless the forceIdIndex attribute is set to false).
- -->
- <attribute>
- <name>forceId</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will force the use of the specified id when rendering.</description>
- </attribute>
-
- <!--
- If the component is contained within an "list" (such as dataTable), this attribute indicates whether or not a
- '[n]' suffix should be added where 'n' is the row index. Default is true. The attribute is ignored if forceId
- is false (or not specified)
- -->
- <attribute>
- <name>forceIdIndex</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>
- If false, this component will not append a '[n]' suffix (where 'n' is the row index) to components
- that are contained within a "list." This value will be true by default and the value will be ignored if
- the value of forceId is false (or not specified.)
- </description>
- </attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>displayValueOnly</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If true, renders only the value of the component, but no input widget.
- Default is false.
- </description>
- </attribute>
- <attribute>
- <name>displayValueOnlyStyle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Style used when displayValueOnly is true.
- </description>
- </attribute>
- <attribute>
- <name>displayValueOnlyStyleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Style class used when displayValueOnly is true.
- </description>
- </attribute>
- </tag>
-
- <!-- graphicImage -->
- <tag>
- <name>graphicImage</name>
- <tag-class>org.apache.myfaces.taglib.html.ext.HtmlGraphicImageTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- Extends standard graphicImage.
- </description>
- <!-- UIGraphic attributes -->
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
- <attribute>
- <name>url</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>URL of the image (see JSF.4.1.5).</description>
- </attribute>
- <attribute>
- <name>value</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>URL of the image (see JSF.4.1.5).</description>
- </attribute>
-
- <!-- HTML 4.0 universal attributes -->
- <attribute><name>dir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>lang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>style</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>title</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Corresponds to the HTML class attribute.</description>
- </attribute>
-
- <!-- HTML 4.0 event-handler attributes -->
- <attribute><name>onclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>ondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- HTML 4.0 img attributes that are not part of the JSF 1.1 specification -->
- <attribute>
- <name>align</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>border</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>hspace</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>vspace</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- </attribute>
-
- <!-- The subset of HTML 4.0 img attributes that are supported by the JSF 1.1 specification -->
- <attribute>
- <name>alt</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>height</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>ismap</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>longdesc</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- </attribute>
- <!-- "name" attribute cannot be set directly by user -->
- <!-- "src" attribute cannot be set directly, use "url" instead! -->
- <attribute>
- <name>usemap</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>width</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- </attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>enabledOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, no hyperlink is rendered but all nested
- tags (=body) are rendered.
- </description>
- </attribute>
- <attribute>
- <name>visibleOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, nothing is rendered and the body of this tag
- will be skipped.
- </description>
- </attribute>
-
- <!--
- This attribute indicates that the component should be forced to use the specified id instead of
- using the one that faces generates. Components contained within a "list" will include a '[n]'
- suffix where 'n' is the row index (unless the forceIdIndex attribute is set to false).
- -->
- <attribute>
- <name>forceId</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will force the use of the specified id when rendering.</description>
- </attribute>
-
- <!--
- If the component is contained within an "list" (such as dataTable), this attribute indicates whether or not a
- '[n]' suffix should be added where 'n' is the row index. Default is true. The attribute is ignored if forceId
- is false (or not specified)
- -->
- <attribute>
- <name>forceIdIndex</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>
- If false, this component will not append a '[n]' suffix (where 'n' is the row index) to components
- that are contained within a "list." This value will be true by default and the value will be ignored if
- the value of forceId is false (or not specified.)
- </description>
- </attribute>
-
- </tag>
-
- <!-- message -->
- <tag>
- <name>message</name>
- <tag-class>org.apache.myfaces.taglib.html.ext.HtmlMessageTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- MyFaces extension to the standard messages tag: see summaryDetailSeparator attribute
- </description>
- <!-- all standard attributes of the message tag -->
- <!-- UIMessage attributes -->
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
- <attribute>
- <name>for</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>The client identifier of the component for which this component represents associated message(s).</description>
- </attribute>
- <attribute>
- <name>showSummary</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Indicates whether the summary of the associated message(s) should be displayed.
- Default is: true</description>
- </attribute>
- <attribute>
- <name>showDetail</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Indicates whether the detail of the associated message(s) should be displayed.
- Default is: false</description>
- </attribute>
-
-
- <!-- HTML 4.0 universal attributes -->
- <attribute><name>dir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>lang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>style</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>title</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Corresponds to the HTML class attribute.</description>
- </attribute>
-
- <!-- HTML 4.0 event-handler attributes -->
- <attribute><name>onclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>ondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- HtmlMessage attributes -->
- <attribute>
- <name>infoClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>CSS class to be used for messages with severity "INFO".</description>
- </attribute>
- <attribute>
- <name>infoStyle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>CSS style to be used for messages with severity "INFO".</description>
- </attribute>
- <attribute>
- <name>warnClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>CSS class to be used for messages with severity "WARN".</description>
- </attribute>
- <attribute>
- <name>warnStyle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>CSS style to be used for messages with severity "WARN".</description>
- </attribute>
- <attribute>
- <name>errorClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>CSS class to be used for messages with severity "ERROR".</description>
- </attribute>
- <attribute>
- <name>errorStyle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>CSS style to be used for messages with severity "ERROR".</description>
- </attribute>
- <attribute>
- <name>fatalClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>CSS class to be used for messages with severity "FATAL".</description>
- </attribute>
- <attribute>
- <name>fatalStyle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>CSS style to be used for messages with severity "FATAL".</description>
- </attribute>
- <attribute>
- <name>tooltip</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If true, the message summary will be rendered as a tooltip (i.e. HTML title attribute).
- </description>
- </attribute>
-
- <!-- MyFaces extensions -->
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>enabledOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, no hyperlink is rendered but all nested
- tags (=body) are rendered.
- </description>
- </attribute>
- <attribute>
- <name>visibleOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, nothing is rendered and the body of this tag
- will be skipped.
- </description>
- </attribute>
-
- <!--
- This attribute indicates that the component should be forced to use the specified id instead of
- using the one that faces generates. Components contained within a "list" will include a '[n]'
- suffix where 'n' is the row index (unless the forceIdIndex attribute is set to false).
- -->
- <attribute>
- <name>forceId</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will force the use of the specified id when rendering.</description>
- </attribute>
-
- <!--
- If the component is contained within an "list" (such as dataTable), this attribute indicates whether or not a
- '[n]' suffix should be added where 'n' is the row index. Default is true. The attribute is ignored if forceId
- is false (or not specified)
- -->
- <attribute>
- <name>forceIdIndex</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>
- If false, this component will not append a '[n]' suffix (where 'n' is the row index) to components
- that are contained within a "list." This value will be true by default and the value will be ignored if
- the value of forceId is false (or not specified.)
- </description>
- </attribute>
-
- <attribute>
- <name>summaryFormat</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If present, instead of rendering the message summary, a MessageFormat with this
- attribute as pattern is created. The format method of this MessageFormat is
- called with the message summary as the first argument and the label of the
- associated component (if any) as the second argument.
- Example: "{0}:"
- </description>
- </attribute>
- <attribute>
- <name>detailFormat</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If present, instead of rendering the message detail, a MessageFormat with this
- attribute as pattern is created. The format method of this MessageFormat is
- called with the message detail as the first argument and the label of the
- associated component (if any) as the second argument.
- Example: "The input in field {1} is wrong: {0}"
- </description>
- </attribute>
- <attribute>
- <name>replaceIdWithLabel</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If present, all occurrences of the id of the component for which the message
- is rendered will be replaced by the label. Standard is true for the extended
- message renderer.
- </description>
- </attribute>
- </tag>
-
- <!-- messages -->
- <tag>
- <name>messages</name>
- <tag-class>org.apache.myfaces.taglib.html.ext.HtmlMessagesTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- MyFaces extension to the standard messages tag: see showInputLabel attribute
- </description>
- <!-- all standard attributes of the messages tag -->
- <!-- UIMessages attributes -->
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
- <attribute>
- <name>showSummary</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Indicates whether the summary of the message(s) should be displayed.
- Default is: true</description>
- </attribute>
- <attribute>
- <name>showDetail</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Indicates whether the detail of the message(s) should be displayed.
- Default is: false</description>
- </attribute>
- <attribute>
- <name>globalOnly</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Indicates whether only global messages (that is, messages with no associated client identifier) should be rendered.
- Default is: false</description>
- </attribute>
-
- <!-- HTML 4.0 universal attributes -->
- <attribute><name>dir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>lang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>style</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>title</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Corresponds to the HTML class attribute.</description>
- </attribute>
-
- <!-- HTML 4.0 event-handler attributes -->
- <attribute><name>onclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>ondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- HtmlMessages attributes -->
- <attribute>
- <name>infoClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>CSS class to be used for messages with severity "INFO".</description>
- </attribute>
- <attribute>
- <name>infoStyle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>CSS style to be used for messages with severity "INFO".</description>
- </attribute>
- <attribute>
- <name>warnClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>CSS class to be used for messages with severity "WARN".</description>
- </attribute>
- <attribute>
- <name>warnStyle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>CSS style to be used for messages with severity "WARN".</description>
- </attribute>
- <attribute>
- <name>errorClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>CSS class to be used for messages with severity "ERROR".</description>
- </attribute>
- <attribute>
- <name>errorStyle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>CSS style to be used for messages with severity "ERROR".</description>
- </attribute>
- <attribute>
- <name>fatalClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>CSS class to be used for messages with severity "FATAL".</description>
- </attribute>
- <attribute>
- <name>fatalStyle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>CSS style to be used for messages with severity "FATAL".</description>
- </attribute>
- <attribute>
- <name>layout</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>The layout: "table" or "list". Default: list</description>
- </attribute>
- <attribute>
- <name>tooltip</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If true, the message summary will be rendered as a tooltip (i.e. HTML title attribute).
- </description>
- </attribute>
-
- <!-- MyFaces extensions -->
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>enabledOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, no hyperlink is rendered but all nested
- tags (=body) are rendered.
- </description>
- </attribute>
- <attribute>
- <name>visibleOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, nothing is rendered and the body of this tag
- will be skipped.
- </description>
- </attribute>
-
- <!--
- This attribute indicates that the component should be forced to use the specified id instead of
- using the one that faces generates. Components contained within a "list" will include a '[n]'
- suffix where 'n' is the row index (unless the forceIdIndex attribute is set to false).
- -->
- <attribute>
- <name>forceId</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will force the use of the specified id when rendering.</description>
- </attribute>
-
- <!--
- If the component is contained within an "list" (such as dataTable), this attribute indicates whether or not a
- '[n]' suffix should be added where 'n' is the row index. Default is true. The attribute is ignored if forceId
- is false (or not specified)
- -->
- <attribute>
- <name>forceIdIndex</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>
- If false, this component will not append a '[n]' suffix (where 'n' is the row index) to components
- that are contained within a "list." This value will be true by default and the value will be ignored if
- the value of forceId is false (or not specified.)
- </description>
- </attribute>
-
- <attribute>
- <name>summaryFormat</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If present, instead of rendering the message summary, a MessageFormat with this
- attribute as pattern is created. The format method of this MessageFormat is
- called with the message summary as the first argument and the label of the
- associated component (if any) as the second argument.
- Example: "{0}:" or "{0} in field {1}"
- </description>
- </attribute>
- <attribute>
- <name>globalSummaryFormat</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Like summaryFormat, but applies to global messages (i.e. messages not associated
- with a component). If no globalSummaryFormat is given, the summaryFormat is used for
- global messages.
- Example: "{0}:"
- </description>
- </attribute>
- <attribute>
- <name>detailFormat</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If present, instead of rendering the message detail, a MessageFormat with this
- attribute as pattern is created. The format method of this MessageFormat is
- called with the message detail as the first argument and the label of the
- associated component (if any) as the second argument.
- Example: "The input in field {1} is wrong: {0}"
- </description>
- </attribute>
- <attribute>
- <name>replaceIdWithLabel</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If present, all occurrences of the id of the component for which the message
- is rendered will be replaced by the label.
- </description>
- </attribute>
- </tag>
-
- <!-- outputLabel -->
- <tag>
- <name>outputLabel</name>
- <tag-class>org.apache.myfaces.taglib.html.ext.HtmlOutputLabelTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- Extends standard outputLabel by user role support.
- </description>
- <!-- all standard attributes of the outputLabel tag -->
- <!-- UIOutput attributes -->
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
- <attribute>
- <name>value</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Initial value to set when rendered for the first time.</description>
- </attribute>
- <attribute>
- <name>converter</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Id of Converter to be used or reference to a Converter.</description>
- </attribute>
-
- <!-- HTML 4.0 universal attributes -->
- <attribute><name>dir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>lang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>style</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>title</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Corresponds to the HTML class attribute.</description>
- </attribute>
-
- <!-- HTML 4.0 event-handler attributes -->
- <attribute><name>onclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>ondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- HTML 4.0 label attributes -->
- <attribute><name>accesskey</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <!-- "for" is a specific LabelRenderer attribute -->
- <attribute><name>onblur</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onfocus</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- LabelRenderer attributes -->
- <attribute>
- <name>for</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>enabledOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, no hyperlink is rendered but all nested
- tags (=body) are rendered.
- </description>
- </attribute>
- <attribute>
- <name>visibleOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, nothing is rendered and the body of this tag
- will be skipped.
- </description>
- </attribute>
-
- <!--
- This attribute indicates that the component should be forced to use the specified id instead of
- using the one that faces generates. Components contained within a "list" will include a '[n]'
- suffix where 'n' is the row index (unless the forceIdIndex attribute is set to false).
- -->
- <attribute>
- <name>forceId</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will force the use of the specified id when rendering.</description>
- </attribute>
-
- <!--
- If the component is contained within an "list" (such as dataTable), this attribute indicates whether or not a
- '[n]' suffix should be added where 'n' is the row index. Default is true. The attribute is ignored if forceId
- is false (or not specified)
- -->
- <attribute>
- <name>forceIdIndex</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>
- If false, this component will not append a '[n]' suffix (where 'n' is the row index) to components
- that are contained within a "list." This value will be true by default and the value will be ignored if
- the value of forceId is false (or not specified.)
- </description>
- </attribute>
-
- </tag>
-
- <!-- outputText -->
- <tag>
- <name>outputText</name>
- <tag-class>org.apache.myfaces.taglib.html.ext.HtmlOutputTextTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- Extends standard outputText by user role support.
- </description>
- <!-- all standard attributes of the outputText tag -->
- <!-- UIOutput attributes -->
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
- <attribute>
- <name>value</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Initial value to set when rendered for the first time.</description>
- </attribute>
- <attribute>
- <name>converter</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Id of Converter to be used or reference to a Converter.</description>
- </attribute>
-
- <!-- HTML 4.0 universal attributes -->
- <attribute><name>dir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>lang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>style</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>title</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Corresponds to the HTML class attribute.</description>
- </attribute>
-
- <!-- HTML 4.0 event-handler attributes -->
- <attribute><name>onclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>ondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- HtmlOutputText attributes -->
- <attribute>
- <name>escape</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Indicates whether rendered markup should be escaped.
- Default: true
- </description>
- </attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>enabledOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, no hyperlink is rendered but all nested
- tags (=body) are rendered.
- </description>
- </attribute>
- <attribute>
- <name>visibleOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, nothing is rendered and the body of this tag
- will be skipped.
- </description>
- </attribute>
-
- <!--
- This attribute indicates that the component should be forced to use the specified id instead of
- using the one that faces generates. Components contained within a "list" will include a '[n]'
- suffix where 'n' is the row index (unless the forceIdIndex attribute is set to false).
- -->
- <attribute>
- <name>forceId</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will force the use of the specified id when rendering.</description>
- </attribute>
-
- <!--
- If the component is contained within an "list" (such as dataTable), this attribute indicates whether or not a
- '[n]' suffix should be added where 'n' is the row index. Default is true. The attribute is ignored if forceId
- is false (or not specified)
- -->
- <attribute>
- <name>forceIdIndex</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>
- If false, this component will not append a '[n]' suffix (where 'n' is the row index) to components
- that are contained within a "list." This value will be true by default and the value will be ignored if
- the value of forceId is false (or not specified.)
- </description>
- </attribute>
-
- </tag>
-
- <!-- panelGrid -->
- <tag>
- <name>panelGrid</name>
- <tag-class>org.apache.myfaces.taglib.html.ext.HtmlPanelGridTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- Extends standard panelGrid by user role support.
- </description>
- <!-- UIPanel attributes -->
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
-
- <!-- HTML 4.0 universal attributes -->
- <attribute><name>dir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>lang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>style</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>title</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Corresponds to the HTML class attribute.</description>
- </attribute>
-
- <!-- HTML 4.0 event-handler attributes -->
- <attribute><name>onclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>ondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- HTML 4.0 table attributes -->
- <attribute><name>align</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>border</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>bgcolor</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>cellpadding</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>cellspacing</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>datafld</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>datasrc</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>dataformatas</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>frame</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>rules</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>summary</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>width</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- GridRenderer attributes -->
- <attribute>
- <name>columnClasses</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>columns</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>footerClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>headerClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>rowClasses</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>enabledOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, no hyperlink is rendered but all nested
- tags (=body) are rendered.
- </description>
- </attribute>
- <attribute>
- <name>visibleOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, nothing is rendered and the body of this tag
- will be skipped.
- </description>
- </attribute>
-
- <!--
- This attribute indicates that the component should be forced to use the specified id instead of
- using the one that faces generates. Components contained within a "list" will include a '[n]'
- suffix where 'n' is the row index (unless the forceIdIndex attribute is set to false).
- -->
- <attribute>
- <name>forceId</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will force the use of the specified id when rendering.</description>
- </attribute>
-
- <!--
- If the component is contained within an "list" (such as dataTable), this attribute indicates whether or not a
- '[n]' suffix should be added where 'n' is the row index. Default is true. The attribute is ignored if forceId
- is false (or not specified)
- -->
- <attribute>
- <name>forceIdIndex</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>
- If false, this component will not append a '[n]' suffix (where 'n' is the row index) to components
- that are contained within a "list." This value will be true by default and the value will be ignored if
- the value of forceId is false (or not specified.)
- </description>
- </attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>displayValueOnly</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If true, renders only the value of the component, but no input widget.
- Default is false.
- </description>
- </attribute>
- <attribute>
- <name>displayValueOnlyStyle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Style used when displayValueOnly is true.
- </description>
- </attribute>
- <attribute>
- <name>displayValueOnlyStyleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Style class used when displayValueOnly is true.
- </description>
- </attribute>
- </tag>
-
- <!-- panelGroup -->
- <tag>
- <name>panelGroup</name>
- <tag-class>org.apache.myfaces.taglib.html.ext.HtmlPanelGroupTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- Extends standard panelGroup by user role support.
- </description>
- <!-- all standard attributes of the panelGroup tag -->
- <!-- UIPanel attributes -->
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
-
- <!-- HTML 4.0 universal attributes -->
- <attribute><name>dir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>lang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>style</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>title</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Corresponds to the HTML class attribute.</description>
- </attribute>
-
- <!-- HTML 4.0 event-handler attributes -->
- <attribute><name>onclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>ondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>enabledOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, no hyperlink is rendered but all nested
- tags (=body) are rendered.
- </description>
- </attribute>
- <attribute>
- <name>visibleOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, nothing is rendered and the body of this tag
- will be skipped.
- </description>
- </attribute>
-
- <!--
- This attribute indicates that the component should be forced to use the specified id instead of
- using the one that faces generates. Components contained within a "list" will include a '[n]'
- suffix where 'n' is the row index (unless the forceIdIndex attribute is set to false).
- -->
- <attribute>
- <name>forceId</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will force the use of the specified id when rendering.</description>
- </attribute>
-
- <!--
- If the component is contained within an "list" (such as dataTable), this attribute indicates whether or not a
- '[n]' suffix should be added where 'n' is the row index. Default is true. The attribute is ignored if forceId
- is false (or not specified)
- -->
- <attribute>
- <name>forceIdIndex</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>
- If false, this component will not append a '[n]' suffix (where 'n' is the row index) to components
- that are contained within a "list." This value will be true by default and the value will be ignored if
- the value of forceId is false (or not specified.)
- </description>
- </attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>displayValueOnly</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If true, renders only the value of the component, but no input widget.
- Default is false.
- </description>
- </attribute>
- <attribute>
- <name>displayValueOnlyStyle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Style used when displayValueOnly is true.
- </description>
- </attribute>
- <attribute>
- <name>displayValueOnlyStyleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Style class used when displayValueOnly is true.
- </description>
- </attribute>
- </tag>
-
- <!-- selectOneMenu -->
- <tag>
- <name>selectOneMenu</name>
- <tag-class>org.apache.myfaces.taglib.html.ext.HtmlSelectOneMenuTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- Extends standard selectOneMenu by user role support.
- </description>
- <!-- all standard attributes of the selectOneMenu tag -->
- <!-- UISelectOne attributes -->
- <!-- UIInput attributes -->
- <!-- UIOutput attributes -->
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
- <attribute>
- <name>value</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Initial value to set when rendered for the first time.</description>
- </attribute>
- <attribute>
- <name>converter</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Id of Converter to be used or reference to a Converter.</description>
- </attribute>
-
- <attribute>
- <name>immediate</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description> Flag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase.</description>
- </attribute>
- <attribute>
- <name>required</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will be checked for non-empty input.</description>
- </attribute>
- <attribute>
- <name>validator</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>MethodBinding pointing at a method that will be called during Process Validations phase of the request processing lifecycle, to validate the current value of this component.</description>
- </attribute>
- <attribute>
- <name>valueChangeListener</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Listener for value changes.</description>
- </attribute>
-
-
- <!-- HTML 4.0 universal attributes -->
- <attribute><name>dir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>lang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>style</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>title</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Corresponds to the HTML class attribute.</description>
- </attribute>
-
- <!-- HTML 4.0 event-handler attributes -->
- <attribute><name>onclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>ondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- HTML 4.0 select attributes -->
- <attribute><name>datafld</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>datasrc</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>dataformatas</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>disabled</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <!-- "multiple" cannot be set manually -->
- <!-- "name" cannot be set manually -->
- <attribute><name>onblur</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onchange</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onfocus</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <!-- "size" cannot be set directly for it is a MenuRenderer specific attribute -->
- <attribute><name>tabindex</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>readonly</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Flag indicating that this component will prohibit
- changes by the user. The element may receive focus
- unless it has also been disabled.</description>
- </attribute>
- <attribute><name>enabledClass</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>disabledClass</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>enabledOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, no hyperlink is rendered but all nested
- tags (=body) are rendered.
- </description>
- </attribute>
- <attribute>
- <name>visibleOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, nothing is rendered and the body of this tag
- will be skipped.
- </description>
- </attribute>
-
- <!--
- This attribute indicates that the component should be forced to use the specified id instead of
- using the one that faces generates. Components contained within a "list" will include a '[n]'
- suffix where 'n' is the row index (unless the forceIdIndex attribute is set to false).
- -->
- <attribute>
- <name>forceId</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will force the use of the specified id when rendering.</description>
- </attribute>
-
- <!--
- If the component is contained within an "list" (such as dataTable), this attribute indicates whether or not a
- '[n]' suffix should be added where 'n' is the row index. Default is true. The attribute is ignored if forceId
- is false (or not specified)
- -->
- <attribute>
- <name>forceIdIndex</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>
- If false, this component will not append a '[n]' suffix (where 'n' is the row index) to components
- that are contained within a "list." This value will be true by default and the value will be ignored if
- the value of forceId is false (or not specified.)
- </description>
- </attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>displayValueOnly</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If true, renders only the value of the component, but no input widget.
- Default is false.
- </description>
- </attribute>
- <attribute>
- <name>displayValueOnlyStyle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Style used when displayValueOnly is true.
- </description>
- </attribute>
- <attribute>
- <name>displayValueOnlyStyleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Style class used when displayValueOnly is true.
- </description>
- </attribute>
- </tag>
-
- <!-- selectManyMenu -->
- <tag>
- <name>selectManyMenu</name>
- <tag-class>org.apache.myfaces.taglib.html.ext.HtmlSelectManyMenuTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- Extends standard selectManyMenu by user role support.
- </description>
- <!-- UISelectMany attributes -->
- <!-- UIInput attributes -->
- <!-- UIOutput attributes -->
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
- <attribute>
- <name>value</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Initial value to set when rendered for the first time.</description>
- </attribute>
- <attribute>
- <name>converter</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Id of Converter to be used or reference to a Converter.</description>
- </attribute>
-
- <attribute>
- <name>immediate</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description> Flag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase.</description>
- </attribute>
- <attribute>
- <name>required</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will be checked for non-empty input.</description>
- </attribute>
- <attribute>
- <name>validator</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>MethodBinding pointing at a method that will be called during Process Validations phase of the request processing lifecycle, to validate the current value of this component.</description>
- </attribute>
- <attribute>
- <name>valueChangeListener</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Listener for value changes.</description>
- </attribute>
-
-
- <!-- HTML 4.0 universal attributes -->
- <attribute><name>dir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>lang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>style</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>title</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Corresponds to the HTML class attribute.</description>
- </attribute>
-
- <!-- HTML 4.0 event-handler attributes -->
- <attribute><name>onclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>ondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- HTML 4.0 select attributes -->
- <attribute><name>datafld</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>datasrc</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>dataformatas</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>disabled</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <!-- "multiple" cannot be set manually -->
- <!-- "name" cannot be set manually -->
- <attribute><name>onblur</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onchange</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onfocus</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <!-- "size" cannot be set directly for it is a MenuRenderer specific attribute -->
- <attribute><name>tabindex</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>readonly</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Flag indicating that this component will prohibit
- changes by the user. The element may receive focus
- unless it has also been disabled.</description>
- </attribute>
- <attribute><name>enabledClass</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>disabledClass</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>enabledOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, no hyperlink is rendered but all nested
- tags (=body) are rendered.
- </description>
- </attribute>
- <attribute>
- <name>visibleOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, nothing is rendered and the body of this tag
- will be skipped.
- </description>
- </attribute>
-
- <!--
- This attribute indicates that the component should be forced to use the specified id instead of
- using the one that faces generates. Components contained within a "list" will include a '[n]'
- suffix where 'n' is the row index (unless the forceIdIndex attribute is set to false).
- -->
- <attribute>
- <name>forceId</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will force the use of the specified id when rendering.</description>
- </attribute>
-
- <!--
- If the component is contained within an "list" (such as dataTable), this attribute indicates whether or not a
- '[n]' suffix should be added where 'n' is the row index. Default is true. The attribute is ignored if forceId
- is false (or not specified)
- -->
- <attribute>
- <name>forceIdIndex</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>
- If false, this component will not append a '[n]' suffix (where 'n' is the row index) to components
- that are contained within a "list." This value will be true by default and the value will be ignored if
- the value of forceId is false (or not specified.)
- </description>
- </attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>displayValueOnly</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If true, renders only the value of the component, but no input widget.
- Default is false.
- </description>
- </attribute>
- <attribute>
- <name>displayValueOnlyStyle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Style used when displayValueOnly is true.
- </description>
- </attribute>
- <attribute>
- <name>displayValueOnlyStyleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Style class used when displayValueOnly is true.
- </description>
- </attribute>
- </tag>
-
- <!-- selectOneRadio -->
- <tag>
- <name>selectOneRadio</name>
- <tag-class>org.apache.myfaces.taglib.html.ext.HtmlSelectOneRadioTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- Extends standard selectOneRadio by user role support.
- Additionally this extended selectOneRadio accepts a layout attribute
- of value "spread" (see custom radio tag).
- </description>
- <!-- all standard attributes of the selectOneRadio tag -->
- <!-- UISelectOne attributes -->
- <!-- UIInput attributes -->
- <!-- UIOutput attributes -->
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
- <attribute>
- <name>value</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Initial value to set when rendered for the first time.</description>
- </attribute>
- <attribute>
- <name>converter</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Id of Converter to be used or reference to a Converter.</description>
- </attribute>
-
- <attribute>
- <name>immediate</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description> Flag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase.</description>
- </attribute>
- <attribute>
- <name>required</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will be checked for non-empty input.</description>
- </attribute>
- <attribute>
- <name>validator</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>MethodBinding pointing at a method that will be called during Process Validations phase of the request processing lifecycle, to validate the current value of this component.</description>
- </attribute>
- <attribute>
- <name>valueChangeListener</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Listener for value changes.</description>
- </attribute>
-
-
- <!-- HTML 4.0 universal attributes -->
- <attribute><name>dir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>lang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>style</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>title</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Corresponds to the HTML class attribute.</description>
- </attribute>
-
- <!-- HTML 4.0 event-handler attributes -->
- <attribute><name>onclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>ondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- HTML 4.0 input attributes for type "radio" -->
- <attribute><name>accesskey</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>alt</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>datafld</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>datasrc</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>dataformatas</name><required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>disabled</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onblur</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onchange</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onfocus</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onselect</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>readonly</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>tabindex</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
-
- <!-- RadioRenderer attributes -->
- <attribute>
- <name>layout</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>see JSF Spec. 8.5.10</description>
- </attribute>
- <attribute>
- <name>border</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>see JSF Spec. 8.5.10</description>
- </attribute>
- <attribute><name>enabledClass</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>disabledClass</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>enabledOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, no hyperlink is rendered but all nested
- tags (=body) are rendered.
- </description>
- </attribute>
- <attribute>
- <name>visibleOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, nothing is rendered and the body of this tag
- will be skipped.
- </description>
- </attribute>
-
- <!--
- This attribute indicates that the component should be forced to use the specified id instead of
- using the one that faces generates. Components contained within a "list" will include a '[n]'
- suffix where 'n' is the row index (unless the forceIdIndex attribute is set to false).
- -->
- <attribute>
- <name>forceId</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will force the use of the specified id when rendering.</description>
- </attribute>
-
- <!--
- If the component is contained within an "list" (such as dataTable), this attribute indicates whether or not a
- '[n]' suffix should be added where 'n' is the row index. Default is true. The attribute is ignored if forceId
- is false (or not specified)
- -->
- <attribute>
- <name>forceIdIndex</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>
- If false, this component will not append a '[n]' suffix (where 'n' is the row index) to components
- that are contained within a "list." This value will be true by default and the value will be ignored if
- the value of forceId is false (or not specified.)
- </description>
- </attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>displayValueOnly</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If true, renders only the value of the component, but no input widget.
- Default is false.
- </description>
- </attribute>
- <attribute>
- <name>displayValueOnlyStyle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Style used when displayValueOnly is true.
- </description>
- </attribute>
- <attribute>
- <name>displayValueOnlyStyleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Style class used when displayValueOnly is true.
- </description>
- </attribute>
- </tag>
-
- <!-- selectBooleanCheckbox -->
- <tag>
- <name>selectBooleanCheckbox</name>
- <tag-class>org.apache.myfaces.taglib.html.ext.HtmlSelectBooleanCheckboxTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- Extends standard selectBooleanCheckbox by user role support.
- </description>
- <!-- UISelectBoolean attributes -->
- <!-- "selected" attribute is covered by HTML "checked" attribute -->
- <!-- UIInput attributes -->
- <!-- UIOutput attributes -->
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
- <attribute>
- <name>value</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Initial value to set when rendered for the first time.</description>
- </attribute>
- <attribute>
- <name>converter</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Id of Converter to be used or reference to a Converter.</description>
- </attribute>
-
- <attribute>
- <name>immediate</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description> Flag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase.</description>
- </attribute>
- <attribute>
- <name>required</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will be checked for non-empty input.</description>
- </attribute>
- <attribute>
- <name>validator</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>MethodBinding pointing at a method that will be called during Process Validations phase of the request processing lifecycle, to validate the current value of this component.</description>
- </attribute>
- <attribute>
- <name>valueChangeListener</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Listener for value changes.</description>
- </attribute>
-
-
- <!-- HTML 4.0 universal attributes -->
- <attribute><name>dir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>lang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>style</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>title</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Corresponds to the HTML class attribute.</description>
- </attribute>
-
- <!-- HTML 4.0 event-handler attributes -->
- <attribute><name>onclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>ondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- HTML 4.0 input attributes for type "checkbox" -->
- <attribute><name>accesskey</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>alt</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>datafld</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>datasrc</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>dataformatas</name><required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>disabled</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onblur</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onchange</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onfocus</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onselect</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>readonly</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>tabindex</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>enabledOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, no hyperlink is rendered but all nested
- tags (=body) are rendered.
- </description>
- </attribute>
- <attribute>
- <name>visibleOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, nothing is rendered and the body of this tag
- will be skipped.
- </description>
- </attribute>
-
- <!--
- This attribute indicates that the component should be forced to use the specified id instead of
- using the one that faces generates. Components contained within a "list" will include a '[n]'
- suffix where 'n' is the row index (unless the forceIdIndex attribute is set to false).
- -->
- <attribute>
- <name>forceId</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will force the use of the specified id when rendering.</description>
- </attribute>
-
- <!--
- If the component is contained within an "list" (such as dataTable), this attribute indicates whether or not a
- '[n]' suffix should be added where 'n' is the row index. Default is true. The attribute is ignored if forceId
- is false (or not specified)
- -->
- <attribute>
- <name>forceIdIndex</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>
- If false, this component will not append a '[n]' suffix (where 'n' is the row index) to components
- that are contained within a "list." This value will be true by default and the value will be ignored if
- the value of forceId is false (or not specified.)
- </description>
- </attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>displayValueOnly</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If true, renders only the value of the component, but no input widget.
- Default is false.
- </description>
- </attribute>
- <attribute>
- <name>displayValueOnlyStyle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Style used when displayValueOnly is true.
- </description>
- </attribute>
- <attribute>
- <name>displayValueOnlyStyleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Style class used when displayValueOnly is true.
- </description>
- </attribute>
- </tag>
-
- <!-- selectManyCheckbox -->
- <tag>
- <name>selectManyCheckbox</name>
- <tag-class>org.apache.myfaces.taglib.html.ext.HtmlSelectManyCheckboxTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- Extends standard selectManyCheckbox by user role support.
- Additionally this extended selectManyCheckbox accepts a layout attribute
- of value "spread" (see custom checkbox tag).
- </description>
- <!-- all standard attributes of the selectManyCheckbox tag -->
- <!-- UISelectMany attributes -->
- <!-- UIInput attributes -->
- <!-- UIOutput attributes -->
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
- <attribute>
- <name>value</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Initial value to set when rendered for the first time.</description>
- </attribute>
- <attribute>
- <name>converter</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Id of Converter to be used or reference to a Converter.</description>
- </attribute>
-
- <attribute>
- <name>immediate</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description> Flag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase.</description>
- </attribute>
- <attribute>
- <name>required</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will be checked for non-empty input.</description>
- </attribute>
- <attribute>
- <name>validator</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>MethodBinding pointing at a method that will be called during Process Validations phase of the request processing lifecycle, to validate the current value of this component.</description>
- </attribute>
- <attribute>
- <name>valueChangeListener</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Listener for value changes.</description>
- </attribute>
-
-
- <!-- HTML 4.0 universal attributes -->
- <attribute><name>dir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>lang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>style</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>title</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Corresponds to the HTML class attribute.</description>
- </attribute>
-
- <!-- HTML 4.0 event-handler attributes -->
- <attribute><name>onclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>ondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- HTML 4.0 input attributes for type "checkbox" -->
- <attribute><name>accesskey</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>alt</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>datafld</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>datasrc</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>dataformatas</name><required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>disabled</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onblur</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onchange</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onfocus</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onselect</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>readonly</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>tabindex</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
-
- <!-- CheckboxListRenderer attributes -->
- <attribute>
- <name>layout</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>see JSF Spec. 8.5.9</description>
- </attribute>
- <!--TODO: disabledClass, enabledClass -->
- <attribute><name>enabledClass</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>disabledClass</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <attribute>
- <name>layoutWidth</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- A number representing the amount of checkbox rows if
- the layout is lineDirection and checkbox columns if
- the layout is pageDirection.
- </description>
- </attribute>
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>enabledOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, no hyperlink is rendered but all nested
- tags (=body) are rendered.
- </description>
- </attribute>
- <attribute>
- <name>visibleOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, nothing is rendered and the body of this tag
- will be skipped.
- </description>
- </attribute>
-
- <!--
- This attribute indicates that the component should be forced to use the specified id instead of
- using the one that faces generates. Components contained within a "list" will include a '[n]'
- suffix where 'n' is the row index (unless the forceIdIndex attribute is set to false).
- -->
- <attribute>
- <name>forceId</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will force the use of the specified id when rendering.</description>
- </attribute>
-
- <!--
- If the component is contained within an "list" (such as dataTable), this attribute indicates whether or not a
- '[n]' suffix should be added where 'n' is the row index. Default is true. The attribute is ignored if forceId
- is false (or not specified)
- -->
- <attribute>
- <name>forceIdIndex</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>
- If false, this component will not append a '[n]' suffix (where 'n' is the row index) to components
- that are contained within a "list." This value will be true by default and the value will be ignored if
- the value of forceId is false (or not specified.)
- </description>
- </attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>displayValueOnly</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If true, renders only the value of the component, but no input widget.
- Default is false.
- </description>
- </attribute>
- <attribute>
- <name>displayValueOnlyStyle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Style used when displayValueOnly is true.
- </description>
- </attribute>
- <attribute>
- <name>displayValueOnlyStyleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Style class used when displayValueOnly is true.
- </description>
- </attribute>
- </tag>
-
- <!-- selectOneListbox -->
- <tag>
- <name>selectOneListbox</name>
- <tag-class>org.apache.myfaces.taglib.html.ext.HtmlSelectOneListboxTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- Extends standard selectOneListbox by user role support.
- </description>
- <!-- UISelectOne attributes -->
- <!-- UIInput attributes -->
- <!-- UIOutput attributes -->
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
- <attribute>
- <name>value</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Initial value to set when rendered for the first time.</description>
- </attribute>
- <attribute>
- <name>converter</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Id of Converter to be used or reference to a Converter.</description>
- </attribute>
-
- <attribute>
- <name>immediate</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description> Flag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase.</description>
- </attribute>
- <attribute>
- <name>required</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will be checked for non-empty input.</description>
- </attribute>
- <attribute>
- <name>validator</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>MethodBinding pointing at a method that will be called during Process Validations phase of the request processing lifecycle, to validate the current value of this component.</description>
- </attribute>
- <attribute>
- <name>valueChangeListener</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Listener for value changes.</description>
- </attribute>
-
-
- <!-- HTML 4.0 universal attributes -->
- <attribute><name>dir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>lang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>style</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>title</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Corresponds to the HTML class attribute.</description>
- </attribute>
-
- <!-- HTML 4.0 event-handler attributes -->
- <attribute><name>onclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>ondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- HTML 4.0 select attributes -->
- <attribute><name>datafld</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>datasrc</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>dataformatas</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>disabled</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <!-- "multiple" cannot be set manually -->
- <!-- "name" cannot be set manually -->
- <attribute><name>onblur</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onchange</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onfocus</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <!-- "size" cannot be set directly for it is a MenuRenderer specific attribute -->
- <attribute><name>tabindex</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>readonly</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Flag indicating that this component will prohibit
- changes by the user. The element may receive focus
- unless it has also been disabled.</description>
- </attribute>
- <!-- ListboxRenderer attributes -->
- <attribute>
- <name>size</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>see JSF Spec.</description>
- </attribute>
- <attribute><name>enabledClass</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>disabledClass</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>enabledOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, no hyperlink is rendered but all nested
- tags (=body) are rendered.
- </description>
- </attribute>
- <attribute>
- <name>visibleOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, nothing is rendered and the body of this tag
- will be skipped.
- </description>
- </attribute>
-
- <!--
- This attribute indicates that the component should be forced to use the specified id instead of
- using the one that faces generates. Components contained within a "list" will include a '[n]'
- suffix where 'n' is the row index (unless the forceIdIndex attribute is set to false).
- -->
- <attribute>
- <name>forceId</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will force the use of the specified id when rendering.</description>
- </attribute>
-
- <!--
- If the component is contained within an "list" (such as dataTable), this attribute indicates whether or not a
- '[n]' suffix should be added where 'n' is the row index. Default is true. The attribute is ignored if forceId
- is false (or not specified)
- -->
- <attribute>
- <name>forceIdIndex</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>
- If false, this component will not append a '[n]' suffix (where 'n' is the row index) to components
- that are contained within a "list." This value will be true by default and the value will be ignored if
- the value of forceId is false (or not specified.)
- </description>
- </attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>displayValueOnly</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If true, renders only the value of the component, but no input widget.
- Default is false.
- </description>
- </attribute>
- <attribute>
- <name>displayValueOnlyStyle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Style used when displayValueOnly is true.
- </description>
- </attribute>
- <attribute>
- <name>displayValueOnlyStyleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Style class used when displayValueOnly is true.
- </description>
- </attribute>
- </tag>
-
- <!-- selectManyListbox -->
- <tag>
- <name>selectManyListbox</name>
- <tag-class>org.apache.myfaces.taglib.html.ext.HtmlSelectManyListboxTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- Extends standard selectManyListbox by user role support.
- </description>
- <!-- UISelectMany attributes -->
- <!-- UIInput attributes -->
- <!-- UIOutput attributes -->
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
- <attribute>
- <name>value</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Initial value to set when rendered for the first time.</description>
- </attribute>
- <attribute>
- <name>converter</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Id of Converter to be used or reference to a Converter.</description>
- </attribute>
-
- <attribute>
- <name>immediate</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description> Flag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase.</description>
- </attribute>
- <attribute>
- <name>required</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will be checked for non-empty input.</description>
- </attribute>
- <attribute>
- <name>validator</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>MethodBinding pointing at a method that will be called during Process Validations phase of the request processing lifecycle, to validate the current value of this component.</description>
- </attribute>
- <attribute>
- <name>valueChangeListener</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Listener for value changes.</description>
- </attribute>
-
-
- <!-- HTML 4.0 universal attributes -->
- <attribute><name>dir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>lang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>style</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>title</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Corresponds to the HTML class attribute.</description>
- </attribute>
-
- <!-- HTML 4.0 event-handler attributes -->
- <attribute><name>onclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>ondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- HTML 4.0 select attributes -->
- <attribute><name>datafld</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>datasrc</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>dataformatas</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>disabled</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <!-- "multiple" cannot be set manually -->
- <!-- "name" cannot be set manually -->
- <attribute><name>onblur</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onchange</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onfocus</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <!-- "size" cannot be set directly for it is a MenuRenderer specific attribute -->
- <attribute><name>tabindex</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>readonly</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Flag indicating that this component will prohibit
- changes by the user. The element may receive focus
- unless it has also been disabled.</description>
- </attribute>
- <!-- ListboxRenderer attributes -->
- <attribute>
- <name>size</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>see JSF Spec.</description>
- </attribute>
- <attribute><name>enabledClass</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>disabledClass</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>enabledOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, no hyperlink is rendered but all nested
- tags (=body) are rendered.
- </description>
- </attribute>
- <attribute>
- <name>visibleOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, nothing is rendered and the body of this tag
- will be skipped.
- </description>
- </attribute>
-
- <!--
- This attribute indicates that the component should be forced to use the specified id instead of
- using the one that faces generates. Components contained within a "list" will include a '[n]'
- suffix where 'n' is the row index (unless the forceIdIndex attribute is set to false).
- -->
- <attribute>
- <name>forceId</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will force the use of the specified id when rendering.</description>
- </attribute>
-
- <!--
- If the component is contained within an "list" (such as dataTable), this attribute indicates whether or not a
- '[n]' suffix should be added where 'n' is the row index. Default is true. The attribute is ignored if forceId
- is false (or not specified)
- -->
- <attribute>
- <name>forceIdIndex</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>
- If false, this component will not append a '[n]' suffix (where 'n' is the row index) to components
- that are contained within a "list." This value will be true by default and the value will be ignored if
- the value of forceId is false (or not specified.)
- </description>
- </attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>displayValueOnly</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If true, renders only the value of the component, but no input widget.
- Default is false.
- </description>
- </attribute>
- <attribute>
- <name>displayValueOnlyStyle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Style used when displayValueOnly is true.
- </description>
- </attribute>
- <attribute>
- <name>displayValueOnlyStyleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Style class used when displayValueOnly is true.
- </description>
- </attribute>
- </tag>
-
-<!-- Custom components -->
-
- <!-- calendar -->
- <tag>
- <name>inputCalendar</name>
- <tag-class>org.apache.myfaces.custom.calendar.HtmlInputCalendarTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- Provides a calendar.
- </description>
- <!-- UIInput attributes -->
- <!-- UIOutput attributes -->
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
- <attribute>
- <name>value</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Initial value to set when rendered for the first time.</description>
- </attribute>
- <attribute>
- <name>converter</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Id of Converter to be used or reference to a Converter.</description>
- </attribute>
-
- <attribute>
- <name>immediate</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description> Flag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase.</description>
- </attribute>
- <attribute>
- <name>required</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will be checked for non-empty input.</description>
- </attribute>
- <attribute>
- <name>validator</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>MethodBinding pointing at a method that will be called during Process Validations phase of the request processing lifecycle, to validate the current value of this component.</description>
- </attribute>
- <attribute>
- <name>valueChangeListener</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Listener for value changes.</description>
- </attribute>
-
- <!-- HTML 4.0 event-handler attributes -->
- <attribute><name>onclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>ondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- HTML 4.0 universal attributes -->
- <attribute><name>dir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>lang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>style</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>title</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Corresponds to the HTML class attribute.</description>
- </attribute>
-
- <!-- HTML 4.0 input attributes -->
- <attribute><name>accesskey</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>align</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>alt</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>disabled</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>maxlength</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onblur</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onchange</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onfocus</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onselect</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>readonly</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>size</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>tabindex</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>enabledOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, no hyperlink is rendered but all nested
- tags (=body) are rendered.
- </description>
- </attribute>
- <attribute>
- <name>visibleOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, nothing is rendered and the body of this tag
- will be skipped.
- </description>
- </attribute>
-
- <!--
- This attribute indicates that the component should be forced to use the specified id instead of
- using the one that faces generates. Components contained within a "list" will include a '[n]'
- suffix where 'n' is the row index (unless the forceIdIndex attribute is set to false).
- -->
- <attribute>
- <name>forceId</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will force the use of the specified id when rendering.</description>
- </attribute>
-
- <!--
- If the component is contained within an "list" (such as dataTable), this attribute indicates whether or not a
- '[n]' suffix should be added where 'n' is the row index. Default is true. The attribute is ignored if forceId
- is false (or not specified)
- -->
- <attribute>
- <name>forceIdIndex</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>
- If false, this component will not append a '[n]' suffix (where 'n' is the row index) to components
- that are contained within a "list." This value will be true by default and the value will be ignored if
- the value of forceId is false (or not specified.)
- </description>
- </attribute>
-
- <attribute>
- <name>monthYearRowClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>CSS class to be used for the header-row showing month and year.</description>
- </attribute>
- <attribute>
- <name>weekRowClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>CSS class to be used for the header-row showing the week-days.</description>
- </attribute>
- <attribute>
- <name>dayCellClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>CSS class to be used for the cells showing days.</description>
- </attribute>
- <attribute>
- <name>currentDayCellClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>CSS class to be used for the cell of the currently selected date.</description>
- </attribute>
- <attribute>
- <name>renderAsPopup</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Render the input-calendar as a java-script popup on client.</description>
- </attribute>
- <attribute>
- <name>addResources</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Automatically add the input-calendar scripts and css files to the header - set that to false to provide the scripts yourself.</description>
- </attribute>
- <attribute>
- <name>popupDateFormat</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Defines the date format used by the java-script popup on client.</description>
- </attribute>
- <attribute>
- <name>popupButtonString</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Defines the string displayed on the button which leads to the calendar-popup-window (... by default).</description>
- </attribute>
- <attribute>
- <name>popupGotoString</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Set the string for "Go To Current Month"</description>
- </attribute>
- <attribute>
- <name>popupTodayString</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Set the string for "Today is"</description>
- </attribute>
- <attribute>
- <name>popupWeekString</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Set the string for "Wk"</description>
- </attribute>
- <attribute>
- <name>popupScrollLeftMessage</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Set the string for scrolling to the left.</description>
- </attribute>
- <attribute>
- <name>popupScrollRightMessage</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Set the string for scrolling to the right.</description>
- </attribute>
- <attribute>
- <name>popupSelectMonthMessage</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Set the string for "Click to select a month".</description>
- </attribute>
- <attribute>
- <name>popupSelectYearMessage</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Set the string for "Click to select a year".</description>
- </attribute>
- <attribute>
- <name>popupSelectDateMessage</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Set the string for "Select [date] as date" (do not replace [date], it will be replaced by the current date).</description>
- </attribute>
- <attribute>
- <name>renderPopupButtonAsImage</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>If true, renders a calendar icon instead of the button to pop up the calendar.</description>
- </attribute>
- </tag>
-
- <!-- jsValueChangeListener -->
- <tag>
- <name>jsValueChangeListener</name>
- <tag-class>org.apache.myfaces.custom.jslistener.JsValueChangeListenerTag</tag-class>
- <body-content>empty</body-content>
- <description>Value change listener on client side.</description>
- <attribute>
- <name>for</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>property</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>expressionValue</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
- <!-- jsValueSet -->
- <tag>
- <name>jsValueSet</name>
- <tag-class>org.apache.myfaces.custom.jsvalueset.HtmlJsValueSetTag</tag-class>
- <body-content>empty</body-content>
- <description>Setting a value from the model in java-script so that it can be used (e.g. by the value change listener) afterwards.</description>
- <attribute>
- <name>name</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>value</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
- <!-- checkbox -->
- <tag>
- <name>checkbox</name>
- <tag-class>org.apache.myfaces.custom.checkbox.HtmlCheckboxTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- Renders a HTML input of type "checkbox". The associated SelectItem comes from
- an extended selectManyCheckbox component with layout "spread". The selectManyCheckbox
- is referenced by the "for" attribute.
- All HTML pass-through attributes for this input are taken from the associated
- selectManyCheckbox.
- </description>
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>enabledOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, no hyperlink is rendered but all nested
- tags (=body) are rendered.
- </description>
- </attribute>
- <attribute>
- <name>visibleOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, nothing is rendered and the body of this tag
- will be skipped.
- </description>
- </attribute>
-
- <!-- HtmlCheckbox attributes -->
- <attribute>
- <name>for</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- id of the referenced extended selectManyCheckbox component
- </description>
- </attribute>
- <attribute>
- <name>index</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- n-th SelectItem of referenced UISelectMany starting with 0.
- </description>
- </attribute>
- </tag>
-
- <!-- commandNavigation2 -->
- <tag>
- <name>commandNavigation2</name>
- <tag-class>org.apache.myfaces.custom.navmenu.htmlnavmenu.HtmlCommandNavigationItemTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- Must be nested inside a panel_navigation action and renders a
- clickable navigation item.
- This action is derived from the standard command_link action and
- has equal attributes.
- (Replaces former "navigation_item" tag.)
- </description>
- <!--TODO: make id attribute mandatory -->
- <!-- UICommand attributes -->
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
- <attribute>
- <name>action</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>MethodBinding pointing at the application action to be invoked, if this UIComponent is activated by the user, during the Apply Request Values or Invoke Application phase of the request processing lifecycle, depending on the value of the immediate property.</description>
- </attribute>
- <attribute>
- <name>actionListener</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>MethodBinding pointing at method acception an ActionEvent with return type void.</description>
- </attribute>
- <attribute>
- <name>immediate</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>True means, that the default ActionListener should be executed immediately (i.e. during Apply Request Values phase of the request processing lifecycle), rather than waiting until the Invoke Application phase.</description>
- </attribute>
- <attribute>
- <name>value</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Initial value to set when rendered for the first time.</description>
- </attribute>
-
- <!-- HTML 4.0 universal attributes -->
- <attribute><name>dir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>lang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>style</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>title</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Corresponds to the HTML class attribute.</description>
- </attribute>
-
- <!-- HTML 4.0 event-handler attributes -->
- <attribute><name>onclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>ondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- HTML 4.0 anchor (=a) attributes -->
- <attribute><name>accesskey</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>charset</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>coords</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <!-- "href" is a special LinkRenderer attribute -->
- <attribute><name>hreflang</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <!-- "name" cannot be set by user -->
- <attribute><name>rel</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>rev</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>shape</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>tabindex</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>type</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <!--todo: is in JSF API of HtmlCommandLink and HtmlOutputLink, but there is no corresponding tag in HTML 4.0.. What to do?-->
- <attribute>
- <name>onblur</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <!--todo: is in JSF API of HtmlCommandLink and HtmlOutputLink, but there is no corresponding tag in HTML 4.0.. What to do?-->
- <attribute>
- <name>onfocus</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>target</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>enabledOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, no hyperlink is rendered but all nested
- tags (=body) are rendered.
- </description>
- </attribute>
- <attribute>
- <name>visibleOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, nothing is rendered and the body of this tag
- will be skipped.
- </description>
- </attribute>
-
- <!-- HtmlCommandLink attributes -->
- <!--TODO: is in JSF API, but there is no corresponding tag in HTML 4.0.. What to do?-->
- <attribute>
- <name>onblur</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <!--TODO: is in JSF API, but there is no corresponding tag in HTML 4.0.. What to do?-->
- <attribute>
- <name>onfocus</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <!-- TODO attributes image, label - old todo.. still necessary?-->
- </tag>
-
- <!-- commandNavigation -->
- <tag>
- <name>commandNavigation</name>
- <tag-class>org.apache.myfaces.custom.navigation.HtmlCommandNavigationTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- Must be nested inside a panel_navigation action and renders a
- clickable navigation item.
- This action is derived from the standard command_link action and
- has equal attributes.
- (Replaces former "navigation_item" tag.)
- </description>
- <!--TODO: make id attribute mandatory -->
- <!-- UICommand attributes -->
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
- <attribute>
- <name>action</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>MethodBinding pointing at the application action to be invoked, if this UIComponent is activated by the user, during the Apply Request Values or Invoke Application phase of the request processing lifecycle, depending on the value of the immediate property.</description>
- </attribute>
- <attribute>
- <name>actionListener</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>MethodBinding pointing at method acception an ActionEvent with return type void.</description>
- </attribute>
- <attribute>
- <name>immediate</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>True means, that the default ActionListener should be executed immediately (i.e. during Apply Request Values phase of the request processing lifecycle), rather than waiting until the Invoke Application phase.</description>
- </attribute>
- <attribute>
- <name>value</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Initial value to set when rendered for the first time.</description>
- </attribute>
-
- <!-- HTML 4.0 universal attributes -->
- <attribute><name>dir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>lang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>style</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>title</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Corresponds to the HTML class attribute.</description>
- </attribute>
-
- <!-- HTML 4.0 event-handler attributes -->
- <attribute><name>onclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>ondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- HTML 4.0 anchor (=a) attributes -->
- <attribute><name>accesskey</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>charset</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>coords</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <!-- "href" is a special LinkRenderer attribute -->
- <attribute><name>hreflang</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <!-- "name" cannot be set by user -->
- <attribute><name>rel</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>rev</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>shape</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>tabindex</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>type</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <!--todo: is in JSF API of HtmlCommandLink and HtmlOutputLink, but there is no corresponding tag in HTML 4.0.. What to do?-->
- <attribute>
- <name>onblur</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <!--todo: is in JSF API of HtmlCommandLink and HtmlOutputLink, but there is no corresponding tag in HTML 4.0.. What to do?-->
- <attribute>
- <name>onfocus</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>target</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>enabledOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, no hyperlink is rendered but all nested
- tags (=body) are rendered.
- </description>
- </attribute>
- <attribute>
- <name>visibleOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, nothing is rendered and the body of this tag
- will be skipped.
- </description>
- </attribute>
-
- <!-- HtmlCommandLink attributes -->
- <!--TODO: is in JSF API, but there is no corresponding tag in HTML 4.0.. What to do?-->
- <attribute>
- <name>onblur</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <!--TODO: is in JSF API, but there is no corresponding tag in HTML 4.0.. What to do?-->
- <attribute>
- <name>onfocus</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <!-- TODO attributes image, label - old todo.. still necessary?-->
- </tag>
-
- <!-- commandSortHeader -->
- <tag>
- <name>commandSortHeader</name>
- <tag-class>org.apache.myfaces.custom.sortheader.HtmlCommandSortHeaderTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- Clickable sort column header.
- Must be nested inside an extended data_table tag.
- This tag is derived from the standard command_link tag and
- has the additional attributes columnName and arrow.
- Note: In contrary to normal command links the default for the "immediate"
- attribute is "true".
- </description>
- <!-- UICommand attributes -->
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
- <attribute>
- <name>action</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>MethodBinding pointing at the application action to be invoked, if this UIComponent is activated by the user, during the Apply Request Values or Invoke Application phase of the request processing lifecycle, depending on the value of the immediate property.</description>
- </attribute>
- <attribute>
- <name>actionListener</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>MethodBinding pointing at method acception an ActionEvent with return type void.</description>
- </attribute>
- <attribute>
- <name>immediate</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>True means, that the default ActionListener should be executed immediately (i.e. during Apply Request Values phase of the request processing lifecycle), rather than waiting until the Invoke Application phase.</description>
- </attribute>
- <attribute>
- <name>value</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Initial value to set when rendered for the first time.</description>
- </attribute>
-
- <!-- HTML 4.0 universal attributes -->
- <attribute><name>dir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>lang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>style</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>title</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Corresponds to the HTML class attribute.</description>
- </attribute>
-
- <!-- HTML 4.0 event-handler attributes -->
- <attribute><name>onclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>ondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- HTML 4.0 anchor (=a) attributes -->
- <attribute><name>accesskey</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>charset</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>coords</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <!-- "href" is a special LinkRenderer attribute -->
- <attribute><name>hreflang</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <!-- "name" cannot be set by user -->
- <attribute><name>rel</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>rev</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>shape</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>tabindex</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>type</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <!--todo: is in JSF API of HtmlCommandLink and HtmlOutputLink, but there is no corresponding tag in HTML 4.0.. What to do?-->
- <attribute>
- <name>onblur</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <!--todo: is in JSF API of HtmlCommandLink and HtmlOutputLink, but there is no corresponding tag in HTML 4.0.. What to do?-->
- <attribute>
- <name>onfocus</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>target</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>enabledOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, no hyperlink is rendered but all nested
- tags (=body) are rendered.
- </description>
- </attribute>
- <attribute>
- <name>visibleOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, nothing is rendered and the body of this tag
- will be skipped.
- </description>
- </attribute>
-
- <!-- HtmlCommandSortHeader attributes -->
- <attribute>
- <name>columnName</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- The name of this column.
- This name must uniquely identify this column among all other (sortable) columns
- in the same data_table.
- The sortColumn attribute of the embedding data_table reflects the current
- sort column (see extended data_table).
- </description>
- </attribute>
- <attribute>
- <name>arrow</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Indicates whether an arrow, that shows the sort direction should be rendered.
- Default: false
- </description>
- </attribute>
- </tag>
-
- <!-- dataList -->
- <tag>
- <name>dataList</name>
- <tag-class>org.apache.myfaces.custom.datalist.HtmlDataListTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- Similar to dataTable, but does not render a table. Instead the layout
- attribute controls how each dataRow is rendered.
- </description>
- <!-- UIPanel attributes -->
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
-
- <!-- HTML 4.0 universal attributes -->
- <attribute><name>dir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>lang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>style</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>title</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Corresponds to the HTML class attribute.</description>
- </attribute>
-
- <!-- HTML 4.0 event-handler attributes -->
- <attribute><name>onclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>ondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!--
- This attribute indicates that the component should be forced to use the specified id instead of
- using the one that faces generates. Components contained within a "list" will include a '[n]'
- suffix where 'n' is the row index (unless the forceIdIndex attribute is set to false).
- -->
- <attribute>
- <name>forceId</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will force the use of the specified id when rendering.</description>
- </attribute>
-
- <!--
- If the component is contained within an "list" (such as dataTable), this attribute indicates whether or not a
- '[n]' suffix should be added where 'n' is the row index. Default is true. The attribute is ignored if forceId
- is false (or not specified)
- -->
- <attribute>
- <name>forceIdIndex</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>
- If false, this component will not append a '[n]' suffix (where 'n' is the row index) to components
- that are contained within a "list." This value will be true by default and the value will be ignored if
- the value of forceId is false (or not specified.)
- </description>
- </attribute>
-
- <!-- UIData attributes -->
- <attribute>
- <name>value</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Supported types see JSF Spec 4.1.3</description>
- </attribute>
- <attribute>
- <name>var</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>rows</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>first</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>enabledOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, no hyperlink is rendered but all nested
- tags (=body) are rendered.
- </description>
- </attribute>
- <attribute>
- <name>visibleOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, nothing is rendered and the body of this tag
- will be skipped.
- </description>
- </attribute>
-
- <attribute>
- <name>layout</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- simple|unorderedList|orderedList
- simple = for each dataRow all children are simply rendered
- unorderedList = the list is rendered as HTML unordered list (= bullet list)
- orderedList = the list is rendered as HTML ordered list
- Default: simple
- </description>
- </attribute>
- <attribute>
- <name>rowIndexVar</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- A parameter name, under which the current rowIndex is set in request scope
- similar to the var parameter.
- </description>
- </attribute>
- <attribute>
- <name>rowCountVar</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- A parameter name, under which the rowCount is set in request scope
- similar to the var parameter.
- </description>
- </attribute>
- </tag>
-
- <!-- dataScroller -->
- <tag>
- <name>dataScroller</name>
- <tag-class>org.apache.myfaces.custom.datascroller.HtmlDataScrollerTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- Scroller for UIData components eg. dataTable
- Must be nested inside footer facet of dataTable OR for attribute must be given
- so that corresponding uiData can be found
- </description>
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>enabledOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, no hyperlink is rendered but all nested
- tags (=body) are rendered.
- </description>
- </attribute>
- <attribute>
- <name>visibleOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, nothing is rendered and the body of this tag
- will be skipped.
- </description>
- </attribute>
-
- <attribute>
- <name>for</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>fastStep</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>step (pages) used for fastforward and fastrewind</description>
- </attribute>
- <attribute>
- <name>pageIndexVar</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- A parameter name, under which the actual page index is set in request scope
- similar to the var parameter.
- </description>
- </attribute>
- <attribute>
- <name>pageCountVar</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- A parameter name, under which the actual page count is set in request scope
- similar to the var parameter.
- </description>
- </attribute>
- <attribute>
- <name>rowsCountVar</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- A parameter name, under which the actual rows count is set in request scope
- similar to the var parameter.
- </description>
- </attribute>
- <attribute>
- <name>displayedRowsCountVar</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- A parameter name, under which the actual displayed rows count is set in request scope
- similar to the var parameter.
- </description>
- </attribute>
- <attribute>
- <name>firstRowIndexVar</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- A parameter name, under which the actual first displayed row index is set in request scope
- similar to the var parameter.
- </description>
- </attribute>
- <attribute>
- <name>lastRowIndexVar</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- A parameter name, under which the actual last displayed row index is set in request scope
- similar to the var parameter.
- </description>
- </attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- styleClass for scroller table
- </description>
- </attribute>
- <attribute>
- <name>style</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- style for scroller table
- </description>
- </attribute>
- <attribute>
- <name>paginator</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If set true, then the paginator gets rendered
- </description>
- </attribute>
- <attribute>
- <name>paginatorMaxPages</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- The maximum amount of pages to be displayed in the paginator.
- </description>
- </attribute>
- <attribute>
- <name>paginatorTableClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- styleclass for pagingator
- </description>
- </attribute>
- <attribute>
- <name>paginatorTableStyle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- style for pagingator
- </description>
- </attribute>
- <attribute>
- <name>paginatorColumnClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- styleClass for paginator's column
- </description>
- </attribute>
- <attribute>
- <name>paginatorColumnStyle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- style for paginator's column
- </description>
- </attribute>
- <attribute>
- <name>paginatorActiveColumnClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- styleClass for paginator's column with pageIndex = currentPageIndex
- </description>
- </attribute>
- <attribute>
- <name>paginatorActiveColumnStyle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- style for paginator's column with pageIndex = currentPageIndex
- </description>
- </attribute>
- <attribute>
- <name>renderFacetsIfSinglePage</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If set to false, the facets aren't renderd if all the lines are contained on a single page.
- Default is true.
- </description>
- </attribute>
- <attribute>
- <name>immediate</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>True means, that the default ActionListener should be executed immediately (i.e. during Apply Request Values phase of the request processing lifecycle), rather than waiting until the Invoke Application phase.</description>
- </attribute>
- <attribute>
- <name>actionListener</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>MethodBinding pointing at method acception an ActionEvent with return type void.</description>
- </attribute>
- </tag>
-
- <!-- inputDate -->
- <tag>
- <name>inputDate</name>
- <tag-class>org.apache.myfaces.custom.date.HtmlInputDateTag</tag-class>
- <body-content>JSP</body-content>
- <!-- UIInput attributes -->
- <!-- UIOutput attributes -->
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
- <attribute>
- <name>value</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Initial value to set when rendered for the first time.</description>
- </attribute>
- <attribute>
- <name>converter</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Id of Converter to be used or reference to a Converter.</description>
- </attribute>
-
- <attribute>
- <name>immediate</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description> Flag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase.</description>
- </attribute>
- <attribute>
- <name>required</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will be checked for non-empty input.</description>
- </attribute>
- <attribute>
- <name>validator</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>MethodBinding pointing at a method that will be called during Process Validations phase of the request processing lifecycle, to validate the current value of this component.</description>
- </attribute>
- <attribute>
- <name>valueChangeListener</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Listener for value changes.</description>
- </attribute>
-
- <!-- HTML 4.0 universal attributes -->
- <attribute><name>dir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>lang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>style</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>title</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Corresponds to the HTML class attribute.</description>
- </attribute>
-
- <!-- HTML 4.0 event-handler attributes -->
- <attribute><name>onclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>ondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- HTML 4.0 input attributes -->
- <attribute><name>accesskey</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>align</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>alt</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>disabled</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>maxlength</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onblur</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onchange</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onfocus</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onselect</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>readonly</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>size</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>tabindex</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>enabledOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, no hyperlink is rendered but all nested
- tags (=body) are rendered.
- </description>
- </attribute>
- <attribute>
- <name>visibleOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, nothing is rendered and the body of this tag
- will be skipped.
- </description>
- </attribute>
-
- <!-- type == date | time | both -->
- <attribute>
- <name>type</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>popupCalendar</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>timeZone</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
- <!-- inputFileUpload -->
- <tag>
- <name>inputFileUpload</name>
- <tag-class>org.apache.myfaces.custom.fileupload.HtmlInputFileUploadTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- You must enable the MultiPart Filter to make this component
- work (see web.xml). Also, don't forget to set the form's attribute
- "enctype" to "multipart/form-data".
- See "examples/web/fileupload.jsp" for an example!
- </description>
- <!-- UIInput attributes -->
- <!-- UIOutput attributes -->
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
- <attribute>
- <name>value</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Initial value to set when rendered for the first time.</description>
- </attribute>
- <attribute>
- <name>converter</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Id of Converter to be used or reference to a Converter.</description>
- </attribute>
-
- <attribute>
- <name>immediate</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description> Flag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase.</description>
- </attribute>
- <attribute>
- <name>required</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will be checked for non-empty input.</description>
- </attribute>
- <attribute>
- <name>validator</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>MethodBinding pointing at a method that will be called during Process Validations phase of the request processing lifecycle, to validate the current value of this component.</description>
- </attribute>
- <attribute>
- <name>valueChangeListener</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Listener for value changes.</description>
- </attribute>
-
- <!-- HTML 4.0 universal attributes -->
- <attribute><name>dir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>lang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>style</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>title</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Corresponds to the HTML class attribute.</description>
- </attribute>
-
- <!-- HTML 4.0 event-handler attributes -->
- <attribute><name>onclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>ondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- HTML 4.0 input attributes -->
- <attribute><name>accesskey</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>align</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>alt</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>disabled</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>maxlength</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onblur</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onchange</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onfocus</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>onselect</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>readonly</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>size</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <attribute><name>tabindex</name> <required>false</required> <rtexprvalue>false</rtexprvalue><type>java.lang.String</type></attribute>
- <!-- HTML 4.0 input type="file" attributes -->
- <attribute>
- <name>accept</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>storage</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
- <!-- inputHtml -->
- <tag>
- <name>inputHtml</name>
- <tag-class>org.apache.myfaces.custom.inputHtml.InputHtmlTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- An inline HTML based word processor based on the Kupu library. See http://kupu.oscom.org
- Right now, the support is limited to one editor per page
- (but you can use tabs to have multiple editors, but only one rendered at a time).
- </description>
- <!-- UIInput attributes -->
- <!-- UIOutput attributes -->
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
- <attribute>
- <name>value</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Initial value to set when rendered for the first time.</description>
- </attribute>
- <attribute>
- <name>converter</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Id of Converter to be used or reference to a Converter.</description>
- </attribute>
-
- <attribute>
- <name>immediate</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description> Flag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase.</description>
- </attribute>
- <attribute>
- <name>required</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will be checked for non-empty input.</description>
- </attribute>
- <attribute>
- <name>validator</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>MethodBinding pointing at a method that will be called during Process Validations phase of the request processing lifecycle, to validate the current value of this component.</description>
- </attribute>
- <attribute>
- <name>valueChangeListener</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Listener for value changes.</description>
- </attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>enabledOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, no hyperlink is rendered but all nested
- tags (=body) are rendered.
- </description>
- </attribute>
- <attribute>
- <name>visibleOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, nothing is rendered and the body of this tag
- will be skipped.
- </description>
- </attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>displayValueOnly</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If true, renders only the value of the component, but no input widget.
- Default is false.
- </description>
- </attribute>
- <attribute>
- <name>displayValueOnlyStyle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Style used when displayValueOnly is true.
- </description>
- </attribute>
- <attribute>
- <name>displayValueOnlyStyleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Style class used when displayValueOnly is true.
- </description>
- </attribute>
- <attribute>
- <name>style</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>fallback</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Use a text area instead of the javascript HTML editor.
- Default is false.
- Use with caution.
- </description>
- </attribute>
- <attribute>
- <name>type</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- The type of the value. It can be either fragment for an HTML fragment (default)
- or document for a full HTML document, with head, title, body, ... tags.
- </description>
- </attribute>
- <attribute>
- <name>allowEditSource</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Allows the user to edit the HTML source code.
- Default is true.
- </description>
- </attribute>
- <attribute>
- <name>allowExternalLinks</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Allows the user to insert external links.
- Default is true.
- </description>
- </attribute>
- <attribute>
- <name>addKupuLogo</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Show the Kupu Logo in the buttons bar.
- Default is true.
- </description>
- </attribute>
- <attribute>
- <name>showAllToolBoxes</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Shortcut to avoid setting all the showXXToolBox to true.
- Default is false.
- </description>
- </attribute>
- <attribute>
- <name>showPropertiesToolBox</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Show the Properties tool box next to the text.
- Default is false.
- </description>
- </attribute>
- <attribute>
- <name>showLinksToolBox</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Show the Links tool box next to the text.
- Default is false.
- </description>
- </attribute>
- <attribute>
- <name>showImagesToolBox</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Show the Images tool box next to the text.
- Default is false.
- </description>
- </attribute>
- <attribute>
- <name>showTablesToolBox</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Show the Tables tool box next to the text.
- Default is false.
- </description>
- </attribute>
- <attribute>
- <name>showCleanupExpressionsToolBox</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Show the Cleanup Expressions tool box next to the text.
- Default is false.
- </description>
- </attribute>
- <attribute>
- <name>showDebugToolBox</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Show the Debug tool box next to the text.
- Default is false.
- </description>
- </attribute>
- </tag>
-
- <!-- navigationMenu, jscookMenu -->
- <tag>
- <name>navigationMenuItem</name>
- <tag-class>org.apache.myfaces.custom.navmenu.HtmlNavigationMenuItemTag</tag-class>
- <body-content>JSP</body-content>
- <!-- UISelectItem attributes -->
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
- <attribute>
- <name>itemDisabled</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will not be saved during state saving.</description>
- </attribute>
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>itemDescription</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>itemLabel</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>itemValue</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>value</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Value reference pointing at a javax.faces.model.SelectItem instance.</description>
- </attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>enabledOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, no hyperlink is rendered but all nested
- tags (=body) are rendered.
- </description>
- </attribute>
- <attribute>
- <name>visibleOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, nothing is rendered and the body of this tag
- will be skipped.
- </description>
- </attribute>
-
- <!-- navigationMenuItem attributes -->
- <attribute>
- <name>icon</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>split</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>action</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
- <tag>
- <name>navigationMenuItems</name>
- <tag-class>org.apache.myfaces.custom.navmenu.HtmlNavigationMenuItemsTag</tag-class>
- <body-content>empty</body-content>
- <!-- UISelectItems attributes -->
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>value</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Value reference pointing at a List or Array of javax.faces.model.SelectItem instances.</description>
- </attribute>
-
- </tag>
- <tag>
- <name>jscookMenu</name>
- <tag-class>org.apache.myfaces.custom.navmenu.jscookmenu.HtmlJSCookMenuTag</tag-class>
- <body-content>JSP</body-content>
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>enabledOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, no hyperlink is rendered but all nested
- tags (=body) are rendered.
- </description>
- </attribute>
- <attribute>
- <name>visibleOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, nothing is rendered and the body of this tag
- will be skipped.
- </description>
- </attribute>
-
- <attribute>
- <name>javascriptLocation</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>
- An alternate location to find javascript resources. If no values is specified, javascript will
- be loaded from the resources directory using AddResource and ExtensionsFilter.
- </description>
- </attribute>
-
- <attribute>
- <name>imageLocation</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>
- An alternate location to find image resources. If no values is specified, images will
- be loaded from the resources directory using AddResource and ExtensionsFilter.
- </description>
- </attribute>
-
- <attribute>
- <name>styleLocation</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>
- An alternate location to find stylesheet resources. If no values is specified, stylesheets will
- be loaded from the resources directory using AddResource and ExtensionsFilter.
- </description>
- </attribute>
-
- <!-- jscookMenu attributes -->
- <attribute>
- <name>layout</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>theme</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
- <!-- panelLayout -->
- <tag>
- <name>panelLayout</name>
- <tag-class>org.apache.myfaces.custom.layout.HtmlPanelLayoutTag</tag-class>
- <body-content>JSP</body-content>
- <!-- UIPanel attributes -->
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
-
- <!-- HTML 4.0 universal attributes -->
- <attribute><name>dir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>lang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>style</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>title</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Corresponds to the HTML class attribute.</description>
- </attribute>
-
- <!-- HTML 4.0 event-handler attributes -->
- <attribute><name>onclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>ondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- HTML 4.0 table attributes -->
- <attribute><name>align</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>border</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>bgcolor</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>cellpadding</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>cellspacing</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>datafld</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>datasrc</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>dataformatas</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>frame</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>rules</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>summary</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>width</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <attribute>
- <name>layout</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>
- layout | header | navigation | body | footer
- =================|========|============|=======|========
- classic (Default)| top | left | right | bottom
- navigationRight | top | right | left | bottom
- upsideDown | bottom | left | right | top
- </description>
- </attribute>
- <attribute>
- <name>headerClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>CSS class to be used for the table cell.</description>
- </attribute>
- <attribute>
- <name>navigationClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>CSS class to be used for the table cell.</description>
- </attribute>
- <attribute>
- <name>bodyClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>CSS class to be used for the table cell.</description>
- </attribute>
- <attribute>
- <name>footerClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>CSS class to be used for the table cell.</description>
- </attribute>
- <attribute>
- <name>headerStyle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>CSS style to be used for the table cell.</description>
- </attribute>
- <attribute>
- <name>navigationStyle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>CSS style to be used for the table cell.</description>
- </attribute>
- <attribute>
- <name>bodyStyle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>CSS style to be used for the table cell.</description>
- </attribute>
- <attribute>
- <name>footerStyle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>CSS style to be used for the table cell.</description>
- </attribute>
- </tag>
-
- <!-- panelNavigation2 -->
- <tag>
- <name>panelNavigation2</name>
- <tag-class>org.apache.myfaces.custom.navmenu.htmlnavmenu.HtmlPanelNavigationMenuTag</tag-class>
- <body-content>JSP</body-content>
- <!-- UIPanel attributes -->
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
-
- <!-- HTML 4.0 universal attributes -->
- <attribute><name>dir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>lang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>style</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>title</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Corresponds to the HTML class attribute.</description>
- </attribute>
-
- <!-- HTML 4.0 event-handler attributes -->
- <attribute><name>onclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>ondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- HTML 4.0 table attributes -->
- <attribute><name>align</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>border</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>bgcolor</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>cellpadding</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>cellspacing</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>datafld</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>datasrc</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>dataformatas</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>frame</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>rules</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>summary</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>width</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <attribute>
- <name>itemClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- The CSS class of closed navigation items.
- </description>
- </attribute>
- <attribute>
- <name>openItemClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- The CSS class of open navigation items.
- </description>
- </attribute>
- <attribute>
- <name>activeItemClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- The CSS class of the active navigation item.
- </description>
- </attribute>
- <attribute>
- <name>separatorClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- The CSS class for the td element of a separator.
- </description>
- </attribute>
- <attribute>
- <name>itemStyle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- The CSS Style of closed navigation items.
- </description>
- </attribute>
- <attribute>
- <name>openItemStyle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- The CSS Style of open navigation items.
- </description>
- </attribute>
- <attribute>
- <name>activeItemStyle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- The CSS Style of the active navigation item.
- </description>
- </attribute>
- <attribute>
- <name>separatorStyle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- The CSS Style for the td element of a separator.
- </description>
- </attribute>
- <attribute>
- <name>layout</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Table or List Layout (default is Table)
- </description>
- </attribute>
- </tag>
-
- <!-- panelNavigation -->
- <tag>
- <name>panelNavigation</name>
- <tag-class>org.apache.myfaces.custom.navigation.HtmlPanelNavigationTag</tag-class>
- <body-content>JSP</body-content>
- <!-- UIPanel attributes -->
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
-
- <!-- HTML 4.0 universal attributes -->
- <attribute><name>dir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>lang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>style</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>title</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Corresponds to the HTML class attribute.</description>
- </attribute>
-
- <!-- HTML 4.0 event-handler attributes -->
- <attribute><name>onclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>ondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- HTML 4.0 table attributes -->
- <attribute><name>align</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>border</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>bgcolor</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>cellpadding</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>cellspacing</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>datafld</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>datasrc</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>dataformatas</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>frame</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>rules</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>summary</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>width</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <attribute>
- <name>itemClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- The CSS class of closed navigation items.
- </description>
- </attribute>
- <attribute>
- <name>openItemClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- The CSS class of open navigation items.
- </description>
- </attribute>
- <attribute>
- <name>activeItemClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- The CSS class of the active navigation item.
- </description>
- </attribute>
- <attribute>
- <name>separatorClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- The CSS class for the td element of a separator.
- </description>
- </attribute>
- <attribute>
- <name>itemStyle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- The CSS Style of closed navigation items.
- </description>
- </attribute>
- <attribute>
- <name>openItemStyle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- The CSS Style of open navigation items.
- </description>
- </attribute>
- <attribute>
- <name>activeItemStyle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- The CSS Style of the active navigation item.
- </description>
- </attribute>
- <attribute>
- <name>separatorStyle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- The CSS Style for the td element of a separator.
- </description>
- </attribute>
- </tag>
-
- <!-- panelTab -->
- <tag>
- <name>panelTab</name>
- <tag-class>org.apache.myfaces.custom.tabbedpane.HtmlPanelTabTag</tag-class>
- <body-content>JSP</body-content>
- <!-- UIPanel attributes -->
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
-
- <!-- HTML 4.0 universal attributes -->
- <attribute><name>dir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>lang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>style</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>title</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Corresponds to the HTML class attribute.</description>
- </attribute>
-
- <!-- HTML 4.0 event-handler attributes -->
- <attribute><name>onclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>ondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>enabledOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, no hyperlink is rendered but all nested
- tags (=body) are rendered.
- </description>
- </attribute>
- <attribute>
- <name>visibleOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, nothing is rendered and the body of this tag
- will be skipped.
- </description>
- </attribute>
-
- <attribute>
- <name>label</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Label of this tab.
- </description>
- </attribute>
- </tag>
-
- <!-- panelTabbedPane -->
- <tag>
- <name>panelTabbedPane</name>
- <tag-class>org.apache.myfaces.custom.tabbedpane.HtmlPanelTabbedPaneTag</tag-class>
- <body-content>JSP</body-content>
- <!-- UIPanel attributes -->
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
-
- <!-- HTML 4.0 universal attributes -->
- <attribute><name>dir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>lang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>style</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>title</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Corresponds to the HTML class attribute.</description>
- </attribute>
-
- <!-- HTML 4.0 event-handler attributes -->
- <attribute><name>onclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>ondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- HTML 4.0 table attributes -->
- <attribute><name>align</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>border</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>bgcolor</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>cellpadding</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>cellspacing</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>datafld</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>datasrc</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>dataformatas</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>frame</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>rules</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>summary</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>width</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>enabledOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, no hyperlink is rendered but all nested
- tags (=body) are rendered.
- </description>
- </attribute>
- <attribute>
- <name>visibleOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, nothing is rendered and the body of this tag
- will be skipped.
- </description>
- </attribute>
-
- <attribute>
- <name>selectedIndex</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Index of tab that is selected by default.
- </description>
- </attribute>
- <attribute>
- <name>activeTabStyleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Style class of the active tab cell.
- </description>
- </attribute>
- <attribute>
- <name>inactiveTabStyleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Style class of the inactive tab cells.
- </description>
- </attribute>
- <attribute>
- <name>disabledTabStyleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Style class of the disabled tab cells.
- </description>
- </attribute>
- <attribute>
- <name>activeSubStyleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Style class of the active tab sub cell.
- </description>
- </attribute>
- <attribute>
- <name>inactiveSubStyleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Style class of the inactive tab sub cells.
- </description>
- </attribute>
- <attribute>
- <name>tabContentStyleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Style class of the active tab content cell.
- </description>
- </attribute>
- </tag>
-
- <!-- tab change listener -->
- <tag>
- <name>tabChangeListener</name>
- <tag-class>org.apache.myfaces.custom.tabbedpane.TabChangeListenerTag</tag-class>
- <body-content>empty</body-content>
- <attribute>
- <name>type</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
-
- <!-- collapsiblePanel -->
- <tag>
- <name>collapsiblePanel</name>
- <tag-class>org.apache.myfaces.custom.collapsiblepanel.HtmlCollapsiblePanelTag</tag-class>
- <body-content>JSP</body-content>
- <!-- UIPanel attributes -->
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
-
- <!-- HTML 4.0 universal attributes -->
- <attribute><name>dir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>lang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>style</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>title</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Corresponds to the HTML class attribute.</description>
- </attribute>
-
- <!-- HTML 4.0 event-handler attributes -->
- <attribute><name>onclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>ondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>enabledOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, no hyperlink is rendered but all nested
- tags (=body) are rendered.
- </description>
- </attribute>
- <attribute>
- <name>visibleOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, nothing is rendered and the body of this tag
- will be skipped.
- </description>
- </attribute>
-
- <attribute>
- <name>collapsed</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Boolean value indicating whether the panel should be collapsed by default.
- </description>
- </attribute>
- <attribute>
- <name>value</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Label for collapsible panel.
- </description>
- </attribute>
- </tag>
-
- <!-- selectOneCountry -->
- <tag>
- <name>selectOneCountry</name>
- <tag-class>org.apache.myfaces.custom.selectOneCountry.SelectOneCountryTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- A localized list of countries choose box.
- The value binds to the country ISO 3166 code.
- This is the same code as for java.util.Locale.getCountry().
- The official codes list is available here :
- http://www.iso.ch/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/l...
- </description>
- <attribute>
- <name>maxLength</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Integer equals to the maximum number of characters in the country name.
- </description>
- </attribute>
- <!-- all standard attributes of the selectOneMenu tag -->
- <!-- UISelectOne attributes -->
- <!-- UIInput attributes -->
- <!-- UIOutput attributes -->
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
- <attribute>
- <name>value</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Initial value to set when rendered for the first time.</description>
- </attribute>
- <attribute>
- <name>converter</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Id of Converter to be used or reference to a Converter.</description>
- </attribute>
-
- <attribute>
- <name>immediate</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description> Flag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase.</description>
- </attribute>
- <attribute>
- <name>required</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will be checked for non-empty input.</description>
- </attribute>
- <attribute>
- <name>validator</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>MethodBinding pointing at a method that will be called during Process Validations phase of the request processing lifecycle, to validate the current value of this component.</description>
- </attribute>
- <attribute>
- <name>valueChangeListener</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Listener for value changes.</description>
- </attribute>
-
-
- <!-- HTML 4.0 universal attributes -->
- <attribute><name>dir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>lang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>style</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>title</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Corresponds to the HTML class attribute.</description>
- </attribute>
-
- <!-- HTML 4.0 event-handler attributes -->
- <attribute><name>onclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>ondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- HTML 4.0 select attributes -->
- <attribute><name>datafld</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>datasrc</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>dataformatas</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>disabled</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <!-- "multiple" cannot be set manually -->
- <!-- "name" cannot be set manually -->
- <attribute><name>onblur</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onchange</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onfocus</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <!-- "size" cannot be set directly for it is a MenuRenderer specific attribute -->
- <attribute><name>tabindex</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>readonly</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Flag indicating that this component will prohibit
- changes by the user. The element may receive focus
- unless it has also been disabled.</description>
- </attribute>
- <attribute><name>enabledClass</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>disabledClass</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>enabledOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, no hyperlink is rendered but all nested
- tags (=body) are rendered.
- </description>
- </attribute>
- <attribute>
- <name>visibleOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, nothing is rendered and the body of this tag
- will be skipped.
- </description>
- </attribute>
-
- <!--
- This attribute indicates that the component should be forced to use the specified id instead of
- using the one that faces generates. Components contained within a "list" will include a '[n]'
- suffix where 'n' is the row index (unless the forceIdIndex attribute is set to false).
- -->
- <attribute>
- <name>forceId</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will force the use of the specified id when rendering.</description>
- </attribute>
-
- <!--
- If the component is contained within an "list" (such as dataTable), this attribute indicates whether or not a
- '[n]' suffix should be added where 'n' is the row index. Default is true. The attribute is ignored if forceId
- is false (or not specified)
- -->
- <attribute>
- <name>forceIdIndex</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>
- If false, this component will not append a '[n]' suffix (where 'n' is the row index) to components
- that are contained within a "list." This value will be true by default and the value will be ignored if
- the value of forceId is false (or not specified.)
- </description>
- </attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>displayValueOnly</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If true, renders only the value of the component, but no input widget.
- Default is false.
- </description>
- </attribute>
- <attribute>
- <name>displayValueOnlyStyle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Style used when displayValueOnly is true.
- </description>
- </attribute>
- <attribute>
- <name>displayValueOnlyStyleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Style class used when displayValueOnly is true.
- </description>
- </attribute>
- </tag>
-
- <!-- selectOneLanguage -->
- <tag>
- <name>selectOneLanguage</name>
- <tag-class>org.apache.myfaces.custom.selectOneLanguage.SelectOneLanguageTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- A localized list of languages choose box.
- The value binds to the language ISO 639 code (lowercase).
- This is the same code as for java.util.Locale.getLanguage().
- The official codes list is available here :
- http://www.loc.gov/standards/iso639-2/englangn.html
- </description>
- <attribute>
- <name>maxLength</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Integer equals to the maximum number of characters in the language name.
- </description>
- </attribute>
- <!-- all standard attributes of the selectOneMenu tag -->
- <!-- UISelectOne attributes -->
- <!-- UIInput attributes -->
- <!-- UIOutput attributes -->
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
- <attribute>
- <name>value</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Initial value to set when rendered for the first time.</description>
- </attribute>
- <attribute>
- <name>converter</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Id of Converter to be used or reference to a Converter.</description>
- </attribute>
-
- <attribute>
- <name>immediate</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description> Flag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase.</description>
- </attribute>
- <attribute>
- <name>required</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will be checked for non-empty input.</description>
- </attribute>
- <attribute>
- <name>validator</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>MethodBinding pointing at a method that will be called during Process Validations phase of the request processing lifecycle, to validate the current value of this component.</description>
- </attribute>
- <attribute>
- <name>valueChangeListener</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Listener for value changes.</description>
- </attribute>
-
-
- <!-- HTML 4.0 universal attributes -->
- <attribute><name>dir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>lang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>style</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>title</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Corresponds to the HTML class attribute.</description>
- </attribute>
-
- <!-- HTML 4.0 event-handler attributes -->
- <attribute><name>onclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>ondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- HTML 4.0 select attributes -->
- <attribute><name>datafld</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>datasrc</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>dataformatas</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>disabled</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <!-- "multiple" cannot be set manually -->
- <!-- "name" cannot be set manually -->
- <attribute><name>onblur</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onchange</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onfocus</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <!-- "size" cannot be set directly for it is a MenuRenderer specific attribute -->
- <attribute><name>tabindex</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>readonly</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Flag indicating that this component will prohibit
- changes by the user. The element may receive focus
- unless it has also been disabled.</description>
- </attribute>
- <attribute><name>enabledClass</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>disabledClass</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>enabledOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, no hyperlink is rendered but all nested
- tags (=body) are rendered.
- </description>
- </attribute>
- <attribute>
- <name>visibleOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, nothing is rendered and the body of this tag
- will be skipped.
- </description>
- </attribute>
-
- <!--
- This attribute indicates that the component should be forced to use the specified id instead of
- using the one that faces generates. Components contained within a "list" will include a '[n]'
- suffix where 'n' is the row index (unless the forceIdIndex attribute is set to false).
- -->
- <attribute>
- <name>forceId</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will force the use of the specified id when rendering.</description>
- </attribute>
-
- <!--
- If the component is contained within an "list" (such as dataTable), this attribute indicates whether or not a
- '[n]' suffix should be added where 'n' is the row index. Default is true. The attribute is ignored if forceId
- is false (or not specified)
- -->
- <attribute>
- <name>forceIdIndex</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>
- If false, this component will not append a '[n]' suffix (where 'n' is the row index) to components
- that are contained within a "list." This value will be true by default and the value will be ignored if
- the value of forceId is false (or not specified.)
- </description>
- </attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>displayValueOnly</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If true, renders only the value of the component, but no input widget.
- Default is false.
- </description>
- </attribute>
- <attribute>
- <name>displayValueOnlyStyle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Style used when displayValueOnly is true.
- </description>
- </attribute>
- <attribute>
- <name>displayValueOnlyStyleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Style class used when displayValueOnly is true.
- </description>
- </attribute>
- </tag>
-
- <!-- stylesheet -->
-
- <tag>
- <name>stylesheet</name>
- <tag-class>org.apache.myfaces.custom.stylesheet.StylesheetTag</tag-class>
- <body-content>JSP</body-content>
- <description>a component, which renders the path to a common CSS-file</description>
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>enabledOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, no hyperlink is rendered but all nested
- tags (=body) are rendered.
- </description>
- </attribute>
- <attribute>
- <name>visibleOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, nothing is rendered and the body of this tag
- will be skipped.
- </description>
- </attribute>
-
- <attribute>
- <name>path</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- URL for CSS-file.
- </description>
- </attribute>
- </tag>
-
- <!-- div -->
-
- <tag>
- <name>div</name>
- <tag-class>org.apache.myfaces.custom.div.DivTag</tag-class>
- <body-content>JSP</body-content>
- <description>Places a div around its children</description>
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
- <!--
- This attribute indicates that the component should be forced to use the specified id instead of
- using the one that faces generates. Components contained within a "list" will include a '[n]'
- suffix where 'n' is the row index (unless the forceIdIndex attribute is set to false).
- -->
- <attribute>
- <name>forceId</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will force the use of the specified id when rendering.</description>
- </attribute>
-
- <!--
- If the component is contained within an "list" (such as dataTable), this attribute indicates whether or not a
- '[n]' suffix should be added where 'n' is the row index. Default is true. The attribute is ignored if forceId
- is false (or not specified)
- -->
- <attribute>
- <name>forceIdIndex</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>
- If false, this component will not append a '[n]' suffix (where 'n' is the row index) to components
- that are contained within a "list." This value will be true by default and the value will be ignored if
- the value of forceId is false (or not specified.)
- </description>
- </attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>enabledOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, no hyperlink is rendered but all nested
- tags (=body) are rendered.
- </description>
- </attribute>
- <attribute>
- <name>visibleOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, nothing is rendered and the body of this tag
- will be skipped.
- </description>
- </attribute>
-
- <attribute>
- <name>style</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- The style to use for this div.
- </description>
- </attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- The class to use for this div.
- </description>
- </attribute>
- </tag>
-
- <!-- htmlTag -->
-
- <tag>
- <name>htmlTag</name>
- <tag-class>org.apache.myfaces.custom.htmlTag.HtmlTagTag</tag-class>
- <body-content>JSP</body-content>
- <description>Places the given HTML tag div around its children</description>
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
- <!--
- This attribute indicates that the component should be forced to use the specified id instead of
- using the one that faces generates. Components contained within a "list" will include a '[n]'
- suffix where 'n' is the row index (unless the forceIdIndex attribute is set to false).
- -->
- <attribute>
- <name>forceId</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will force the use of the specified id when rendering.</description>
- </attribute>
-
- <!--
- If the component is contained within an "list" (such as dataTable), this attribute indicates whether or not a
- '[n]' suffix should be added where 'n' is the row index. Default is true. The attribute is ignored if forceId
- is false (or not specified)
- -->
- <attribute>
- <name>forceIdIndex</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>
- If false, this component will not append a '[n]' suffix (where 'n' is the row index) to components
- that are contained within a "list." This value will be true by default and the value will be ignored if
- the value of forceId is false (or not specified.)
- </description>
- </attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>enabledOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, no hyperlink is rendered but all nested
- tags (=body) are rendered.
- </description>
- </attribute>
- <attribute>
- <name>visibleOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, nothing is rendered and the body of this tag
- will be skipped.
- </description>
- </attribute>
-
- <attribute>
- <name>value</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- The name of the tag. For example, use h1 to generate an h1 tag.
- </description>
- </attribute>
- <attribute>
- <name>style</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- The style to use for this tag.
- </description>
- </attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- The class to use for this tag.
- </description>
- </attribute>
- </tag>
-
-
- <!-- radio -->
- <tag>
- <name>radio</name>
- <tag-class>org.apache.myfaces.custom.radio.HtmlRadioTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- Renders a HTML input of type "radio". The associated SelectItem comes from
- an extended selectOneRadio component with layout "spread". The selectOneRadio
- is referenced by the "for" attribute.
- All HTML pass-through attributes for this input are taken from the associated
- selectOneRadio.
- </description>
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>enabledOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, no hyperlink is rendered but all nested
- tags (=body) are rendered.
- </description>
- </attribute>
- <attribute>
- <name>visibleOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, nothing is rendered and the body of this tag
- will be skipped.
- </description>
- </attribute>
-
- <!-- HtmlRadio attributes -->
- <attribute>
- <name>for</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- id of the referenced extended selectOneRadio component
- </description>
- </attribute>
- <attribute>
- <name>index</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- n-th SelectItem of referenced UISelectOne starting with 0.
- </description>
- </attribute>
- </tag>
-
- <!-- tree -->
- <tag>
- <name>tree</name>
- <tag-class>org.apache.myfaces.custom.tree.taglib.TreeTag</tag-class>
- <body-content>JSP</body-content>
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>value</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>var</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>nodeClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>selectedNodeClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>headerClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>footerClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>rowClasses</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>columnClasses</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>iconClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>iconLine</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>iconNoline</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>iconChildFirst</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>iconChildMiddle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>iconChildLast</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>iconNodeOpen</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>iconNodeOpenFirst</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>iconNodeOpenMiddle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>iconNodeOpenLast</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>iconNodeClose</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>iconNodeCloseFirst</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>iconNodeCloseMiddle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>iconNodeCloseLast</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>expandRoot</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>expireListeners</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Time interval the tree will remain registered as a TreeModelListener without being accessed</description>
- </attribute>
- </tag>
-
- <tag>
- <name>treeSelectionListener</name>
- <tag-class>org.apache.myfaces.custom.tree.taglib.TreeSelectionListenerTag</tag-class>
- <body-content>empty</body-content>
- <attribute>
- <name>type</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
- <tag>
- <name>iconProvider</name>
- <tag-class>org.apache.myfaces.custom.tree.taglib.IconProviderTag</tag-class>
- <body-content>empty</body-content>
- <attribute>
- <name>type</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
- <!-- tree column -->
- <tag>
- <name>treeColumn</name>
- <tag-class>org.apache.myfaces.custom.tree.taglib.TreeColumnTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- Renders a HTML input of type "treeColumn". This tag outlines the column where
- the tree structure will be render as part of the tree table.
- </description>
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
- </tag>
-
- <!-- tree checkbox -->
- <tag>
- <name>treeCheckbox</name>
- <tag-class>org.apache.myfaces.custom.tree.taglib.TreeCheckboxTag</tag-class>
- <body-content>empty</body-content>
- <description>
- Renders a HTML input of type "treeCheckbox". The associated comes from
- the treeCheckbox itemLabel and itemValue. The selected items come from an extended
- selectManyCheckbox component with layout "spread". The selectManyCheckbox
- is referenced by the "for" attribute.
- All HTML pass-through attributes for this input are taken from the associated
- selectManyCheckbox.
- </description>
- <!-- UISelectItem attributes -->
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
- <attribute>
- <name>itemDisabled</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If true, this component will not be saved during state saving.</description>
- </attribute>
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>itemDescription</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>itemLabel</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>itemValue</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>value</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Value reference pointing at a javax.faces.model.SelectItem instance.</description>
- </attribute>
-
- <!-- HtmlTreeCheckbox attributes -->
- <attribute>
- <name>for</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- id of the referenced extended selectManyCheckbox component
- </description>
- </attribute>
- </tag>
-
- <!-- tree2 -->
- <tag>
- <name>tree2</name>
- <tag-class>org.apache.myfaces.custom.tree2.TreeTag</tag-class>
- <body-content>JSP</body-content>
- <attribute>
- <name>value</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>var</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>varNodeToggler</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>showNav</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Show the "plus" and "minus" navigation icons (default is true.) Value is ignored if
- clientSideToggle is true.
- </description>
- </attribute>
- <attribute>
- <name>showLines</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Show the connecting lines (default is true.)</description>
- </attribute>
- <attribute>
- <name>clientSideToggle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Perform client-side toggling of expand/collapse state via javascript (default is true.)</description>
- </attribute>
- <attribute>
- <name>showRootNode</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Include the root node when rendering the tree (default is true.)</description>
- </attribute>
- <attribute>
- <name>preserveToggle</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Preserve changes in client-side toggle information between requests (default is true.)</description>
- </attribute>
- <attribute>
- <name>javascriptLocation</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>
- An alternate location to find javascript resources. If no values is specified, javascript will
- be loaded from the resources directory using AddResource and ExtensionsFilter.
- </description>
- </attribute>
-
- <attribute>
- <name>imageLocation</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>
- An alternate location to find image resources. If no values is specified, images will
- be loaded from the resources directory using AddResource and ExtensionsFilter.
- </description>
- </attribute>
-
- <attribute>
- <name>styleLocation</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>
- An alternate location to find stylesheet resources. If no values is specified, stylesheets will
- be loaded from the resources directory using AddResource and ExtensionsFilter.
- </description>
- </attribute>
-
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
- </tag>
-
- <!-- panelStack -->
- <tag>
- <name>panelStack</name>
- <tag-class>org.apache.myfaces.custom.panelstack.PanelStackTag</tag-class>
- <body-content>JSP</body-content>
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>selectedPanel</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Id of the child to be rendered.</description>
- </attribute>
- </tag>
-
- <!-- popup -->
- <tag>
- <name>popup</name>
- <tag-class>org.apache.myfaces.custom.popup.HtmlPopupTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- Renders a popup which displays on a mouse event.
- </description>
- <attribute>
- <name>displayAtDistanceX</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Pop the panel up in horizontal distance of x pixels from
- event.
- </description>
- </attribute>
- <attribute>
- <name>displayAtDistanceY</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Pop the panel up in vertical distance of y pixels from
- event.
- </description>
- </attribute>
- <attribute>
- <name>closePopupOnExitingElement</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Close the popup when the triggering element is left.
- </description>
- </attribute>
- <attribute>
- <name>closePopupOnExitingPopup</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- Close the popup when the popup itself is left.
- </description>
- </attribute>
- <!-- UIPanel attributes -->
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
-
- <!-- HTML 4.0 universal attributes -->
- <attribute><name>dir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>lang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>style</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>title</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Corresponds to the HTML class attribute.</description>
- </attribute>
-
- <!-- HTML 4.0 event-handler attributes -->
- <attribute><name>onclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>ondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- MyFaces extension: user role attributes -->
- <attribute>
- <name>enabledOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, no hyperlink is rendered but all nested
- tags (=body) are rendered.
- </description>
- </attribute>
- <attribute>
- <name>visibleOnUserRole</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- If user is in given role, this component will be rendered
- normally. If not, nothing is rendered and the body of this tag
- will be skipped.
- </description>
- </attribute>
-
- </tag>
-
-
- <!-- newspaperTable -->
- <tag>
- <name>newspaperTable</name>
- <tag-class>org.apache.myfaces.custom.newspaper.HtmlNewspaperTableTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- A data table for rendering long skinny tables as short wide table by
- wrapping the table over a specified number of columns.
- </description>
- <!-- all standard attributes of the dataTable tag -->
- <!-- UIPanel attributes -->
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
-
- <!-- HTML 4.0 universal attributes -->
- <attribute><name>dir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>lang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>style</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>title</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Corresponds to the HTML class attribute.</description>
- </attribute>
-
- <!-- HTML 4.0 event-handler attributes -->
- <attribute><name>onclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>ondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- HTML 4.0 table attributes -->
- <attribute><name>align</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>border</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>bgcolor</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>cellpadding</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>cellspacing</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>datafld</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>datasrc</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>dataformatas</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>frame</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>rules</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>summary</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>width</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- UIData attributes -->
- <attribute>
- <name>value</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Supported types see JSF Spec 4.1.3</description>
- </attribute>
- <attribute>
- <name>var</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>rows</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>first</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <!-- TableRenderer attributes -->
- <attribute>
- <name>columnClasses</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>footerClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>headerClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>rowClasses</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
-
- <attribute>
- <name>newspaperColumns</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- The number of columns to wrap the table over.
- Default: 1
- </description>
- </attribute>
- </tag>
-
-
-
-<!-- Custom non-component tags -->
-
- <!-- aliasBean -->
- <tag>
- <name>aliasBean</name>
- <tag-class>org.apache.myfaces.custom.aliasbean.AliasBeanTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- A tag that defines a new bean (alias) with a given value.
- This allows you to design a subform with a generic (fictive) beans and to include it in all the pages where you use it.
- You just need to make an alias to the real bean named after the generic bean before including the subform.
-
- When used within an aliasBeansScope tag, this tag adds the alias to the aliasBeansScope.
- This makes configuration with multiple aliasBeans easier to write.
- </description>
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>alias</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- The bean that will be set to the given value.
- Example : #{holder}
- </description>
- </attribute>
- <attribute>
- <name>value</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- The value that the alias can be set to.
- This can be a string (like "toto") or a reference to an existing bean (like "#{myBean.member1}").
- </description>
- </attribute>
- </tag>
- <tag>
- <name>aliasBeansScope</name>
- <tag-class>org.apache.myfaces.custom.aliasbean.AliasBeansScopeTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- This is like an aliasBean tag, but instead of the alias/value attributes, you configure the aliases
- by adding aliasBean tags in the body.
-
- The aliasBeans should be declared right after this tag.
- </description>
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
- <!-- bufferBean -->
- <tag>
- <name>buffer</name>
- <tag-class>org.apache.myfaces.custom.buffer.BufferTag</tag-class>
- <body-content>JSP</body-content>
- <attribute>
- <name>into</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
- <!-- saveState -->
- <tag>
- <name>saveState</name>
- <tag-class>org.apache.myfaces.custom.savestate.SaveStateTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- saveState enables you to persist beans and values longer than
- request scope, but shorter than session scope. It is ideal for
- persisting backing beans and values with the same scope as your view
- components. It does this by saving the target state with the
- component tree.
- </description>
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>value</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
- <!-- updateActionListener -->
- <tag>
- <name>updateActionListener</name>
- <tag-class>org.apache.myfaces.custom.updateactionlistener.UpdateActionListenerTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- Registers a org.apache.myfaces.custom.updateactionlistener.UpdateActionListener at the
- parent component.
- </description>
- <attribute>
- <name>property</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>value</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <attribute>
- <name>converter</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- </tag>
-
-
-<!-- validators -->
-
-
- <!-- creditCard -->
- <tag>
- <name>validateCreditCard</name>
- <tag-class>org.apache.myfaces.custom.creditcardvalidator.ValidateCreditCardTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- A custom validator for creditCards, based upons Jakarta Commons.
- </description>
-
- <attribute>
- <name>none</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- none of the given cardtypes is allowed.
- </description>
- </attribute>
- <attribute>
- <name>amex</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- american express cards
- </description>
- </attribute>
- <attribute>
- <name>visa</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- validation for visa
- </description>
- </attribute>
- <attribute>
- <name>mastercard</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- validation for mastercard
- </description>
- </attribute>
- <attribute>
- <name>discover</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- validation for discover
- </description>
- </attribute>
- </tag>
-
- <!-- Validator for Email -->
- <tag>
- <name>validateEmail</name>
- <tag-class>org.apache.myfaces.custom.emailvalidator.ValidateEmailTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- A custom validator for email address format, based upons Jakarta Commons.
- </description>
- </tag>
-
- <!-- Validator for ISBN -->
- <!--tag>
- <name>validateISBN</name>
- <tag-class>org.apache.myfaces.custom.isbnvalidator.ValidateISBNTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- A custom validator for isbn codes, based upons Jakarta Commons.
- </description>
- </tag -->
-
- <!-- Validator for Regular Expressions -->
- <tag>
- <name>validateRegExpr</name>
- <tag-class>org.apache.myfaces.custom.regexprvalidator.ValidateRegExprTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- A custom validator for reg. expr., based upons Jakarta Commons.
- </description>
-
- <attribute>
- <name>pattern</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- the pattern, which is the base of the validation
- </description>
- </attribute>
- </tag>
-
- <!-- Validator for Equal -->
- <tag>
- <name>validateEqual</name>
- <tag-class>org.apache.myfaces.custom.equalvalidator.ValidateEqualTag</tag-class>
- <body-content>JSP</body-content>
- <description>
- A custom validator for validations against foreign component values.
- </description>
-
- <attribute>
- <name>for</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- the id of the foreign component, which is needed for the validation
- </description>
- </attribute>
- </tag>
-
- <!-- swap_image -->
- <tag>
- <name>swapImage</name>
- <tag-class>org.apache.myfaces.custom.swapimage.HtmlSwapImageTag</tag-class>
- <body-content>JSP</body-content>
- <attribute>
- <name>swapImageUrl</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- the url of the image displayed onmouseover
- </description>
- </attribute>
- <attribute>
- <name>activeImageUrl</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>
- activeImage will be rendered if: swapImage is a direct child of commandNavigation
- and the commandNavigation.isActive
- </description>
- </attribute>
- <!-- UIGraphic attributes -->
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
- <attribute>
- <name>url</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>URL of the image (see JSF.4.1.5).</description>
- </attribute>
- <attribute>
- <name>value</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>URL of the image (see JSF.4.1.5).</description>
- </attribute>
-
- <!-- HTML 4.0 universal attributes -->
- <attribute><name>dir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>lang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>style</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>title</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Corresponds to the HTML class attribute.</description>
- </attribute>
-
- <!-- HTML 4.0 img attributes that are not part of the JSF 1.1 specification -->
- <attribute>
- <name>align</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>border</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>hspace</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>vspace</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- </attribute>
-
- <!-- The subset of HTML 4.0 img attributes that are supported by the JSF 1.1 specification -->
- <attribute>
- <name>alt</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>height</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>ismap</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>longdesc</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- </attribute>
- <!-- "name" attribute cannot be set directly by user -->
- <!-- "src" attribute cannot be set directly, use "url" instead! -->
- <attribute>
- <name>usemap</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- </attribute>
- <attribute>
- <name>width</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- </attribute>
-
- <attribute><name>onclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>ondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- </tag>
-
- <!-- columns -->
- <tag>
- <name>columns</name>
- <tag-class>org.apache.myfaces.custom.crosstable.HtmlColumnsTag</tag-class>
- <body-content>JSP</body-content>
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
- <!-- UIColumn attributes -->
- <attribute>
- <name>value</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Supported types see JSF Spec 4.1.3</description>
- </attribute>
- <attribute>
- <name>var</name>
- <required>true</required>
- <rtexprvalue>false</rtexprvalue>
- </attribute>
- <!-- HTML 4.0 universal attributes -->
- <attribute><name>dir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>lang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>style</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>title</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Corresponds to the HTML class attribute.</description>
- </attribute>
-
- <!-- HTML 4.0 event-handler attributes -->
- <attribute><name>onclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>ondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
-
- <!-- header attributes -->
- <attribute><name>headerdir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>headerlang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>headerstyle</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>headertitle</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>headerstyleClass</name><required>false</required><rtexprvalue>false</rtexprvalue><description>Corresponds to the HTML class attribute.</description></attribute>
- <attribute><name>headeronclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>headerondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>headeronmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>headeronmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>headeronmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>headeronmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>headeronmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>headeronkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>headeronkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>headeronkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- footer attributes -->
- <attribute><name>footerdir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>footerlang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>footerstyle</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>footertitle</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>footerstyleClass</name><required>false</required><rtexprvalue>false</rtexprvalue><description>Corresponds to the HTML class attribute.</description></attribute>
- <attribute><name>footeronclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>footerondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>footeronmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>footeronmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>footeronmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>footeronmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>footeronmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>footeronkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>footeronkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>footeronkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <attribute>
- <name>width</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>This attribute can be used to set the width of the <TD> elements</description>
- </attribute>
- </tag>
-
-
- <!-- column -->
- <tag>
- <name>column</name>
- <tag-class>org.apache.myfaces.custom.column.HtmlColumnTag</tag-class>
- <body-content>JSP</body-content>
- <!-- UIComponent attributes -->
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Every component may have an unique id. Automatically created if omitted.</description>
- </attribute>
- <attribute>
- <name>rendered</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>If false, this component will not be rendered.</description>
- </attribute>
- <attribute>
- <name>binding</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <type>java.lang.String</type>
- <description>Component binding.</description>
- </attribute>
-
- <!-- UIColumn attributes -->
- <!-- HTML 4.0 universal attributes -->
- <attribute><name>dir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>lang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>style</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>title</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute>
- <name>styleClass</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>Corresponds to the HTML class attribute.</description>
- </attribute>
-
- <!-- HTML 4.0 event-handler attributes -->
- <attribute><name>onclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>ondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>onkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
-
- <!-- header attributes -->
- <attribute><name>headerdir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>headerlang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>headerstyle</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>headertitle</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>headerstyleClass</name><required>false</required><rtexprvalue>false</rtexprvalue><description>Corresponds to the HTML class attribute.</description></attribute>
- <attribute><name>headeronclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>headerondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>headeronmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>headeronmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>headeronmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>headeronmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>headeronmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>headeronkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>headeronkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>headeronkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <!-- footer attributes -->
- <attribute><name>footerdir</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>footerlang</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>footerstyle</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>footertitle</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>footerstyleClass</name><required>false</required><rtexprvalue>false</rtexprvalue><description>Corresponds to the HTML class attribute.</description></attribute>
- <attribute><name>footeronclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>footerondblclick</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>footeronmousedown</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>footeronmouseup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>footeronmouseover</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>footeronmousemove</name><required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>footeronmouseout</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>footeronkeypress</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>footeronkeydown</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
- <attribute><name>footeronkeyup</name> <required>false</required> <rtexprvalue>false</rtexprvalue></attribute>
-
- <attribute>
- <name>width</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description>This attribute can be used to set the width of the <TD> elements</description>
- </attribute>
- </tag>
-
-</taglib>
\ No newline at end of file
Modified: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/web.xml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/web.xml 2007-02-26 20:35:51 UTC (rev 6409)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/web.xml 2007-02-26 20:40:25 UTC (rev 6410)
@@ -52,6 +52,10 @@
<param-value>false</param-value>
</context-param>
<context-param>
+ <param-name>facelets.SKIP_COMMENTS</param-name>
+ <param-value>true</param-value>
+ </context-param>
+ <context-param>
<param-name>facelets.LIBRARIES</param-name>
<param-value>/WEB-INF/tomahawk.taglib.xml</param-value>
</context-param>
Modified: trunk/theme/src/main/org/jboss/portal/theme/LayoutService.java
===================================================================
--- trunk/theme/src/main/org/jboss/portal/theme/LayoutService.java 2007-02-26 20:35:51 UTC (rev 6409)
+++ trunk/theme/src/main/org/jboss/portal/theme/LayoutService.java 2007-02-26 20:40:25 UTC (rev 6410)
@@ -41,8 +41,10 @@
* @param name the name of the layout to set as default
* @throws LayoutException
*/
- void setDefaultLayout(String name) throws LayoutException;
+ void setDefaultLayoutName(String name) throws LayoutException;
+ PortalLayout getDefaultLayout();
+
/** Add a layout. */
void addLayout(RuntimeContext runtimeContext, PortalLayoutMetaData layoutMD) throws LayoutException;
Modified: trunk/theme/src/main/org/jboss/portal/theme/ThemeService.java
===================================================================
--- trunk/theme/src/main/org/jboss/portal/theme/ThemeService.java 2007-02-26 20:35:51 UTC (rev 6409)
+++ trunk/theme/src/main/org/jboss/portal/theme/ThemeService.java 2007-02-26 20:40:25 UTC (rev 6410)
@@ -49,6 +49,8 @@
* @throws ThemeException if the theme with this id is not available in the list of currently registered themes
*/
void setDefault(ServerRegistrationID themeID) throws ThemeException;
+
+ PortalTheme getDefaultTheme();
/**
* Remove the theme from the available themes.
Modified: trunk/theme/src/main/org/jboss/portal/theme/impl/LayoutServiceImpl.java
===================================================================
--- trunk/theme/src/main/org/jboss/portal/theme/impl/LayoutServiceImpl.java 2007-02-26 20:35:51 UTC (rev 6409)
+++ trunk/theme/src/main/org/jboss/portal/theme/impl/LayoutServiceImpl.java 2007-02-26 20:40:25 UTC (rev 6410)
@@ -86,7 +86,9 @@
// map of appID + "." + render set name to render set
private Map exactRenderSetNames;
- private ServerRegistrationID defaultID;
+ private PortalLayout defaultLayout;
+
+ private String defaultName;
public LayoutServiceImpl()
{
@@ -135,6 +137,7 @@
public void addLayout(RuntimeContext runtimeContext, PortalLayoutMetaData layoutMD) throws LayoutException
{
+ // TODO: if there in no default layout, set one up.
try
{
if (layoutMD == null)
@@ -167,23 +170,36 @@
}
/** @see LayoutService#setDefaultLayout(String) */
- public void setDefaultLayout(String name) throws LayoutException
+ public void setDefaultLayoutName(String name) throws LayoutException
{
log.debug("setting default: " + name);
-
- if (exactLayoutNames.keySet().contains(name))
+ defaultName = name;
+ defaultLayout = null;
+ }
+
+ /** @see LayoutService#getDefaultLayout() */
+ public PortalLayout getDefaultLayout()
+ {
+ if (defaultLayout == null)
{
- defaultID = (ServerRegistrationID)exactLayoutNames.get(name);
+ if (exactLayoutNames.keySet().contains(defaultName))
+ {
+ ServerRegistrationID defaultID = (ServerRegistrationID)exactLayoutNames.get(defaultName);
+ defaultLayout = (PortalLayout)layouts.get(defaultID);
+ }
+ else if (layoutNames.keySet().contains(defaultName))
+ {
+ ServerRegistrationID defaultID = (ServerRegistrationID)layoutNames.get(defaultName);
+ defaultLayout = (PortalLayout)layouts.get(defaultID);
+ }
}
- else if (layoutNames.keySet().contains(name))
+ if (defaultLayout == null)
{
- defaultID = (ServerRegistrationID)layoutNames.get(name);
+ log.error("Couldn't find the default layout named:" + defaultName);
}
- else
- {
- throw new LayoutException("Cannot set default: " + name + " is not a valid layout");
- }
+ return defaultLayout;
}
+
/** @see LayoutService#getLayout(org.jboss.portal.theme.ServerRegistrationID,boolean) */
public PortalLayout getLayout(ServerRegistrationID id, boolean defaultOnNull)
@@ -194,9 +210,9 @@
throw new IllegalArgumentException("No null id argument allowed");
}
- if (!layouts.keySet().contains(id) && defaultOnNull && defaultID != null)
+ if (!layouts.keySet().contains(id) && defaultOnNull)
{
- return (PortalLayout)layouts.get(defaultID);
+ return getDefaultLayout();
}
return (PortalLayout)layouts.get(id);
}
@@ -205,10 +221,6 @@
public PortalLayout getLayout(String name, boolean defaultOnNull)
{
log.debug("get " + name + "...");
- if (name == null)
- {
- throw new IllegalArgumentException("No null name argument allowed");
- }
if (exactLayoutNames.containsKey(name))
{
@@ -220,10 +232,10 @@
log.debug("found " + name);
return (PortalLayout)layouts.get(layoutNames.get(name));
}
- else if (defaultOnNull && defaultID != null)
+ else if (defaultOnNull)
{
log.debug("try to return default " + name);
- return (PortalLayout)layouts.get(defaultID);
+ return getDefaultLayout();
}
log.debug("oops , not found " + name);
@@ -271,20 +283,24 @@
layouts.remove(id);
layout.destroy();
- if (defaultID != null && defaultID.equals(id))
+ if (getDefaultLayout() != null && getDefaultLayout().equals(layout))
{
log.debug("removed default layout, need to set new one...");
Iterator i = layouts.keySet().iterator();
if (i.hasNext())
{
- defaultID = (ServerRegistrationID)i.next();
+ ServerRegistrationID defaultID = (ServerRegistrationID)i.next();
layout = (PortalLayout)layouts.get(defaultID);
+ defaultLayout = layout;
+ defaultName = layout.getLayoutInfo().getName();
log.debug("set default layout to " + layout.getLayoutInfo().getAppId() + "." + layout.getLayoutInfo().getName());
}
else
{
- defaultID = null;
+ // We're screwed there is no more layout.
+ defaultLayout = null;
+ defaultName = null;
}
}
}
Modified: trunk/theme/src/main/org/jboss/portal/theme/impl/ThemeServiceImpl.java
===================================================================
--- trunk/theme/src/main/org/jboss/portal/theme/impl/ThemeServiceImpl.java 2007-02-26 20:35:51 UTC (rev 6409)
+++ trunk/theme/src/main/org/jboss/portal/theme/impl/ThemeServiceImpl.java 2007-02-26 20:40:25 UTC (rev 6410)
@@ -24,6 +24,8 @@
import org.jboss.logging.Logger;
import org.jboss.portal.jems.as.system.AbstractJBossService;
+import org.jboss.portal.theme.LayoutService;
+import org.jboss.portal.theme.PortalLayout;
import org.jboss.portal.theme.PortalTheme;
import org.jboss.portal.theme.RuntimeContext;
import org.jboss.portal.theme.ServerRegistrationID;
@@ -57,6 +59,9 @@
private Map exactThemeNames;
private ServerRegistrationID defaultID;
+ private PortalTheme defaultTheme;
+ private String defaultThemeName;
+
public ThemeServiceImpl()
{
log.debug("ThemeServiceImpl instantiated.");
@@ -211,6 +216,35 @@
throw new ThemeException("Theme with name [" + themeId + "] does not exist");
}
+ public void setDefaultThemeName(String defaultName) throws ThemeException
+ {
+ log.debug("setting default: " + defaultName);
+ defaultThemeName = defaultName;
+ defaultTheme = null;
+ }
+
+ public PortalTheme getDefaultTheme()
+ {
+ if (defaultTheme == null)
+ {
+ if (exactThemeNames.keySet().contains(defaultThemeName))
+ {
+ ServerRegistrationID defaultID = (ServerRegistrationID)exactThemeNames.get(defaultThemeName);
+ defaultTheme = (PortalTheme)themes.get(defaultID);
+ }
+ else if (themeNames.keySet().contains(defaultThemeName))
+ {
+ ServerRegistrationID defaultID = (ServerRegistrationID)themeNames.get(defaultThemeName);
+ defaultTheme = (PortalTheme)themes.get(defaultID);
+ }
+ }
+ if (defaultTheme == null)
+ {
+ log.error("Couldn't find the default layout named:" + defaultThemeName);
+ }
+ return defaultTheme;
+ }
+
/**
* Set the default theme.
*
19 years, 2 months
JBoss Portal SVN: r6409 - trunk/faces.
by portal-commits@lists.jboss.org
Author: thomas.heute(a)jboss.com
Date: 2007-02-26 15:35:51 -0500 (Mon, 26 Feb 2007)
New Revision: 6409
Modified:
trunk/faces/.classpath
Log:
Eclipse classpath
Modified: trunk/faces/.classpath
===================================================================
--- trunk/faces/.classpath 2007-02-26 18:02:56 UTC (rev 6408)
+++ trunk/faces/.classpath 2007-02-26 20:35:51 UTC (rev 6409)
@@ -6,5 +6,9 @@
<classpathentry kind="lib" path="/thirdparty/sun-servlet/lib/jsp-api.jar"/>
<classpathentry combineaccessrules="false" kind="src" path="/common"/>
<classpathentry kind="lib" path="/thirdparty/apache-log4j/lib/log4j.jar"/>
+ <classpathentry kind="lib" path="/thirdparty/facelets/lib/jsf-facelets.jar"/>
+ <classpathentry kind="lib" path="/thirdparty/el/lib/el-api.jar"/>
+ <classpathentry kind="lib" path="/thirdparty/oswego-concurrent/lib/concurrent.jar"/>
+ <classpathentry kind="lib" path="/thirdparty/junit/lib/junit.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
19 years, 2 months
JBoss Portal SVN: r6408 - in trunk/faces: src/main/org/jboss/portal/faces/el and 1 other directories.
by portal-commits@lists.jboss.org
Author: julien(a)jboss.com
Date: 2007-02-26 13:02:56 -0500 (Mon, 26 Feb 2007)
New Revision: 6408
Added:
trunk/faces/src/main/org/jboss/portal/test/faces/el/DelegatingPropertyResolverTestCase.java
trunk/faces/src/main/org/jboss/portal/test/faces/el/TestBean.java
trunk/faces/src/main/org/jboss/portal/test/faces/el/TestBeanDecorator.java
trunk/faces/src/main/org/jboss/portal/test/faces/el/TestDynamicBean.java
Modified:
trunk/faces/build.xml
trunk/faces/src/main/org/jboss/portal/faces/el/DelegatingPropertyResolver.java
trunk/faces/src/main/org/jboss/portal/test/faces/el/AbstractBeanDecoratorTestCase.java
trunk/faces/src/main/org/jboss/portal/test/faces/el/AbstractDynamicBeanTestCase.java
Log:
more testing of the EL stuff
Modified: trunk/faces/build.xml
===================================================================
--- trunk/faces/build.xml 2007-02-26 17:41:06 UTC (rev 6407)
+++ trunk/faces/build.xml 2007-02-26 18:02:56 UTC (rev 6408)
@@ -227,6 +227,7 @@
<test todir="${test.reports}" name="org.jboss.portal.test.faces.el.AbstractBeanDecoratorTestCase"/>
<test todir="${test.reports}" name="org.jboss.portal.test.faces.el.AbstractDynamicBeanTestCase"/>
<test todir="${test.reports}" name="org.jboss.portal.test.faces.el.SimpleDynamicBeanTestCase"/>
+ <test todir="${test.reports}" name="org.jboss.portal.test.faces.el.DelegatingPropertyResolverTestCase"/>
</x-test>
<x-classpath>
<pathelement location="${build.classes}"/>
Modified: trunk/faces/src/main/org/jboss/portal/faces/el/DelegatingPropertyResolver.java
===================================================================
--- trunk/faces/src/main/org/jboss/portal/faces/el/DelegatingPropertyResolver.java 2007-02-26 17:41:06 UTC (rev 6407)
+++ trunk/faces/src/main/org/jboss/portal/faces/el/DelegatingPropertyResolver.java 2007-02-26 18:02:56 UTC (rev 6408)
@@ -71,9 +71,9 @@
this.delegate = delegate;
}
- public Class getType(Object base, int index) throws EvaluationException, PropertyNotFoundException
+ public DelegatingPropertyResolver()
{
- return delegate.getType(base, index);
+ this(null);
}
public Class getType(Object base, Object property) throws EvaluationException, PropertyNotFoundException
@@ -101,9 +101,27 @@
}
//
- return delegate.getType(base, property);
+ if (delegate != null)
+ {
+ return delegate.getType(base, property);
+ }
+
+ //
+ throw createPNFE(base, property);
}
+ public boolean isReadOnly(Object base, Object property) throws EvaluationException, PropertyNotFoundException
+ {
+ //
+ if (delegate != null)
+ {
+ return delegate.isReadOnly(base, property);
+ }
+
+ //
+ throw createPNFE(base, property);
+ }
+
public Object getValue(Object base, Object property) throws EvaluationException, PropertyNotFoundException
{
// See if the object can handle itself the property
@@ -129,7 +147,13 @@
}
//
- return delegate.getValue(base, property);
+ if (delegate != null)
+ {
+ return delegate.getValue(base, property);
+ }
+
+ //
+ throw createPNFE(base, property);
}
public void setValue(Object base, Object property, Object value) throws EvaluationException, PropertyNotFoundException
@@ -155,27 +179,60 @@
}
//
- delegate.setValue(base, property, value);
+ if (delegate != null)
+ {
+ delegate.setValue(base, property, value);
+ }
+
+ //
+ throw createPNFE(base, property);
}
- public Object getValue(Object base, int index) throws EvaluationException, PropertyNotFoundException
+ public Class getType(Object base, int index) throws EvaluationException, PropertyNotFoundException
{
- return delegate.getValue(base, index);
+ if (delegate != null)
+ {
+ return delegate.getType(base, index);
+ }
+
+ //
+ throw createPNFE(base, index);
}
public boolean isReadOnly(Object base, int index) throws EvaluationException, PropertyNotFoundException
{
- return delegate.isReadOnly(base, index);
+ //
+ if (delegate != null)
+ {
+ return delegate.isReadOnly(base, index);
+ }
+
+ //
+ throw createPNFE(base, index);
}
- public boolean isReadOnly(Object base, Object property) throws EvaluationException, PropertyNotFoundException
+ public Object getValue(Object base, int index) throws EvaluationException, PropertyNotFoundException
{
- return delegate.isReadOnly(base, property);
+ //
+ if (delegate != null)
+ {
+ return delegate.getValue(base, index);
+ }
+
+ //
+ throw createPNFE(base, index);
}
public void setValue(Object base, int index, Object value) throws EvaluationException, PropertyNotFoundException
{
- delegate.setValue(base, index, value);
+ //
+ if (delegate != null)
+ {
+ delegate.setValue(base, index, value);
+ }
+
+ //
+ throw createPNFE(base, index);
}
/**
@@ -205,4 +262,15 @@
}
return typeDef;
}
+
+ private PropertyNotFoundException createPNFE(Object base, int index)
+ {
+ return createPNFE(base, "[" + index + "]");
+ }
+
+ private PropertyNotFoundException createPNFE(Object base, Object propertyName)
+ {
+ return new PropertyNotFoundException("Property " + propertyName + " on object " + base + " was not found");
+ }
+
}
Modified: trunk/faces/src/main/org/jboss/portal/test/faces/el/AbstractBeanDecoratorTestCase.java
===================================================================
--- trunk/faces/src/main/org/jboss/portal/test/faces/el/AbstractBeanDecoratorTestCase.java 2007-02-26 17:41:06 UTC (rev 6407)
+++ trunk/faces/src/main/org/jboss/portal/test/faces/el/AbstractBeanDecoratorTestCase.java 2007-02-26 18:02:56 UTC (rev 6408)
@@ -23,9 +23,6 @@
package org.jboss.portal.test.faces.el;
import junit.framework.TestCase;
-import org.jboss.portal.faces.el.decorator.AbstractBeanDecorator;
-import org.jboss.portal.faces.el.decorator.PropertyDecorator;
-import org.jboss.portal.faces.el.decorator.AbstractPropertyDecorator;
import org.jboss.portal.faces.el.PropertyValue;
/**
@@ -35,53 +32,27 @@
public class AbstractBeanDecoratorTestCase extends TestCase
{
- private Object _bean;
- private Object _propertyName;
- private Object _propertyValue;
+ private TestBean testBean;
+ private TestBeanDecorator testBeanDecorator;
protected void setUp() throws Exception
{
- _bean = new Object();
- _propertyName = new Object();
- _propertyValue = new Value();
+ testBean = new TestBean();
+ testBeanDecorator = new TestBeanDecorator();
}
protected void tearDown() throws Exception
{
- _bean = null;
- _propertyName = null;
- _propertyValue = null;
+ testBean = null;
+ testBeanDecorator = null;
}
- private final AbstractBeanDecorator decorator = new AbstractBeanDecorator()
- {
- protected PropertyDecorator getProperty(Object propertyName)
- {
- return propertyName == _propertyName ? new AbstractPropertyDecorator(Value.class)
- {
- public Object getValue(Object bean) throws IllegalArgumentException
- {
- return bean == _bean ? _propertyValue : null;
- }
- public boolean setValue(Object bean, Object value) throws IllegalArgumentException
- {
- if (bean == _bean )
- {
- _propertyValue = value;
- return true;
- }
- return false;
- }
- } : null;
- }
- };
-
public void testGetType()
{
try
{
- decorator.getType(null, _propertyName);
+ testBeanDecorator.getType(null, testBeanDecorator.propertyName);
fail("Was expecting an IAE");
}
catch (IllegalArgumentException expected)
@@ -90,7 +61,7 @@
try
{
- decorator.getType(_bean, null);
+ testBeanDecorator.getType(testBean, null);
fail("Was expecting an IAE");
}
catch (IllegalArgumentException expected)
@@ -98,14 +69,14 @@
}
//
- assertEquals(Value.class, decorator.getType(_bean, _propertyName));
+ assertEquals(Value.class, testBeanDecorator.getType(testBean, testBeanDecorator.propertyName));
}
public void testGetValue()
{
try
{
- decorator.getValue(_bean, null);
+ testBeanDecorator.getValue(testBean, null);
fail("Was expecting an IAE");
}
catch (IllegalArgumentException expected)
@@ -114,7 +85,7 @@
try
{
- decorator.getValue(null, _propertyName);
+ testBeanDecorator.getValue(null, testBeanDecorator.propertyName);
fail("Was expecting an IAE");
}
catch (IllegalArgumentException expected)
@@ -122,15 +93,15 @@
}
//
- assertEquals(null, decorator.getValue(_bean, new Object()));
- assertEquals(new PropertyValue(_propertyValue), decorator.getValue(_bean, _propertyName));
+ assertEquals(null, testBeanDecorator.getValue(testBean, new Object()));
+ assertEquals(new PropertyValue(testBean.propertyValue), testBeanDecorator.getValue(testBean, testBeanDecorator.propertyName));
}
public void testSetValue()
{
try
{
- decorator.setValue(null, _propertyName, new Object());
+ testBeanDecorator.setValue(null, testBeanDecorator.propertyName, new Object());
fail("Was expecting an IAE");
}
catch (IllegalArgumentException expected)
@@ -139,7 +110,7 @@
try
{
- decorator.setValue(_bean, null, new Object());
+ testBeanDecorator.setValue(testBean, null, new Object());
fail("Was expecting an IAE");
}
catch (IllegalArgumentException expected)
@@ -148,11 +119,11 @@
//
Value expectedValue = new Value();
- assertEquals(true, decorator.setValue(_bean, _propertyName, expectedValue));
- assertEquals(expectedValue, _propertyValue);
+ assertEquals(true, testBeanDecorator.setValue(testBean, testBeanDecorator.propertyName, expectedValue));
+ assertEquals(expectedValue, testBean.propertyValue);
//
- assertEquals(true, decorator.setValue(_bean, _propertyName, null));
- assertEquals(null, _propertyValue);
+ assertEquals(true, testBeanDecorator.setValue(testBean, testBeanDecorator.propertyName, null));
+ assertEquals(null, testBean.propertyValue);
}
}
Modified: trunk/faces/src/main/org/jboss/portal/test/faces/el/AbstractDynamicBeanTestCase.java
===================================================================
--- trunk/faces/src/main/org/jboss/portal/test/faces/el/AbstractDynamicBeanTestCase.java 2007-02-26 17:41:06 UTC (rev 6407)
+++ trunk/faces/src/main/org/jboss/portal/test/faces/el/AbstractDynamicBeanTestCase.java 2007-02-26 18:02:56 UTC (rev 6408)
@@ -23,8 +23,7 @@
package org.jboss.portal.test.faces.el;
import junit.framework.TestCase;
-import org.jboss.portal.faces.el.dynamic.AbstractDynamicBean;
-import org.jboss.portal.faces.el.dynamic.DynamicBean;
+import org.jboss.portal.faces.el.PropertyValue;
/**
* @author <a href="mailto:julien@jboss.org">Julien Viet</a>
@@ -33,17 +32,24 @@
public class AbstractDynamicBeanTestCase extends TestCase
{
- /** . */
- private final DynamicBean bean = new AbstractDynamicBean();
+ private TestDynamicBean testDynamicBean;
- /** . */
- private final Object propertyName = new Object();
+ protected void setUp() throws Exception
+ {
+ testDynamicBean = new TestDynamicBean();
+ }
+
+ protected void tearDown() throws Exception
+ {
+ testDynamicBean = null;
+ }
+
public void testGetType()
{
try
{
- bean.getType(null);
+ testDynamicBean.getType(null);
fail("Was expecting an IAE");
}
catch (IllegalArgumentException expected)
@@ -51,14 +57,15 @@
}
//
- assertEquals(null, bean.getType(propertyName));
+ assertEquals(null, testDynamicBean.getType(new Object()));
+ assertEquals(Value.class, testDynamicBean.getType(testDynamicBean.propertyName));
}
public void testGetValue()
{
try
{
- bean.getValue(null);
+ testDynamicBean.getValue(null);
fail("Was expecting an IAE");
}
catch (IllegalArgumentException expected)
@@ -66,14 +73,15 @@
}
//
- assertEquals(null, bean.getValue(propertyName));
+ assertEquals(null, testDynamicBean.getValue(new Object()));
+ assertEquals(new PropertyValue(testDynamicBean.propertyValue), testDynamicBean.getValue(testDynamicBean.propertyName));
}
public void testSetValue()
{
try
{
- bean.setValue(null, new Object());
+ testDynamicBean.setValue(null, new Object());
fail("Was expecting an IAE");
}
catch (IllegalArgumentException expected)
@@ -81,8 +89,12 @@
}
//
- assertFalse(bean.setValue(propertyName, new Object()));
- assertFalse(bean.setValue(propertyName, null));
+ Value expectedValue = new Value();
+ assertFalse(testDynamicBean.setValue(new Object(), new Object()));
+ assertTrue(testDynamicBean.setValue(testDynamicBean.propertyName, expectedValue));
+ assertEquals(expectedValue, testDynamicBean.propertyValue);
+ assertTrue(testDynamicBean.setValue(testDynamicBean.propertyName, null));
+ assertEquals(null, testDynamicBean.propertyValue);
}
}
Added: trunk/faces/src/main/org/jboss/portal/test/faces/el/DelegatingPropertyResolverTestCase.java
===================================================================
--- trunk/faces/src/main/org/jboss/portal/test/faces/el/DelegatingPropertyResolverTestCase.java (rev 0)
+++ trunk/faces/src/main/org/jboss/portal/test/faces/el/DelegatingPropertyResolverTestCase.java 2007-02-26 18:02:56 UTC (rev 6408)
@@ -0,0 +1,171 @@
+/******************************************************************************
+ * JBoss, a division of Red Hat *
+ * Copyright 2006, Red Hat Middleware, LLC, and individual *
+ * contributors as indicated by the @authors tag. See the *
+ * copyright.txt in the distribution for a full listing of *
+ * individual contributors. *
+ * *
+ * This is free software; you can redistribute it and/or modify it *
+ * under the terms of the GNU Lesser General Public License as *
+ * published by the Free Software Foundation; either version 2.1 of *
+ * the License, or (at your option) any later version. *
+ * *
+ * This software is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
+ * Lesser General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU Lesser General Public *
+ * License along with this software; if not, write to the Free *
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA *
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org. *
+ ******************************************************************************/
+package org.jboss.portal.test.faces.el;
+
+import junit.framework.TestCase;
+import org.jboss.portal.faces.el.DelegatingPropertyResolver;
+
+import javax.faces.el.PropertyNotFoundException;
+
+/**
+ * @author <a href="mailto:julien@jboss.org">Julien Viet</a>
+ * @version $Revision: 1.1 $
+ */
+public class DelegatingPropertyResolverTestCase extends TestCase
+{
+
+ private Object propertyName;
+ private Object bean;
+ private TestBean testBean;
+ private TestBeanDecorator testBeanDecorator;
+ private TestDynamicBean testDynamicBean;
+ private DelegatingPropertyResolver resolver;
+
+ protected void setUp() throws Exception
+ {
+ propertyName = new Object();
+ bean = new Object();
+ testBean = new TestBean();
+ testBeanDecorator = new TestBeanDecorator();
+ DelegatingPropertyResolver.registerDecorator(TestBean.class, testBeanDecorator);
+ testDynamicBean = new TestDynamicBean();
+ resolver = new DelegatingPropertyResolver();
+ }
+
+ public void testGetType()
+ {
+ try
+ {
+ resolver.getType(bean, propertyName);
+ fail("Was expecting PNFE");
+ }
+ catch (PropertyNotFoundException expected)
+ {
+ }
+
+ //
+ try
+ {
+ resolver.getType(testBean, new Object());
+ fail("Was expecting PNFE");
+ }
+ catch (PropertyNotFoundException expected)
+ {
+ }
+ assertEquals(Value.class, resolver.getType(testBean, testBeanDecorator.propertyName));
+
+ //
+ try
+ {
+ resolver.getType(testDynamicBean, new Object());
+ fail("Was expecting PNFE");
+ }
+ catch (PropertyNotFoundException expected)
+ {
+ }
+ assertEquals(Value.class, resolver.getType(testDynamicBean, testDynamicBean.propertyName));
+ }
+
+ public void testIsReadOnly()
+ {
+ try
+ {
+ resolver.isReadOnly(bean, propertyName);
+ fail("Was expecting PNFE");
+ }
+ catch (PropertyNotFoundException expected)
+ {
+ }
+ }
+
+ public void testGetValue()
+ {
+ try
+ {
+ resolver.getValue(bean, propertyName);
+ fail("Was expecting PNFE");
+ }
+ catch (PropertyNotFoundException expected)
+ {
+ }
+
+ //
+ try
+ {
+ resolver.getType(testBean, new Object());
+ fail("Was expecting PNFE");
+ }
+ catch (PropertyNotFoundException expected)
+ {
+ }
+ assertEquals(testBean.propertyValue, resolver.getValue(testBean, testBeanDecorator.propertyName));
+
+ //
+ try
+ {
+ resolver.getType(testDynamicBean, new Object());
+ fail("Was expecting PNFE");
+ }
+ catch (PropertyNotFoundException expected)
+ {
+ }
+ assertEquals(testDynamicBean.propertyValue, resolver.getValue(testDynamicBean, testDynamicBean.propertyName));
+ }
+
+ public void testSetValue()
+ {
+ try
+ {
+ resolver.setValue(bean, propertyName, null);
+ fail("Was expecting PNFE");
+ }
+ catch (PropertyNotFoundException expected)
+ {
+ }
+
+ //
+ try
+ {
+ resolver.setValue(testBean, new Object(), null);
+ fail("Was expecting PNFE");
+ }
+ catch (PropertyNotFoundException expected)
+ {
+ }
+ Value expectedValue = new Value();
+ resolver.setValue(testBean, testBeanDecorator.propertyName, expectedValue);
+ assertEquals(expectedValue, testBean.propertyValue);
+
+ //
+ try
+ {
+ resolver.setValue(testDynamicBean, new Object(), null);
+ fail("Was expecting PNFE");
+ }
+ catch (PropertyNotFoundException expected)
+ {
+ }
+ resolver.setValue(testDynamicBean, testDynamicBean.propertyName, expectedValue);
+ assertEquals(expectedValue, testDynamicBean.propertyValue);
+ }
+}
Added: trunk/faces/src/main/org/jboss/portal/test/faces/el/TestBean.java
===================================================================
--- trunk/faces/src/main/org/jboss/portal/test/faces/el/TestBean.java (rev 0)
+++ trunk/faces/src/main/org/jboss/portal/test/faces/el/TestBean.java 2007-02-26 18:02:56 UTC (rev 6408)
@@ -0,0 +1,39 @@
+/******************************************************************************
+ * JBoss, a division of Red Hat *
+ * Copyright 2006, Red Hat Middleware, LLC, and individual *
+ * contributors as indicated by the @authors tag. See the *
+ * copyright.txt in the distribution for a full listing of *
+ * individual contributors. *
+ * *
+ * This is free software; you can redistribute it and/or modify it *
+ * under the terms of the GNU Lesser General Public License as *
+ * published by the Free Software Foundation; either version 2.1 of *
+ * the License, or (at your option) any later version. *
+ * *
+ * This software is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
+ * Lesser General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU Lesser General Public *
+ * License along with this software; if not, write to the Free *
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA *
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org. *
+ ******************************************************************************/
+package org.jboss.portal.test.faces.el;
+
+/**
+ * @author <a href="mailto:julien@jboss.org">Julien Viet</a>
+ * @version $Revision: 1.1 $
+ */
+public class TestBean
+{
+
+ /** . */
+ Value propertyValue;
+
+ public TestBean()
+ {
+ this.propertyValue = new Value();
+ }
+}
Added: trunk/faces/src/main/org/jboss/portal/test/faces/el/TestBeanDecorator.java
===================================================================
--- trunk/faces/src/main/org/jboss/portal/test/faces/el/TestBeanDecorator.java (rev 0)
+++ trunk/faces/src/main/org/jboss/portal/test/faces/el/TestBeanDecorator.java 2007-02-26 18:02:56 UTC (rev 6408)
@@ -0,0 +1,63 @@
+/******************************************************************************
+ * JBoss, a division of Red Hat *
+ * Copyright 2006, Red Hat Middleware, LLC, and individual *
+ * contributors as indicated by the @authors tag. See the *
+ * copyright.txt in the distribution for a full listing of *
+ * individual contributors. *
+ * *
+ * This is free software; you can redistribute it and/or modify it *
+ * under the terms of the GNU Lesser General Public License as *
+ * published by the Free Software Foundation; either version 2.1 of *
+ * the License, or (at your option) any later version. *
+ * *
+ * This software is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
+ * Lesser General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU Lesser General Public *
+ * License along with this software; if not, write to the Free *
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA *
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org. *
+ ******************************************************************************/
+package org.jboss.portal.test.faces.el;
+
+import org.jboss.portal.faces.el.decorator.AbstractBeanDecorator;
+import org.jboss.portal.faces.el.decorator.PropertyDecorator;
+import org.jboss.portal.faces.el.decorator.AbstractPropertyDecorator;
+
+/**
+ * @author <a href="mailto:julien@jboss.org">Julien Viet</a>
+ * @version $Revision: 1.1 $
+ */
+public class TestBeanDecorator extends AbstractBeanDecorator
+{
+
+ /** . */
+ final Object propertyName;
+
+ public TestBeanDecorator()
+ {
+ propertyName = new Object();
+ }
+
+ protected PropertyDecorator getProperty(Object propertyName)
+ {
+ if (this.propertyName == propertyName)
+ {
+ return new AbstractPropertyDecorator(Value.class)
+ {
+ public Object getValue(Object bean) throws IllegalArgumentException
+ {
+ return ((TestBean)bean).propertyValue;
+ }
+ public boolean setValue(Object bean, Object value) throws IllegalArgumentException
+ {
+ ((TestBean)bean).propertyValue = (Value)value;
+ return true;
+ }
+ };
+ }
+ return null;
+ }
+}
Added: trunk/faces/src/main/org/jboss/portal/test/faces/el/TestDynamicBean.java
===================================================================
--- trunk/faces/src/main/org/jboss/portal/test/faces/el/TestDynamicBean.java (rev 0)
+++ trunk/faces/src/main/org/jboss/portal/test/faces/el/TestDynamicBean.java 2007-02-26 18:02:56 UTC (rev 6408)
@@ -0,0 +1,67 @@
+/******************************************************************************
+ * JBoss, a division of Red Hat *
+ * Copyright 2006, Red Hat Middleware, LLC, and individual *
+ * contributors as indicated by the @authors tag. See the *
+ * copyright.txt in the distribution for a full listing of *
+ * individual contributors. *
+ * *
+ * This is free software; you can redistribute it and/or modify it *
+ * under the terms of the GNU Lesser General Public License as *
+ * published by the Free Software Foundation; either version 2.1 of *
+ * the License, or (at your option) any later version. *
+ * *
+ * This software is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
+ * Lesser General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU Lesser General Public *
+ * License along with this software; if not, write to the Free *
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA *
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org. *
+ ******************************************************************************/
+package org.jboss.portal.test.faces.el;
+
+import org.jboss.portal.faces.el.dynamic.SimpleDynamicBean;
+import org.jboss.portal.faces.el.dynamic.DynamicProperty;
+import org.jboss.portal.faces.el.dynamic.AbstractDynamicProperty;
+
+/**
+ * @author <a href="mailto:julien@jboss.org">Julien Viet</a>
+ * @version $Revision: 1.1 $
+ */
+public class TestDynamicBean extends SimpleDynamicBean
+{
+
+ /** . */
+ final Object propertyName;
+
+ /** . */
+ Value propertyValue;
+
+ public TestDynamicBean()
+ {
+ this.propertyName = new Object();
+ this.propertyValue = new Value();
+ }
+
+ protected DynamicProperty getProperty(Object propertyName)
+ {
+ if (propertyName == this.propertyName)
+ {
+ return new AbstractDynamicProperty(Value.class)
+ {
+ public Object getValue() throws IllegalArgumentException
+ {
+ return propertyValue;
+ }
+ public boolean setValue(Object value) throws IllegalArgumentException
+ {
+ propertyValue = (Value)value;
+ return true;
+ }
+ };
+ }
+ return null;
+ }
+}
19 years, 2 months
JBoss Portal SVN: r6407 - trunk/wsrp/src/main/org/jboss/portal/wsrp/consumer/portlet/info.
by portal-commits@lists.jboss.org
Author: chris.laprun(a)jboss.com
Date: 2007-02-26 12:41:06 -0500 (Mon, 26 Feb 2007)
New Revision: 6407
Modified:
trunk/wsrp/src/main/org/jboss/portal/wsrp/consumer/portlet/info/WSRPPortletInfo.java
Log:
Property descriptions are optional in ModelDescription so descs could be null.
Modified: trunk/wsrp/src/main/org/jboss/portal/wsrp/consumer/portlet/info/WSRPPortletInfo.java
===================================================================
--- trunk/wsrp/src/main/org/jboss/portal/wsrp/consumer/portlet/info/WSRPPortletInfo.java 2007-02-26 16:27:46 UTC (rev 6406)
+++ trunk/wsrp/src/main/org/jboss/portal/wsrp/consumer/portlet/info/WSRPPortletInfo.java 2007-02-26 17:41:06 UTC (rev 6407)
@@ -27,7 +27,6 @@
import org.jboss.portal.WindowState;
import org.jboss.portal.common.util.LocaleInfo;
import org.jboss.portal.common.util.ParameterValidation;
-import org.jboss.portal.common.value.Value;
import org.jboss.portal.portlet.info.CacheInfo;
import org.jboss.portal.portlet.info.CapabilitiesInfo;
import org.jboss.portal.portlet.info.MetaInfo;
@@ -136,14 +135,21 @@
if (modelDesc != null)
{
PropertyDescription[] descs = modelDesc.getPropertyDescriptions();
- prefInfos = new HashMap(descs.length);
- for (int i = 0; i < descs.length; i++)
+ if (descs != null)
{
- PropertyDescription desc = descs[i];
- String key = desc.getName();
- prefInfos.put(key, new WSRPPreferenceInfo(key, createPortalLocalizedStringFrom(desc.getLabel()),
- createPortalLocalizedStringFrom(desc.getHint())));
+ prefInfos = new HashMap(descs.length);
+ for (int i = 0; i < descs.length; i++)
+ {
+ PropertyDescription desc = descs[i];
+ String key = desc.getName();
+ prefInfos.put(key, new WSRPPreferenceInfo(key, createPortalLocalizedStringFrom(desc.getLabel()),
+ createPortalLocalizedStringFrom(desc.getHint())));
+ }
}
+ else
+ {
+ prefInfos = Collections.EMPTY_MAP;
+ }
}
else
{
19 years, 2 months
JBoss Portal SVN: r6406 - in trunk/faces: src/main/org/jboss/portal/faces/el/decorator and 2 other directories.
by portal-commits@lists.jboss.org
Author: julien(a)jboss.com
Date: 2007-02-26 11:27:46 -0500 (Mon, 26 Feb 2007)
New Revision: 6406
Added:
trunk/faces/src/main/org/jboss/portal/faces/el/dynamic/AbstractDynamicProperty.java
trunk/faces/src/main/org/jboss/portal/test/faces/el/SimpleDynamicBeanTestCase.java
trunk/faces/src/main/org/jboss/portal/test/faces/el/Value.java
Modified:
trunk/faces/build.xml
trunk/faces/src/main/org/jboss/portal/faces/el/decorator/AbstractPropertyDecorator.java
trunk/faces/src/main/org/jboss/portal/test/faces/el/AbstractBeanDecoratorTestCase.java
trunk/faces/src/main/org/jboss/portal/test/faces/el/AbstractDynamicBeanTestCase.java
Log:
added test case for SimpleDynamicBean
Modified: trunk/faces/build.xml
===================================================================
--- trunk/faces/build.xml 2007-02-26 16:13:20 UTC (rev 6405)
+++ trunk/faces/build.xml 2007-02-26 16:27:46 UTC (rev 6406)
@@ -226,6 +226,7 @@
<x-test>
<test todir="${test.reports}" name="org.jboss.portal.test.faces.el.AbstractBeanDecoratorTestCase"/>
<test todir="${test.reports}" name="org.jboss.portal.test.faces.el.AbstractDynamicBeanTestCase"/>
+ <test todir="${test.reports}" name="org.jboss.portal.test.faces.el.SimpleDynamicBeanTestCase"/>
</x-test>
<x-classpath>
<pathelement location="${build.classes}"/>
Modified: trunk/faces/src/main/org/jboss/portal/faces/el/decorator/AbstractPropertyDecorator.java
===================================================================
--- trunk/faces/src/main/org/jboss/portal/faces/el/decorator/AbstractPropertyDecorator.java 2007-02-26 16:13:20 UTC (rev 6405)
+++ trunk/faces/src/main/org/jboss/portal/faces/el/decorator/AbstractPropertyDecorator.java 2007-02-26 16:27:46 UTC (rev 6406)
@@ -30,7 +30,7 @@
{
/** . */
- private Class type;
+ private final Class type;
public AbstractPropertyDecorator(Class type)
{
@@ -41,7 +41,7 @@
this.type = type;
}
- public Class getType(Object bean) throws IllegalArgumentException
+ public final Class getType(Object bean) throws IllegalArgumentException
{
return type;
}
Added: trunk/faces/src/main/org/jboss/portal/faces/el/dynamic/AbstractDynamicProperty.java
===================================================================
--- trunk/faces/src/main/org/jboss/portal/faces/el/dynamic/AbstractDynamicProperty.java (rev 0)
+++ trunk/faces/src/main/org/jboss/portal/faces/el/dynamic/AbstractDynamicProperty.java 2007-02-26 16:27:46 UTC (rev 6406)
@@ -0,0 +1,53 @@
+/******************************************************************************
+ * JBoss, a division of Red Hat *
+ * Copyright 2006, Red Hat Middleware, LLC, and individual *
+ * contributors as indicated by the @authors tag. See the *
+ * copyright.txt in the distribution for a full listing of *
+ * individual contributors. *
+ * *
+ * This is free software; you can redistribute it and/or modify it *
+ * under the terms of the GNU Lesser General Public License as *
+ * published by the Free Software Foundation; either version 2.1 of *
+ * the License, or (at your option) any later version. *
+ * *
+ * This software is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
+ * Lesser General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU Lesser General Public *
+ * License along with this software; if not, write to the Free *
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA *
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org. *
+ ******************************************************************************/
+package org.jboss.portal.faces.el.dynamic;
+
+/**
+ * @author <a href="mailto:julien@jboss.org">Julien Viet</a>
+ * @version $Revision: 1.1 $
+ */
+public abstract class AbstractDynamicProperty implements DynamicProperty
+{
+
+ /** . */
+ private Class type;
+
+ public AbstractDynamicProperty(Class type)
+ {
+ if (type == null)
+ {
+ throw new IllegalArgumentException();
+ }
+ this.type = type;
+ }
+
+ public final Class getType() throws IllegalArgumentException
+ {
+ return type;
+ }
+
+ public boolean setValue(Object value) throws IllegalArgumentException
+ {
+ return false;
+ }
+}
Modified: trunk/faces/src/main/org/jboss/portal/test/faces/el/AbstractBeanDecoratorTestCase.java
===================================================================
--- trunk/faces/src/main/org/jboss/portal/test/faces/el/AbstractBeanDecoratorTestCase.java 2007-02-26 16:13:20 UTC (rev 6405)
+++ trunk/faces/src/main/org/jboss/portal/test/faces/el/AbstractBeanDecoratorTestCase.java 2007-02-26 16:27:46 UTC (rev 6406)
@@ -39,7 +39,6 @@
private Object _propertyName;
private Object _propertyValue;
-
protected void setUp() throws Exception
{
_bean = new Object();
@@ -55,10 +54,6 @@
_propertyValue = null;
}
- private static class Value
- {
- }
-
private final AbstractBeanDecorator decorator = new AbstractBeanDecorator()
{
protected PropertyDecorator getProperty(Object propertyName)
Modified: trunk/faces/src/main/org/jboss/portal/test/faces/el/AbstractDynamicBeanTestCase.java
===================================================================
--- trunk/faces/src/main/org/jboss/portal/test/faces/el/AbstractDynamicBeanTestCase.java 2007-02-26 16:13:20 UTC (rev 6405)
+++ trunk/faces/src/main/org/jboss/portal/test/faces/el/AbstractDynamicBeanTestCase.java 2007-02-26 16:27:46 UTC (rev 6406)
@@ -24,6 +24,7 @@
import junit.framework.TestCase;
import org.jboss.portal.faces.el.dynamic.AbstractDynamicBean;
+import org.jboss.portal.faces.el.dynamic.DynamicBean;
/**
* @author <a href="mailto:julien@jboss.org">Julien Viet</a>
@@ -33,7 +34,7 @@
{
/** . */
- private final AbstractDynamicBean bean = new AbstractDynamicBean();
+ private final DynamicBean bean = new AbstractDynamicBean();
/** . */
private final Object propertyName = new Object();
Added: trunk/faces/src/main/org/jboss/portal/test/faces/el/SimpleDynamicBeanTestCase.java
===================================================================
--- trunk/faces/src/main/org/jboss/portal/test/faces/el/SimpleDynamicBeanTestCase.java (rev 0)
+++ trunk/faces/src/main/org/jboss/portal/test/faces/el/SimpleDynamicBeanTestCase.java 2007-02-26 16:27:46 UTC (rev 6406)
@@ -0,0 +1,96 @@
+/******************************************************************************
+ * JBoss, a division of Red Hat *
+ * Copyright 2006, Red Hat Middleware, LLC, and individual *
+ * contributors as indicated by the @authors tag. See the *
+ * copyright.txt in the distribution for a full listing of *
+ * individual contributors. *
+ * *
+ * This is free software; you can redistribute it and/or modify it *
+ * under the terms of the GNU Lesser General Public License as *
+ * published by the Free Software Foundation; either version 2.1 of *
+ * the License, or (at your option) any later version. *
+ * *
+ * This software is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
+ * Lesser General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU Lesser General Public *
+ * License along with this software; if not, write to the Free *
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA *
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org. *
+ ******************************************************************************/
+package org.jboss.portal.test.faces.el;
+
+import junit.framework.TestCase;
+import org.jboss.portal.faces.el.dynamic.SimpleDynamicBean;
+import org.jboss.portal.faces.el.dynamic.DynamicProperty;
+import org.jboss.portal.faces.el.dynamic.AbstractDynamicProperty;
+import org.jboss.portal.faces.el.dynamic.DynamicBean;
+import org.jboss.portal.faces.el.PropertyValue;
+
+/**
+ * @author <a href="mailto:julien@jboss.org">Julien Viet</a>
+ * @version $Revision: 1.1 $
+ */
+public class SimpleDynamicBeanTestCase extends TestCase
+{
+
+ private DynamicBean _bean;
+ private Object _propertyName;
+ private Object _propertyValue;
+
+ protected void setUp() throws Exception
+ {
+ _propertyName = new Object();
+ _propertyValue = new Value();
+ _bean = new SimpleDynamicBean()
+ {
+ protected DynamicProperty getProperty(Object propertyName)
+ {
+ if (_propertyName == propertyName)
+ {
+ return new AbstractDynamicProperty(Value.class)
+ {
+ public Object getValue() throws IllegalArgumentException
+ {
+ return _propertyValue;
+ }
+ public boolean setValue(Object value) throws IllegalArgumentException
+ {
+ _propertyValue = value;
+ return true;
+ }
+ };
+ }
+ return null;
+ }
+ };
+ }
+
+ protected void tearDown() throws Exception
+ {
+ _bean = null;
+ }
+
+ public void testGetType()
+ {
+ assertEquals(Value.class, _bean.getType(_propertyName));
+ }
+
+ public void testGetValue()
+ {
+ assertEquals(new PropertyValue(_propertyValue), _bean.getValue(_propertyName));
+ }
+
+ public void testSetValue()
+ {
+ Value expectedValue = new Value();
+ assertTrue(_bean.setValue(_propertyName, expectedValue));
+ assertEquals(expectedValue, _propertyValue);
+
+ //
+ assertTrue(_bean.setValue(_propertyName, null));
+ assertEquals(null, _propertyValue);
+ }
+}
Added: trunk/faces/src/main/org/jboss/portal/test/faces/el/Value.java
===================================================================
--- trunk/faces/src/main/org/jboss/portal/test/faces/el/Value.java (rev 0)
+++ trunk/faces/src/main/org/jboss/portal/test/faces/el/Value.java 2007-02-26 16:27:46 UTC (rev 6406)
@@ -0,0 +1,31 @@
+/******************************************************************************
+ * JBoss, a division of Red Hat *
+ * Copyright 2006, Red Hat Middleware, LLC, and individual *
+ * contributors as indicated by the @authors tag. See the *
+ * copyright.txt in the distribution for a full listing of *
+ * individual contributors. *
+ * *
+ * This is free software; you can redistribute it and/or modify it *
+ * under the terms of the GNU Lesser General Public License as *
+ * published by the Free Software Foundation; either version 2.1 of *
+ * the License, or (at your option) any later version. *
+ * *
+ * This software is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
+ * Lesser General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU Lesser General Public *
+ * License along with this software; if not, write to the Free *
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA *
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org. *
+ ******************************************************************************/
+package org.jboss.portal.test.faces.el;
+
+/**
+ * @author <a href="mailto:julien@jboss.org">Julien Viet</a>
+ * @version $Revision: 1.1 $
+ */
+public class Value
+{
+}
19 years, 2 months