JBoss Portal SVN: r6645 - trunk/core-admin/src/bin/portal-admin-war.
by portal-commits@lists.jboss.org
Author: chris.laprun(a)jboss.com
Date: 2007-03-12 16:19:07 -0400 (Mon, 12 Mar 2007)
New Revision: 6645
Modified:
trunk/core-admin/src/bin/portal-admin-war/style.css
Log:
- Use em instead of px for box sizing (scales better).
- Accentuate selected step better.
Modified: trunk/core-admin/src/bin/portal-admin-war/style.css
===================================================================
--- trunk/core-admin/src/bin/portal-admin-war/style.css 2007-03-12 19:11:42 UTC (rev 6644)
+++ trunk/core-admin/src/bin/portal-admin-war/style.css 2007-03-12 20:19:07 UTC (rev 6645)
@@ -6,7 +6,7 @@
}
.admin-ui th {
- text-align:left;
+ text-align: left;
border: 0px;
border-bottom: 1px solid;
}
@@ -35,8 +35,8 @@
font-weight: bold;
}
-.pagination a, .pagination a:visited, .pagination a:hover{
- text-decoration: none;
+.pagination a, .pagination a:visited, .pagination a:hover {
+ text-decoration: none;
}
/* Top nav. */
@@ -44,7 +44,7 @@
.admin-ui ul.topnav {
margin-left: 0;
padding: 3px 0;
- border-bottom:1px solid;
+ border-bottom: 1px solid;
}
.admin-ui ul.topnav li {
@@ -94,15 +94,15 @@
/* */
.admin-ui select.contentType {
- width:8em;
+ width: 8em;
}
.admin-ui select.instanceList {
- width:11em;
+ width: 11em;
}
.admin-ui select.windowList {
- width:11em;
+ width: 11em;
}
/* Style a table for form layout */
@@ -126,31 +126,32 @@
border-top-style: solid;
}
-
.admin-ui .wizardStepBox {
display: inline;
float: left;
- border: 1pt;
- height: 70px;
- width: 80px;
- background-color: #CCCCFF;
- margin:5px;
+ border: 1px solid #98B7C6;
+ height: 7em;
+ width: 9em;
+ background-color: #DFE8ED;
+ margin: .5em;
}
.admin-ui .wizardButtonBox {
- margin:10px;
+ margin: 1em;
}
.admin-ui .wizardContent {
- clear: both;
+ clear: both;
}
.admin-ui #selected.wizardStepBox {
- background-color: #AAAAFF;
+ background-color: #C8DCC4;
+ border: 1px solid black;
+ border-bottom: 5px solid black;
}
.admin-ui .stepNumber {
- font-size: 2em;
+ font-size: 2em;
text-align: center;
margin-top: 5px;
margin-bottom: 0px;
17 years, 6 months
JBoss Portal SVN: r6644 - in trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf: wizard and 1 other directory.
by portal-commits@lists.jboss.org
Author: chris.laprun(a)jboss.com
Date: 2007-03-12 15:11:42 -0400 (Mon, 12 Mar 2007)
New Revision: 6644
Modified:
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/objects.xhtml
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/wizard/newWindowTpl.xhtml
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/wizard/selectPage.xhtml
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/wizard/selectPortal.xhtml
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/wizard/selectRegion.xhtml
Log:
Make JSF happy by embedding commandLinks in h:form elements.
Modified: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/objects.xhtml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/objects.xhtml 2007-03-12 16:48:34 UTC (rev 6643)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/objects.xhtml 2007-03-12 19:11:42 UTC (rev 6644)
@@ -3,7 +3,7 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:c="http://java.sun.com/jstl/core">
-
+
<c:choose>
<c:when test="#{portalobjectmgr.selectedObject.type == 0}">
<ui:include src="editContext.xhtml"/>
@@ -19,7 +19,9 @@
</c:when>
<c:otherwise>FIXME</c:otherwise>
</c:choose>
-
- <p style="text-align: right"><h:commandLink action="wizardMode">Go to wizard mode</h:commandLink></p>
+ <h:form>
+ <p style="text-align: right"><h:commandLink action="wizardMode">Go to wizard mode</h:commandLink></p>
+ </h:form>
+
</div>
Modified: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/wizard/newWindowTpl.xhtml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/wizard/newWindowTpl.xhtml 2007-03-12 16:48:34 UTC (rev 6643)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/wizard/newWindowTpl.xhtml 2007-03-12 19:11:42 UTC (rev 6644)
@@ -5,98 +5,112 @@
xmlns:c="http://java.sun.com/jstl/core"
class="admin-ui">
- <div class="portlet-section-header">Adding a new Portlet</div>
+<div class="portlet-section-header">Adding a new Portlet</div>
+<h:form>
<p style="text-align: right;"><h:commandLink action="advancedMode">Go to advanced mode</h:commandLink></p>
-
- <c:choose>
+</h:form>
+
+<c:choose>
<c:when test="#{newWindowWizard.currentStep == 0}">
- <div class="wizardStepBox" id="selected">
- <p class="stepNumber">Step 1</p>
- <p class="stepText">Select Portlet</p>
- </div>
+ <div class="wizardStepBox" id="selected">
+ <p class="stepNumber">Step 1</p>
+
+ <p class="stepText">Select Portlet</p>
+ </div>
</c:when>
<c:otherwise>
- <div class="wizardStepBox">
- <p class="stepNumber">Step 1</p>
- <p class="stepText">Select Portlet</p>
- </div>
+ <div class="wizardStepBox">
+ <p class="stepNumber">Step 1</p>
+
+ <p class="stepText">Select Portlet</p>
+ </div>
</c:otherwise>
- </c:choose>
-
- <c:choose>
+</c:choose>
+
+<c:choose>
<c:when test="#{newWindowWizard.currentStep == 1}">
- <div class="wizardStepBox" id="selected">
- <p class="stepNumber">Step 2</p>
- <p class="stepText">Select Portal</p>
- </div>
+ <div class="wizardStepBox" id="selected">
+ <p class="stepNumber">Step 2</p>
+
+ <p class="stepText">Select Portal</p>
+ </div>
</c:when>
<c:otherwise>
- <div class="wizardStepBox">
- <p class="stepNumber">Step 2</p>
- <p class="stepText">Select Portal</p>
- </div>
+ <div class="wizardStepBox">
+ <p class="stepNumber">Step 2</p>
+
+ <p class="stepText">Select Portal</p>
+ </div>
</c:otherwise>
- </c:choose>
+</c:choose>
- <c:choose>
+<c:choose>
<c:when test="#{newWindowWizard.currentStep == 2}">
- <div class="wizardStepBox" id="selected">
- <p class="stepNumber">Step 3</p>
- <p class="stepText">Select Page</p>
- </div>
+ <div class="wizardStepBox" id="selected">
+ <p class="stepNumber">Step 3</p>
+
+ <p class="stepText">Select Page</p>
+ </div>
</c:when>
<c:otherwise>
- <div class="wizardStepBox">
- <p class="stepNumber">Step 3</p>
- <p class="stepText">Select Page</p>
- </div>
+ <div class="wizardStepBox">
+ <p class="stepNumber">Step 3</p>
+
+ <p class="stepText">Select Page</p>
+ </div>
</c:otherwise>
- </c:choose>
+</c:choose>
- <c:choose>
+<c:choose>
<c:when test="#{newWindowWizard.currentStep == 3}">
- <div class="wizardStepBox" id="selected">
- <p class="stepNumber">Step 4</p>
- <p class="stepText">Select Region</p>
- </div>
+ <div class="wizardStepBox" id="selected">
+ <p class="stepNumber">Step 4</p>
+
+ <p class="stepText">Select Region</p>
+ </div>
</c:when>
<c:otherwise>
- <div class="wizardStepBox">
- <p class="stepNumber">Step 4</p>
- <p class="stepText">Select Region</p>
- </div>
+ <div class="wizardStepBox">
+ <p class="stepNumber">Step 4</p>
+
+ <p class="stepText">Select Region</p>
+ </div>
</c:otherwise>
- </c:choose>
+</c:choose>
- <c:choose>
+<c:choose>
<c:when test="#{newWindowWizard.currentStep == 4}">
- <div class="wizardStepBox" id="selected">
- <p class="stepNumber">Step 5</p>
- <p class="stepText">Confirm</p>
- </div>
+ <div class="wizardStepBox" id="selected">
+ <p class="stepNumber">Step 5</p>
+
+ <p class="stepText">Confirm</p>
+ </div>
</c:when>
<c:otherwise>
- <div class="wizardStepBox">
- <p class="stepNumber">Step 5</p>
- <p class="stepText">Confirm</p>
- </div>
+ <div class="wizardStepBox">
+ <p class="stepNumber">Step 5</p>
+
+ <p class="stepText">Confirm</p>
+ </div>
</c:otherwise>
- </c:choose>
+</c:choose>
- <!-- Status message -->
- <h:message id="status" for="status"/>
+<!-- Status message -->
+<h:message id="status" for="status"/>
- <!-- Content -->
- <div class="wizardContent">
+<!-- Content -->
+<div class="wizardContent">
<ui:insert name="content">Content</ui:insert>
- </div>
-
- <div class="wizardButtonBox">
+</div>
+
+<div class="wizardButtonBox">
<h:form>
- <h:commandButton rendered="#{newWindowWizard.currentStep gt 0}" value="Previous" action="#{newWindowWizard.previous}" styleClass="portlet-form-button"/>
- <h:commandButton disabled="#{!newWindowWizard.nextEnabled}" rendered="#{newWindowWizard.currentStep lt 4}" value="Next" action="#{newWindowWizard.next}" styleClass="portlet-form-button"/>
+ <h:commandButton rendered="#{newWindowWizard.currentStep gt 0}" value="Previous"
+ action="#{newWindowWizard.previous}" styleClass="portlet-form-button"/>
+ <h:commandButton disabled="#{!newWindowWizard.nextEnabled}" rendered="#{newWindowWizard.currentStep lt 4}"
+ value="Next" action="#{newWindowWizard.next}" styleClass="portlet-form-button"/>
</h:form>
- </div>
-
</div>
+
+</div>
Modified: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/wizard/selectPage.xhtml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/wizard/selectPage.xhtml 2007-03-12 16:48:34 UTC (rev 6643)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/wizard/selectPage.xhtml 2007-03-12 19:11:42 UTC (rev 6644)
@@ -4,38 +4,41 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:c="http://java.sun.com/jstl/core">
-
- <ui:composition template="newWindowTpl.xhtml">
+
+ <ui:composition template="newWindowTpl.xhtml">
<ui:define name="content">
-<table>
- <tbody class="portlet-section-header">
- <tr>
- <th>Page</th>
- <th></th>
- </tr>
- </tbody>
- <tbody>
- <c:forEach items="#{newWindowWizard.pages}" var="object" varStatus="status">
- <tr class="#{object.id == newWindowWizard.selectedPageId ? 'portlet-section-selected' : status.index % 2 == 0 ? 'portlet-section-body' : 'portlet-section-alternate'}">
- <td>
- <h:commandLink id="cl_#{status.index}" action="#{newWindowWizard.selectPage}">
- <h:outputText id="ot_#{status.index}" value="#{object.name}"/>
- <f:param id="f_#{status.index}" name="id" value="#{object.id}"/>
- </h:commandLink>
- </td>
- <td>
- <c:if test="#{not empty object.pages}">
- <h:commandLink id="cl2_#{status.index}" action="#{newWindowWizard.selectParentPage}">
- <h:outputText id="ot2_#{status.index}" value="Sub-Pages"/>
- <f:param id="f2_#{status.index}" name="id" value="#{object.id}"/>
- </h:commandLink>
- </c:if>
- </td>
+ <table>
+ <tbody class="portlet-section-header">
+ <tr>
+ <th>Page</th>
+ <th></th>
</tr>
- </c:forEach>
- </tbody>
-</table>
-</ui:define>
- </ui:composition>
+ </tbody>
+ <tbody>
+ <h:form>
+ <c:forEach items="#{newWindowWizard.pages}" var="object" varStatus="status">
+ <tr
+ class="#{object.id == newWindowWizard.selectedPageId ? 'portlet-section-selected' : status.index % 2 == 0 ? 'portlet-section-body' : 'portlet-section-alternate'}">
+ <td>
+ <h:commandLink id="cl_#{status.index}" action="#{newWindowWizard.selectPage}">
+ <h:outputText id="ot_#{status.index}" value="#{object.name}"/>
+ <f:param id="f_#{status.index}" name="id" value="#{object.id}"/>
+ </h:commandLink>
+ </td>
+ <td>
+ <c:if test="#{not empty object.pages}">
+ <h:commandLink id="cl2_#{status.index}" action="#{newWindowWizard.selectParentPage}">
+ <h:outputText id="ot2_#{status.index}" value="Sub-Pages"/>
+ <f:param id="f2_#{status.index}" name="id" value="#{object.id}"/>
+ </h:commandLink>
+ </c:if>
+ </td>
+ </tr>
+ </c:forEach>
+ </h:form>
+ </tbody>
+ </table>
+ </ui:define>
+ </ui:composition>
</div>
\ No newline at end of file
Modified: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/wizard/selectPortal.xhtml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/wizard/selectPortal.xhtml 2007-03-12 16:48:34 UTC (rev 6643)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/wizard/selectPortal.xhtml 2007-03-12 19:11:42 UTC (rev 6644)
@@ -4,30 +4,33 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:c="http://java.sun.com/jstl/core">
-
- <ui:composition template="newWindowTpl.xhtml">
+
+ <ui:composition template="newWindowTpl.xhtml">
<ui:define name="content">
- <table width="100%">
+ <table width="100%">
- <tbody class="portlet-section-header">
- <tr>
- <th>Portal</th>
- </tr>
- </tbody>
- <tbody>
- <c:forEach items="#{portalobjectmgr.selectedObject.portals}" var="object" varStatus="status">
- <tr class="#{object.id == newWindowWizard.selectedPortalId ? 'portlet-section-selected' : status.index % 2 == 0 ? 'portlet-section-body' : 'portlet-section-alternate'}">
- <td>
- <h:commandLink action="#{newWindowWizard.selectPortal}">
- <h:outputText value="#{object.name}"/>
- <f:param name="id" value="#{object.id}"/>
- </h:commandLink>
- </td>
+ <tbody class="portlet-section-header">
+ <tr>
+ <th>Portal</th>
</tr>
- </c:forEach>
- </tbody>
+ </tbody>
+ <tbody>
+ <h:form>
+ <c:forEach items="#{portalobjectmgr.selectedObject.portals}" var="object" varStatus="status">
+ <tr
+ class="#{object.id == newWindowWizard.selectedPortalId ? 'portlet-section-selected' : status.index % 2 == 0 ? 'portlet-section-body' : 'portlet-section-alternate'}">
+ <td>
+ <h:commandLink action="#{newWindowWizard.selectPortal}">
+ <h:outputText value="#{object.name}"/>
+ <f:param name="id" value="#{object.id}"/>
+ </h:commandLink>
+ </td>
+ </tr>
+ </c:forEach>
+ </h:form>
+ </tbody>
-</table>
-</ui:define>
- </ui:composition>
+ </table>
+ </ui:define>
+ </ui:composition>
</div>
\ No newline at end of file
Modified: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/wizard/selectRegion.xhtml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/wizard/selectRegion.xhtml 2007-03-12 16:48:34 UTC (rev 6643)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/wizard/selectRegion.xhtml 2007-03-12 19:11:42 UTC (rev 6644)
@@ -4,32 +4,34 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:c="http://java.sun.com/jstl/core">
-
- <ui:composition template="newWindowTpl.xhtml">
+
+ <ui:composition template="newWindowTpl.xhtml">
<ui:define name="content">
- <table width="100%">
+ <table width="100%">
- <tbody class="portlet-section-header">
- <tr>
- <th>Portal</th>
- </tr>
- </tbody>
- <tbody>
- <c:forEach items="#{newWindowWizard.regions}" var="object" varStatus="status">
- <tr class="#{object == newWindowWizard.selectedRegionId ? 'portlet-section-selected' : status.index % 2 == 0 ? 'portlet-section-body' : 'portlet-section-alternate'}">
- <td>
- <h:commandLink action="#{newWindowWizard.selectRegion}">
- <h:outputText value="#{object}"/>
- <f:param name="name" value="#{object}"/>
- </h:commandLink>
- </td>
+ <tbody class="portlet-section-header">
+ <tr>
+ <th>Portal</th>
</tr>
- </c:forEach>
- </tbody>
+ </tbody>
+ <tbody>
+ <h:form>
+ <c:forEach items="#{newWindowWizard.regions}" var="object" varStatus="status">
+ <tr
+ class="#{object == newWindowWizard.selectedRegionId ? 'portlet-section-selected' : status.index % 2 == 0 ? 'portlet-section-body' : 'portlet-section-alternate'}">
+ <td>
+ <h:commandLink action="#{newWindowWizard.selectRegion}">
+ <h:outputText value="#{object}"/>
+ <f:param name="name" value="#{object}"/>
+ </h:commandLink>
+ </td>
+ </tr>
+ </c:forEach>
+ </h:form>
+ </tbody>
+ </table>
-</table>
-
-</ui:define>
- </ui:composition>
+ </ui:define>
+ </ui:composition>
</div>
\ No newline at end of file
17 years, 6 months
JBoss Portal SVN: r6643 - in trunk: common/src/main/org/jboss/portal/common/util and 12 other directories.
by portal-commits@lists.jboss.org
Author: julien(a)jboss.com
Date: 2007-03-12 12:48:34 -0400 (Mon, 12 Mar 2007)
New Revision: 6643
Added:
trunk/common/src/main/org/jboss/portal/common/util/MapAccessor.java
Removed:
trunk/portlet/src/main/org/jboss/portal/portlet/impl/state/StateConverterService.java
Modified:
trunk/cms/build.xml
trunk/common/src/main/org/jboss/portal/common/util/ParameterMap.java
trunk/common/src/main/org/jboss/portal/common/util/TypedMap.java
trunk/common/src/main/org/jboss/portal/test/common/ParameterMapTestCase.java
trunk/common/src/main/org/jboss/portal/test/common/TypedMapTestCase.java
trunk/core/build.xml
trunk/core/src/main/org/jboss/portal/core/impl/portlet/state/PersistentPortletState.java
trunk/core/src/main/org/jboss/portal/core/impl/portlet/state/PersistentRegistration.java
trunk/core/src/resources/portal-core-test-jar/org/jboss/portal/test/core/model/instance/jboss-beans.xml
trunk/core/src/resources/portal-core-test-jar/org/jboss/portal/test/core/state/jboss-beans.xml
trunk/portlet/src/main/org/jboss/portal/portlet/PortletParameters.java
trunk/portlet/src/main/org/jboss/portal/portlet/state/AbstractPropertyMap.java
trunk/portlet/src/main/org/jboss/portal/portlet/state/PropertyMap.java
trunk/portlet/src/main/org/jboss/portal/portlet/state/SimplePropertyMap.java
trunk/portlet/src/main/org/jboss/portal/test/portlet/state/ConsumerStatefulPortletInvokerTestCase.java
trunk/portlet/src/main/org/jboss/portal/test/portlet/state/ProducerStatefulPortletInvokerTestCase.java
trunk/server/src/main/org/jboss/portal/server/AbstractServerURL.java
trunk/server/src/main/org/jboss/portal/server/impl/ServerInvocationContextImpl.java
trunk/wsrp/src/resources/tests/test-wsrp-producer-sar/META-INF/jboss-service.xml
Log:
- added MapAccessor in common package which allows to decouple the map object from the TypedMap class
- removed a bunch of TypedMap subclasses that were nedded in order to implement the getDelegate()
- removed StateConverterService, instead use StateConverterV0, which also remove the need to have PropertyMap extends Serializable
- added http common classpath in test cases were needed
Modified: trunk/cms/build.xml
===================================================================
--- trunk/cms/build.xml 2007-03-12 15:48:06 UTC (rev 6642)
+++ trunk/cms/build.xml 2007-03-12 16:48:34 UTC (rev 6643)
@@ -353,6 +353,7 @@
<path refid="antlr.antlr.classpath"/>
<path refid="asm.asm.classpath"/>
<path refid="cglib.cglib.classpath"/>
+ <path refid="apache.httpclient.classpath"/>
<path refid="jboss.portal-common.classpath"/>
<path refid="jboss.portal-test.classpath"/>
<path refid="jboss.portal-server.classpath"/>
@@ -441,6 +442,7 @@
<path refid="antlr.antlr.classpath"/>
<path refid="asm.asm.classpath"/>
<path refid="cglib.cglib.classpath"/>
+ <path refid="apache.httpclient.classpath"/>
<path refid="jboss.portal-common.classpath"/>
<path refid="jboss.portal-test.classpath"/>
<path refid="jboss.portal-search.classpath"/>
Added: trunk/common/src/main/org/jboss/portal/common/util/MapAccessor.java
===================================================================
--- trunk/common/src/main/org/jboss/portal/common/util/MapAccessor.java (rev 0)
+++ trunk/common/src/main/org/jboss/portal/common/util/MapAccessor.java 2007-03-12 16:48:34 UTC (rev 6643)
@@ -0,0 +1,41 @@
+/******************************************************************************
+ * 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.common.util;
+
+import java.util.Map;
+
+/**
+ * An interface which defines how a map can be accessed.
+ *
+ * @author <a href="mailto:julien@jboss.org">Julien Viet</a>
+ * @version $Revision: 1.1 $
+ */
+public interface MapAccessor
+{
+ /**
+ * Return the accessed map.
+ *
+ * @return a non null map
+ */
+ Map getMap();
+}
Modified: trunk/common/src/main/org/jboss/portal/common/util/ParameterMap.java
===================================================================
--- trunk/common/src/main/org/jboss/portal/common/util/ParameterMap.java 2007-03-12 15:48:06 UTC (rev 6642)
+++ trunk/common/src/main/org/jboss/portal/common/util/ParameterMap.java 2007-03-12 16:48:34 UTC (rev 6643)
@@ -23,6 +23,7 @@
package org.jboss.portal.common.util;
import java.util.Arrays;
+import java.util.Map;
/**
* A decorator that enforce the map content to be <String,String[]>
@@ -30,7 +31,7 @@
* @author <a href="mailto:julien@jboss.org">Julien Viet</a>
* @version $Revision$
*/
-public abstract class ParameterMap extends TypedMap
+public class ParameterMap extends TypedMap
{
/** If true returned values will be cloned when returned to the client. */
@@ -39,17 +40,34 @@
/** If true returned values will be cloned when provided by the client. */
private boolean cloneExternalValue;
- protected ParameterMap(boolean cloneInternalValue, boolean cloneExternalValue)
+ public ParameterMap(MapAccessor accessor, boolean cloneInternalValue, boolean cloneExternalValue)
{
+ super(accessor);
+
+ //
this.cloneInternalValue = cloneInternalValue;
this.cloneExternalValue = cloneExternalValue;
}
- protected ParameterMap()
+ public ParameterMap(Map delegate, boolean cloneInternalValue, boolean cloneExternalValue)
{
- this(false, false);
+ super(delegate);
+
+ //
+ this.cloneInternalValue = cloneInternalValue;
+ this.cloneExternalValue = cloneExternalValue;
}
+ public ParameterMap(MapAccessor accessor)
+ {
+ this(accessor, false, false);
+ }
+
+ public ParameterMap(Map delegate)
+ {
+ this(delegate, false, false);
+ }
+
/**
* Return true if values returned by the map are cloned.
*
Modified: trunk/common/src/main/org/jboss/portal/common/util/TypedMap.java
===================================================================
--- trunk/common/src/main/org/jboss/portal/common/util/TypedMap.java 2007-03-12 15:48:06 UTC (rev 6642)
+++ trunk/common/src/main/org/jboss/portal/common/util/TypedMap.java 2007-03-12 16:48:34 UTC (rev 6643)
@@ -40,9 +40,40 @@
public abstract class TypedMap implements Map
{
- protected abstract Map getDelegate();
+ /** The map accessor. */
+ protected final MapAccessor accessor;
+ protected TypedMap(MapAccessor accessor)
+ {
+ if (accessor == null)
+ {
+ throw new IllegalArgumentException("Need a valid accessor");
+ }
+ this.accessor = accessor;
+ }
+
+ protected TypedMap(final Map delegate)
+ {
+ accessor = new MapAccessor()
+ {
+ public Map getMap()
+ {
+ return delegate;
+ }
+ };
+ }
+
/**
+ * Return the map provided by the accessor.
+ *
+ * @return the delegate map
+ */
+ protected final Map getDelegate()
+ {
+ return accessor.getMap();
+ }
+
+ /**
* Override to check the validity of the key, the default implementation is an empty method.
*
* @throws ClassCastException if the class of the specified key prevents it from being stored in this map
Modified: trunk/common/src/main/org/jboss/portal/test/common/ParameterMapTestCase.java
===================================================================
--- trunk/common/src/main/org/jboss/portal/test/common/ParameterMapTestCase.java 2007-03-12 15:48:06 UTC (rev 6642)
+++ trunk/common/src/main/org/jboss/portal/test/common/ParameterMapTestCase.java 2007-03-12 16:48:34 UTC (rev 6643)
@@ -37,25 +37,16 @@
public class ParameterMapTestCase extends TestCase
{
- public static class TestParameterMap extends ParameterMap
- {
- private final Map delegate = new HashMap();
- protected Map getDelegate()
- {
- return delegate;
- }
- }
-
public void testPut()
{
- ParameterMap pm = new TestParameterMap();
+ ParameterMap pm = new ParameterMap(new HashMap());
pm.put("foo", new String[]{"bar"});
// ExtendedAssert.assertEquals(new String[]{"bar"}, (Object[])pm.get("foo"));
}
public void testEntry()
{
- ParameterMap pm = new TestParameterMap();
+ ParameterMap pm = new ParameterMap(new HashMap());
pm.put("foo", new String[]{"bar"});
Set entries = pm.entrySet();
assertNotNull(entries);
@@ -70,7 +61,7 @@
public void testPutThrowsException()
{
- ParameterMap pm = new TestParameterMap();
+ ParameterMap pm = new ParameterMap(new HashMap());
try
{
pm.put(new Object(), new String[]{"bar"});
@@ -107,7 +98,7 @@
public void testEntrySetValueThrowsException()
{
- ParameterMap pm = new TestParameterMap();
+ ParameterMap pm = new ParameterMap(new HashMap());
pm.put("foo", new String[]{"bar"});
Set entries = pm.entrySet();
assertNotNull(entries);
Modified: trunk/common/src/main/org/jboss/portal/test/common/TypedMapTestCase.java
===================================================================
--- trunk/common/src/main/org/jboss/portal/test/common/TypedMapTestCase.java 2007-03-12 15:48:06 UTC (rev 6642)
+++ trunk/common/src/main/org/jboss/portal/test/common/TypedMapTestCase.java 2007-03-12 16:48:34 UTC (rev 6643)
@@ -386,7 +386,7 @@
{
/** . */
- final Map delegate = new HashMap();
+ final Map delegate;
/** . */
boolean internalValueReturnsNull = false;
@@ -394,9 +394,12 @@
/** . */
boolean externalValueReturnsNull = false;
- protected Map getDelegate()
+ public StringToIntegerMap()
{
- return delegate;
+ super(new HashMap());
+
+ //
+ delegate = getDelegate();
}
protected void assertKeyValidity(Object key) throws ClassCastException
Modified: trunk/core/build.xml
===================================================================
--- trunk/core/build.xml 2007-03-12 15:48:06 UTC (rev 6642)
+++ trunk/core/build.xml 2007-03-12 16:48:34 UTC (rev 6643)
@@ -615,6 +615,7 @@
<path refid="jboss.jbossxb.classpath"/>
<path refid="oswego.concurrent.classpath"/>
<path refid="jboss.microcontainer.classpath"/>
+ <path refid="apache.httpclient.classpath"/>
<path refid="aop.classpath"/>
<path refid="dom4j.dom4j.classpath"/>
<path refid="cglib.cglib.classpath"/>
Modified: trunk/core/src/main/org/jboss/portal/core/impl/portlet/state/PersistentPortletState.java
===================================================================
--- trunk/core/src/main/org/jboss/portal/core/impl/portlet/state/PersistentPortletState.java 2007-03-12 15:48:06 UTC (rev 6642)
+++ trunk/core/src/main/org/jboss/portal/core/impl/portlet/state/PersistentPortletState.java 2007-03-12 16:48:34 UTC (rev 6643)
@@ -195,13 +195,8 @@
{
if (ctx == null)
{
- PropertyMap props = new AbstractPropertyMap()
+ PropertyMap props = new AbstractPropertyMap(entries)
{
- protected Map getDelegate()
- {
- return entries;
- }
-
protected Object getInternalValue(Object value)
{
throw new IllegalArgumentException("Immutable");
Modified: trunk/core/src/main/org/jboss/portal/core/impl/portlet/state/PersistentRegistration.java
===================================================================
--- trunk/core/src/main/org/jboss/portal/core/impl/portlet/state/PersistentRegistration.java 2007-03-12 15:48:06 UTC (rev 6642)
+++ trunk/core/src/main/org/jboss/portal/core/impl/portlet/state/PersistentRegistration.java 2007-03-12 16:48:34 UTC (rev 6643)
@@ -24,6 +24,7 @@
import org.jboss.portal.common.NotYetImplemented;
import org.jboss.portal.common.util.TypedMap;
+import org.jboss.portal.common.util.MapAccessor;
import org.jboss.portal.registration.Consumer;
import org.jboss.portal.registration.Registration;
import org.jboss.portal.registration.RegistrationStatus;
@@ -252,9 +253,9 @@
public class Properties extends TypedMap
{
- protected Map getDelegate()
+ public Properties()
{
- return persistentProperties;
+ super(persistentProperties);
}
protected void assertKeyValidity(Object key) throws ClassCastException
Modified: trunk/core/src/resources/portal-core-test-jar/org/jboss/portal/test/core/model/instance/jboss-beans.xml
===================================================================
--- trunk/core/src/resources/portal-core-test-jar/org/jboss/portal/test/core/model/instance/jboss-beans.xml 2007-03-12 15:48:06 UTC (rev 6642)
+++ trunk/core/src/resources/portal-core-test-jar/org/jboss/portal/test/core/model/instance/jboss-beans.xml 2007-03-12 16:48:34 UTC (rev 6643)
@@ -83,7 +83,7 @@
<property name="jNDIName">java:/PortletSessionFactory</property>
</bean>
- <bean name="StateConverter" class="org.jboss.portal.portlet.impl.state.StateConverterService">
+ <bean name="StateConverter" class="org.jboss.portal.portlet.impl.state.StateConverterV0">
</bean>
<bean name="StateManagementPolicy" class="org.jboss.portal.portlet.impl.state.StateManagementPolicyService">
<property name="persistLocally"><inject bean="TestCaseConfig" property="persistLocally"/></property>
Modified: trunk/core/src/resources/portal-core-test-jar/org/jboss/portal/test/core/state/jboss-beans.xml
===================================================================
--- trunk/core/src/resources/portal-core-test-jar/org/jboss/portal/test/core/state/jboss-beans.xml 2007-03-12 15:48:06 UTC (rev 6642)
+++ trunk/core/src/resources/portal-core-test-jar/org/jboss/portal/test/core/state/jboss-beans.xml 2007-03-12 16:48:34 UTC (rev 6643)
@@ -67,7 +67,7 @@
<property name="jNDIName">java:/SessionFactory</property>
</bean>
- <bean name="StateConverter" class="org.jboss.portal.portlet.impl.state.StateConverterService">
+ <bean name="StateConverter" class="org.jboss.portal.portlet.impl.state.StateConverterV0">
</bean>
<bean name="StateManagementPolicy" class="org.jboss.portal.core.impl.portlet.state.StateManagementPolicyImpl">
Modified: trunk/portlet/src/main/org/jboss/portal/portlet/PortletParameters.java
===================================================================
--- trunk/portlet/src/main/org/jboss/portal/portlet/PortletParameters.java 2007-03-12 15:48:06 UTC (rev 6642)
+++ trunk/portlet/src/main/org/jboss/portal/portlet/PortletParameters.java 2007-03-12 16:48:34 UTC (rev 6643)
@@ -42,32 +42,13 @@
/** The serialVersionUID */
private static final long serialVersionUID = -8529807471117491810L;
- /** The data. */
- private Map map;
-
/** Creates an empty parameter set. */
public PortletParameters()
{
- this.map = new HashMap();
+ super(new HashMap());
}
/**
- * Copy constructor.
- *
- * @throws IllegalArgumentException if the parameters is null
- */
- public PortletParameters(PortletParameters parameters) throws IllegalArgumentException
- {
- if (parameters == null)
- {
- throw new IllegalArgumentException();
- }
-
- //
- this.map = new HashMap(parameters.map);
- }
-
- /**
* Copy the parameter map to initialize the object state.
*
* @throws IllegalArgumentException if the parameter map is null or not valid
@@ -79,23 +60,18 @@
*/
public PortletParameters(Map parameterMap) throws NullPointerException, ClassCastException, IllegalArgumentException
{
+ super(new HashMap());
+
+ //
if (parameterMap == null)
{
throw new IllegalArgumentException("No null map accepted");
}
//
- this.map = new HashMap();
-
- //
replace(parameterMap);
}
- protected Map getDelegate()
- {
- return map;
- }
-
/**
* Append the content of the argument map to that map. If both maps contains an entry sharing the same key, then the
* string arrays or the two entries will be concatenated into a single array. Each entry present on the argument map
@@ -123,13 +99,14 @@
}
// Merge or use appended values
+ Map delegate = getDelegate();
while (--index >= 0)
{
String appendedName = appendedNames[index];
String[] appendedValue = appendedValues[index];
//
- String[] value = (String[])map.get(appendedName);
+ String[] value = (String[])delegate.get(appendedName);
if (value != null)
{
String[] tmp = new String[value.length + appendedValue.length];
@@ -139,30 +116,28 @@
}
//
- map.put(appendedName, appendedValue);
+ delegate.put(appendedName, appendedValue);
}
}
public String toString()
{
StringBuffer buffer = new StringBuffer("Parameters[");
- if (map != null)
+ Map delegate = getDelegate();
+ for (Iterator i = delegate.entrySet().iterator(); i.hasNext();)
{
- for (Iterator i = map.entrySet().iterator(); i.hasNext();)
+ Map.Entry entry = (Map.Entry)i.next();
+ String name = (String)entry.getKey();
+ String[] values = (String[])entry.getValue();
+ buffer.append(name);
+ for (int j = 0; j < values.length; j++)
{
- Map.Entry entry = (Map.Entry)i.next();
- String name = (String)entry.getKey();
- String[] values = (String[])entry.getValue();
- buffer.append(name);
- for (int j = 0; j < values.length; j++)
- {
- buffer.append(j > 0 ? ',' : '=').append(values[j]);
- }
- if (i.hasNext())
- {
- buffer.append(" | ");
- }
+ buffer.append(j > 0 ? ',' : '=').append(values[j]);
}
+ if (i.hasNext())
+ {
+ buffer.append(" | ");
+ }
}
buffer.append(']');
return buffer.toString();
Deleted: trunk/portlet/src/main/org/jboss/portal/portlet/impl/state/StateConverterService.java
===================================================================
--- trunk/portlet/src/main/org/jboss/portal/portlet/impl/state/StateConverterService.java 2007-03-12 15:48:06 UTC (rev 6642)
+++ trunk/portlet/src/main/org/jboss/portal/portlet/impl/state/StateConverterService.java 2007-03-12 16:48:34 UTC (rev 6643)
@@ -1,62 +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.portlet.impl.state;
-
-import org.jboss.portal.common.util.Tools;
-import org.jboss.portal.jems.as.system.AbstractJBossService;
-import org.jboss.portal.portlet.state.StateConverter;
-import org.jboss.portal.portlet.state.producer.PortletState;
-
-import java.io.IOException;
-
-/**
- * @author <a href="mailto:julien@jboss.org">Julien Viet</a>
- * @version $Revision: 1.1 $
- */
-public class StateConverterService extends AbstractJBossService implements StateConverter
-{
-
- public byte[] marshall(PortletState state)
- {
- try
- {
- return Tools.serialize(state);
- }
- catch (IOException e)
- {
- throw new RuntimeException(e);
- }
- }
-
- public PortletState unmarshall(byte[] marshalledState)
- {
- try
- {
- return (PortletState)Tools.unserialize(marshalledState);
- }
- catch (Exception e)
- {
- throw new RuntimeException(e);
- }
- }
-}
Modified: trunk/portlet/src/main/org/jboss/portal/portlet/state/AbstractPropertyMap.java
===================================================================
--- trunk/portlet/src/main/org/jboss/portal/portlet/state/AbstractPropertyMap.java 2007-03-12 15:48:06 UTC (rev 6642)
+++ trunk/portlet/src/main/org/jboss/portal/portlet/state/AbstractPropertyMap.java 2007-03-12 16:48:34 UTC (rev 6643)
@@ -23,8 +23,11 @@
package org.jboss.portal.portlet.state;
import org.jboss.portal.common.util.TypedMap;
+import org.jboss.portal.common.util.MapAccessor;
import org.jboss.portal.common.value.Value;
+import java.util.Map;
+
/**
* @author <a href="mailto:julien@jboss.org">Julien Viet</a>
* @version $Revision$
@@ -32,9 +35,16 @@
public abstract class AbstractPropertyMap extends TypedMap implements PropertyMap
{
- /** The serialVersionUID */
- private static final long serialVersionUID = -5889928820592375820L;
+ protected AbstractPropertyMap(MapAccessor accessor)
+ {
+ super(accessor);
+ }
+ protected AbstractPropertyMap(Map delegate)
+ {
+ super(delegate);
+ }
+
/**
* Only accept non null string objects.
*
Modified: trunk/portlet/src/main/org/jboss/portal/portlet/state/PropertyMap.java
===================================================================
--- trunk/portlet/src/main/org/jboss/portal/portlet/state/PropertyMap.java 2007-03-12 15:48:06 UTC (rev 6642)
+++ trunk/portlet/src/main/org/jboss/portal/portlet/state/PropertyMap.java 2007-03-12 16:48:34 UTC (rev 6643)
@@ -24,14 +24,13 @@
import org.jboss.portal.common.value.Value;
-import java.io.Serializable;
import java.util.Map;
/**
* @author <a href="mailto:julien@jboss.org">Julien Viet</a>
- * @version $Revision: 3287 $
+ * @version $Revision$
*/
-public interface PropertyMap extends Map, Serializable
+public interface PropertyMap extends Map
{
/**
* Return the value for the given key or null if it does not exist.
Modified: trunk/portlet/src/main/org/jboss/portal/portlet/state/SimplePropertyMap.java
===================================================================
--- trunk/portlet/src/main/org/jboss/portal/portlet/state/SimplePropertyMap.java 2007-03-12 15:48:06 UTC (rev 6642)
+++ trunk/portlet/src/main/org/jboss/portal/portlet/state/SimplePropertyMap.java 2007-03-12 16:48:34 UTC (rev 6643)
@@ -24,51 +24,41 @@
import java.util.HashMap;
import java.util.Map;
+import java.io.Serializable;
/**
* @author <a href="mailto:julien@jboss.org">Julien Viet</a>
- * @version $Revision: 3287 $
+ * @version $Revision$
*/
-public class SimplePropertyMap extends AbstractPropertyMap
+public class SimplePropertyMap extends AbstractPropertyMap
{
- /** The serialVersionUID */
- private static final long serialVersionUID = -5889928820592375820L;
-
- protected Map getDelegate()
+ public SimplePropertyMap()
{
- return values;
+ this(new HashMap());
}
- /** . */
- protected final Map values;
-
public SimplePropertyMap(int size)
{
this(new HashMap(size));
}
- public SimplePropertyMap()
+ public SimplePropertyMap(PropertyMap that)
{
this(new HashMap());
- }
- public SimplePropertyMap(PropertyMap that)
- {
- this();
+ //
if (that == null)
{
throw new IllegalArgumentException();
}
+
+ //
putAll(that);
}
public SimplePropertyMap(Map map)
{
- if (map == null)
- {
- throw new IllegalArgumentException();
- }
- this.values = map;
+ super(map);
}
}
Modified: trunk/portlet/src/main/org/jboss/portal/test/portlet/state/ConsumerStatefulPortletInvokerTestCase.java
===================================================================
--- trunk/portlet/src/main/org/jboss/portal/test/portlet/state/ConsumerStatefulPortletInvokerTestCase.java 2007-03-12 15:48:06 UTC (rev 6642)
+++ trunk/portlet/src/main/org/jboss/portal/test/portlet/state/ConsumerStatefulPortletInvokerTestCase.java 2007-03-12 16:48:34 UTC (rev 6643)
@@ -26,8 +26,8 @@
import org.jboss.portal.portlet.PortletContext;
import org.jboss.portal.portlet.PortletInvokerException;
import org.jboss.portal.portlet.support.info.PortletInfoSupport;
-import org.jboss.portal.portlet.impl.state.StateConverterService;
import org.jboss.portal.portlet.impl.state.StateManagementPolicyService;
+import org.jboss.portal.portlet.impl.state.StateConverterV0;
import org.jboss.portal.portlet.impl.state.consumer.ConsumerPersistenceManagerService;
import org.jboss.portal.portlet.impl.state.producer.PortletStatePersistenceManagerService;
import org.jboss.portal.portlet.invocation.ActionInvocation;
@@ -35,6 +35,7 @@
import org.jboss.portal.portlet.state.AccessMode;
import org.jboss.portal.portlet.state.PropertyChange;
import org.jboss.portal.portlet.state.PropertyMap;
+import org.jboss.portal.portlet.state.StateConverter;
import org.jboss.portal.portlet.state.consumer.ConsumerPortletInvoker;
import org.jboss.portal.portlet.state.producer.ProducerPortletInvoker;
import org.jboss.portal.portlet.test.ActionContextImpl;
@@ -81,7 +82,7 @@
protected StateManagementPolicyService stateManagementPolicy;
/** . */
- protected StateConverterService stateConverter;
+ protected StateConverter stateConverter;
protected void setUp() throws Exception
{
@@ -91,7 +92,7 @@
container = new PortletInvokerSupport();
portletStatePersistenceManager = new PortletStatePersistenceManagerService();
stateManagementPolicy = new StateManagementPolicyService();
- stateConverter = new StateConverterService();
+ stateConverter = new StateConverterV0();
//
stateManagementPolicy.setPersistLocally(persistLocally);
Modified: trunk/portlet/src/main/org/jboss/portal/test/portlet/state/ProducerStatefulPortletInvokerTestCase.java
===================================================================
--- trunk/portlet/src/main/org/jboss/portal/test/portlet/state/ProducerStatefulPortletInvokerTestCase.java 2007-03-12 15:48:06 UTC (rev 6642)
+++ trunk/portlet/src/main/org/jboss/portal/test/portlet/state/ProducerStatefulPortletInvokerTestCase.java 2007-03-12 16:48:34 UTC (rev 6643)
@@ -25,14 +25,15 @@
import org.jboss.portal.portlet.Portlet;
import org.jboss.portal.portlet.PortletContext;
import org.jboss.portal.portlet.PortletInvokerException;
-import org.jboss.portal.portlet.impl.state.StateConverterService;
import org.jboss.portal.portlet.impl.state.StateManagementPolicyService;
+import org.jboss.portal.portlet.impl.state.StateConverterV0;
import org.jboss.portal.portlet.impl.state.producer.PortletStatePersistenceManagerService;
import org.jboss.portal.portlet.invocation.ActionInvocation;
import org.jboss.portal.portlet.invocation.PortletInvocation;
import org.jboss.portal.portlet.state.AccessMode;
import org.jboss.portal.portlet.state.PropertyChange;
import org.jboss.portal.portlet.state.PropertyMap;
+import org.jboss.portal.portlet.state.StateConverter;
import org.jboss.portal.portlet.state.producer.ProducerPortletInvoker;
import org.jboss.portal.portlet.test.ActionContextImpl;
import org.jboss.portal.portlet.test.InstanceContextImpl;
@@ -73,7 +74,7 @@
protected StateManagementPolicyService stateManagementPolicy;
/** . */
- protected StateConverterService stateConverter;
+ protected StateConverter stateConverter;
protected void setUp() throws Exception
{
@@ -81,7 +82,7 @@
container = new PortletInvokerSupport();
persistenceManager = new PortletStatePersistenceManagerService();
stateManagementPolicy = new StateManagementPolicyService();
- stateConverter = new StateConverterService();
+ stateConverter = new StateConverterV0();
//
stateManagementPolicy.setPersistLocally(persistLocally);
Modified: trunk/server/src/main/org/jboss/portal/server/AbstractServerURL.java
===================================================================
--- trunk/server/src/main/org/jboss/portal/server/AbstractServerURL.java 2007-03-12 15:48:06 UTC (rev 6642)
+++ trunk/server/src/main/org/jboss/portal/server/AbstractServerURL.java 2007-03-12 16:48:34 UTC (rev 6643)
@@ -41,13 +41,7 @@
private Map parameters = new HashMap();
/** . */
- private ParameterMap map = new ParameterMap()
- {
- protected Map getDelegate()
- {
- return parameters;
- }
- };
+ private ParameterMap map = new ParameterMap(parameters);
public void setPortalRequestPath(String portalRequestPath)
{
Modified: trunk/server/src/main/org/jboss/portal/server/impl/ServerInvocationContextImpl.java
===================================================================
--- trunk/server/src/main/org/jboss/portal/server/impl/ServerInvocationContextImpl.java 2007-03-12 15:48:06 UTC (rev 6642)
+++ trunk/server/src/main/org/jboss/portal/server/impl/ServerInvocationContextImpl.java 2007-03-12 16:48:34 UTC (rev 6643)
@@ -110,8 +110,8 @@
this.portalRequestPath = portalRequestPath;
this.portalContextPath = portalContextPath;
this.portalHost = portalHost;
- this.queryParameterMap = new InternalParameterMap(queryParameterMap);
- this.bodyParameterMap = bodyParameterMap != null ? new InternalParameterMap(bodyParameterMap) : null;
+ this.queryParameterMap = new ParameterMap(queryParameterMap);
+ this.bodyParameterMap = bodyParameterMap != null ? new ParameterMap(bodyParameterMap) : null;
this.urlContext = urlContext;
this.mediaType = mediaType;
this.buffers = new Buffer[16];
@@ -283,21 +283,4 @@
return s;
}
}
-
- private static class InternalParameterMap extends ParameterMap
- {
-
- /** . */
- private Map delegate;
-
- public InternalParameterMap(Map delegate)
- {
- this.delegate = delegate;
- }
-
- protected Map getDelegate()
- {
- return delegate;
- }
- }
}
Modified: trunk/wsrp/src/resources/tests/test-wsrp-producer-sar/META-INF/jboss-service.xml
===================================================================
--- trunk/wsrp/src/resources/tests/test-wsrp-producer-sar/META-INF/jboss-service.xml 2007-03-12 15:48:06 UTC (rev 6642)
+++ trunk/wsrp/src/resources/tests/test-wsrp-producer-sar/META-INF/jboss-service.xml 2007-03-12 16:48:34 UTC (rev 6643)
@@ -123,7 +123,7 @@
<attribute name="PersistLocally">true</attribute>
</mbean>
<mbean
- code="org.jboss.portal.portlet.impl.state.StateConverterService"
+ code="org.jboss.portal.portlet.impl.state.StateConverterV0"
name="portal:service=StateConverter,type=Producer"
xmbean-dd=""
xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
17 years, 6 months
JBoss Portal SVN: r6642 - trunk/core-admin/src/resources/portal-admin-war/WEB-INF.
by portal-commits@lists.jboss.org
Author: thomas.heute(a)jboss.com
Date: 2007-03-12 11:48:06 -0400 (Mon, 12 Mar 2007)
New Revision: 6642
Removed:
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/myfaces_ext.tld
Log:
Useless is useless
Deleted: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/myfaces_ext.tld
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/myfaces_ext.tld 2007-03-12 15:31:14 UTC (rev 6641)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/myfaces_ext.tld 2007-03-12 15:48:06 UTC (rev 6642)
@@ -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/extensions</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
17 years, 6 months
JBoss Portal SVN: r6641 - in trunk/core-admin/src: main/org/jboss/portal/core/admin/ui and 1 other directories.
by portal-commits@lists.jboss.org
Author: thomas.heute(a)jboss.com
Date: 2007-03-12 11:31:14 -0400 (Mon, 12 Mar 2007)
New Revision: 6641
Modified:
trunk/core-admin/src/bin/portal-admin-war/style.css
trunk/core-admin/src/main/org/jboss/portal/core/admin/ui/PortalObjectManagerBean.java
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/editPageLayout.xhtml
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/instancesTemplate.xhtml
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/objectTemplate.xhtml
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/portletsTemplate.xhtml
trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/tabTemplate.xhtml
Log:
* Tabulations
* unknown region -> unassigned windows
Modified: trunk/core-admin/src/bin/portal-admin-war/style.css
===================================================================
--- trunk/core-admin/src/bin/portal-admin-war/style.css 2007-03-12 15:15:29 UTC (rev 6640)
+++ trunk/core-admin/src/bin/portal-admin-war/style.css 2007-03-12 15:31:14 UTC (rev 6641)
@@ -42,16 +42,38 @@
/* Top nav. */
.admin-ui ul.topnav {
- margin: 0;
- padding: 5px 0px 5px 0px;
+ margin-left: 0;
+ padding: 3px 0;
+ border-bottom:1px solid;
}
.admin-ui ul.topnav li {
list-style-type: none;
display: inline;
- margin-right: 10px;
+ margin: 0;
}
+.admin-ui ul.topnav li a {
+ padding: 3px 0.5em;
+ display: inline;
+ margin-left: 5px;
+ border: 1px solid #777;
+ border-bottom: none;
+ background-color: #EEEEFF;
+}
+
+.admin-ui ul.topnav li a:hover {
+ background-color: #CCCCFF;
+}
+
+.admin-ui ul.topnav li#currentTab a {
+ background-color: white;
+ border-bottom: 1px solid white;
+}
+
+.admin-ui ul.topnav li#currentTab a:hover {
+}
+
/* Object path. */
.admin-ui ul.objectpath {
@@ -103,3 +125,37 @@
.admin-ui hr {
border-top-style: solid;
}
+
+
+.admin-ui .wizardStepBox {
+ display: inline;
+ float: left;
+ border: 1pt;
+ height: 70px;
+ width: 80px;
+ background-color: #CCCCFF;
+ margin:5px;
+}
+
+.admin-ui .wizardButtonBox {
+ margin:10px;
+}
+
+.admin-ui .wizardContent {
+ clear: both;
+}
+
+.admin-ui #selected.wizardStepBox {
+ background-color: #AAAAFF;
+}
+
+.admin-ui .stepNumber {
+ font-size: 2em;
+ text-align: center;
+ margin-top: 5px;
+ margin-bottom: 0px;
+}
+
+.admin-ui .stepText {
+ text-align: center;
+}
Modified: trunk/core-admin/src/main/org/jboss/portal/core/admin/ui/PortalObjectManagerBean.java
===================================================================
--- trunk/core-admin/src/main/org/jboss/portal/core/admin/ui/PortalObjectManagerBean.java 2007-03-12 15:15:29 UTC (rev 6640)
+++ trunk/core-admin/src/main/org/jboss/portal/core/admin/ui/PortalObjectManagerBean.java 2007-03-12 15:31:14 UTC (rev 6641)
@@ -590,6 +590,7 @@
//
List regions = new ArrayList(windows.keySet());
+ regions.remove("unknown");
Collections.sort(regions);
//
@@ -603,13 +604,14 @@
return Collections.EMPTY_LIST;
}
}
-
+
public List getRegionItems()
{
try
{
Map windows = getWindows((Page)getSelectedObject());
-
+ windows.remove("unknown");
+
//
ArrayList regions = new ArrayList(windows.keySet());
Collections.sort(regions);
Modified: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/editPageLayout.xhtml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/editPageLayout.xhtml 2007-03-12 15:15:29 UTC (rev 6640)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/editPageLayout.xhtml 2007-03-12 15:31:14 UTC (rev 6641)
@@ -13,48 +13,71 @@
<h3>You are editing the page layout</h3>
- <div style="float:left;padding:0 2em 0 2em">
+ <div style="float:left; padding:0 2em 0 2em">
<h:form id="layoutForm">
- <table>
- <c:forEach items="#{portalobjectmgr.regionNames}" var="regionName" varStatus="status">
- <tbody>
- <c:choose>
- <c:when test="#{status.index > 0}">
- <tr>
- <td colspan="2" class="portlet-form-field-label" style="border-width:0px;border-top:1px dashed #d5d5d5">#{regionName} Region</td>
- </tr>
- </c:when>
- <c:otherwise>
- <tr>
- <td colspan="2" class="portlet-form-field-label">#{regionName} Region</td>
- </tr>
- </c:otherwise>
- </c:choose>
- <tr>
- <td>
- <div>
- <h:commandButton value="Up" id="u_#{regionName}" actionListener="#{assignWindowsAction.execute}" styleClass="portlet-form-button"/>
- </div>
- <div>
- <h:commandButton value="Down" id="d_#{regionName}" actionListener="#{assignWindowsAction.execute}" styleClass="portlet-form-button"/>
- </div>
- <div style="margin-top: 1em">
- <h:commandButton value="Delete" id="l_#{regionName}" actionListener="#{assignWindowsAction.execute}" styleClass="portlet-form-button"/>
- </div>
- </td>
- <td>
- <h:selectManyListbox
- value="#{assignWindowsAction.assignedWindows[regionName]}"
- size="7"
- styleClass="windowList portlet-form-field">
- <f:selectItems value="#{portalobjectmgr.windowItemsMap[regionName]}"/>
- </h:selectManyListbox>
- </td>
- </tr>
- </tbody>
- </c:forEach>
- </table>
- </h:form>
+ <table>
+ <c:forEach items="#{portalobjectmgr.regionNames}" var="regionName"
+ varStatus="status">
+ <tbody>
+ <c:choose>
+ <c:when test="#{status.index > 0}">
+ <tr>
+ <td colspan="2" class="portlet-form-field-label"
+ style="border-width:0px;border-top:1px dashed #d5d5d5">#{regionName}
+ Region</td>
+ </tr>
+ </c:when>
+ <c:otherwise>
+ <tr>
+ <td colspan="2" class="portlet-form-field-label">#{regionName}
+ Region</td>
+ </tr>
+ </c:otherwise>
+ </c:choose>
+ <tr>
+ <td>
+ <div><h:commandButton value="Up" id="u_#{regionName}"
+ actionListener="#{assignWindowsAction.execute}"
+ styleClass="portlet-form-button" /></div>
+ <div><h:commandButton value="Down" id="d_#{regionName}"
+ actionListener="#{assignWindowsAction.execute}"
+ styleClass="portlet-form-button" /></div>
+ <div style="margin-top: 1em"><h:commandButton
+ value="Delete" id="l_#{regionName}"
+ actionListener="#{assignWindowsAction.execute}"
+ styleClass="portlet-form-button" /></div>
+ </td>
+ <td><h:selectManyListbox
+ value="#{assignWindowsAction.assignedWindows[regionName]}"
+ size="7" styleClass="windowList portlet-form-field">
+ <f:selectItems
+ value="#{portalobjectmgr.windowItemsMap[regionName]}" />
+ </h:selectManyListbox></td>
+ </tr>
+ </tbody>
+ </c:forEach>
+ <tbody>
+ <tr>
+ <td colspan="2" class="portlet-form-field-label"
+ style="border-width:0px;border-top:1px dashed #d5d5d5">Unassigned
+ windows</td>
+ </tr>
+ <tr>
+ <td>
+ <div style="margin-top: 1em"><h:commandButton value="Delete"
+ id="l_unknown" actionListener="#{assignWindowsAction.execute}"
+ styleClass="portlet-form-button" /></div>
+ </td>
+ <td><h:selectManyListbox
+ value="#{assignWindowsAction.assignedWindows['unknown']}"
+ size="7" styleClass="windowList portlet-form-field">
+ <f:selectItems
+ value="#{portalobjectmgr.windowItemsMap['unknown']}" />
+ </h:selectManyListbox></td>
+ </tr>
+ </tbody>
+ </table>
+ </h:form>
</div>
<div style="float:left">
<table class="form">
Modified: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/instancesTemplate.xhtml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/instancesTemplate.xhtml 2007-03-12 15:15:29 UTC (rev 6640)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/instancesTemplate.xhtml 2007-03-12 15:31:14 UTC (rev 6641)
@@ -5,10 +5,19 @@
class="admin-ui">
<!-- Common nav -->
- <ui:include src="tabTemplate.xhtml"/>
-
- <!-- -->
- <hr/>
+ <h:form>
+ <ul class="topnav">
+ <li>
+ <h:commandLink value="Portal Objects" action="objects" actionListener="#{portalobjectmgr.selectRootObject}"/>
+ </li>
+ <li id="currentTab">
+ <h:commandLink value="Portlet Instances" action="instances"/>
+ </li>
+ <li>
+ <h:commandLink value="Portlet Definitions" action="portlets"/>
+ </li>
+ </ul>
+ </h:form>
<!-- Status message -->
<h:message id="status" for="status"/>
Modified: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/objectTemplate.xhtml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/objectTemplate.xhtml 2007-03-12 15:15:29 UTC (rev 6640)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/objectTemplate.xhtml 2007-03-12 15:31:14 UTC (rev 6641)
@@ -7,11 +7,20 @@
class="admin-ui">
<!-- Common nav -->
- <ui:include src="tabTemplate.xhtml"/>
+ <h:form>
+ <ul class="topnav">
+ <li id="currentTab">
+ <h:commandLink value="Portal Objects" action="objects" actionListener="#{portalobjectmgr.selectRootObject}"/>
+ </li>
+ <li>
+ <h:commandLink value="Portlet Instances" action="instances"/>
+ </li>
+ <li>
+ <h:commandLink value="Portlet Definitions" action="portlets"/>
+ </li>
+ </ul>
+ </h:form>
- <!-- -->
- <hr/>
-
<!-- Path nav -->
<h:form>
<ul class="objectpath">
Modified: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/portletsTemplate.xhtml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/portletsTemplate.xhtml 2007-03-12 15:15:29 UTC (rev 6640)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/portletsTemplate.xhtml 2007-03-12 15:31:14 UTC (rev 6641)
@@ -5,10 +5,19 @@
class="admin-ui">
<!-- Common nav -->
- <ui:include src="tabTemplate.xhtml"/>
-
- <!-- -->
- <hr/>
+ <h:form>
+ <ul class="topnav">
+ <li>
+ <h:commandLink value="Portal Objects" action="objects" actionListener="#{portalobjectmgr.selectRootObject}"/>
+ </li>
+ <li>
+ <h:commandLink value="Portlet Instances" action="instances"/>
+ </li>
+ <li id="currentTab">
+ <h:commandLink value="Portlet Definitions" action="portlets"/>
+ </li>
+ </ul>
+ </h:form>
<!-- Status message -->
<h:message id="status" for="status"/>
Modified: trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/tabTemplate.xhtml
===================================================================
--- trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/tabTemplate.xhtml 2007-03-12 15:15:29 UTC (rev 6640)
+++ trunk/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/tabTemplate.xhtml 2007-03-12 15:31:14 UTC (rev 6641)
@@ -7,7 +7,7 @@
<li>
<h:commandLink value="Portal Objects" action="objects" actionListener="#{portalobjectmgr.selectRootObject}"/>
</li>
- <li>
+ <li id="currentTab">
<h:commandLink value="Portlet Instances" action="instances"/>
</li>
<li>
17 years, 6 months
JBoss Portal SVN: r6640 - trunk/wsrp/src/main/org/jboss/portal/wsrp/portlet/consumers.
by portal-commits@lists.jboss.org
Author: chris.laprun(a)jboss.com
Date: 2007-03-12 11:15:29 -0400 (Mon, 12 Mar 2007)
New Revision: 6640
Modified:
trunk/wsrp/src/main/org/jboss/portal/wsrp/portlet/consumers/WSRPConsumerConfigurationPortlet.java
Log:
- Fixed use of Java 5 only features.
Modified: trunk/wsrp/src/main/org/jboss/portal/wsrp/portlet/consumers/WSRPConsumerConfigurationPortlet.java
===================================================================
--- trunk/wsrp/src/main/org/jboss/portal/wsrp/portlet/consumers/WSRPConsumerConfigurationPortlet.java 2007-03-12 14:50:21 UTC (rev 6639)
+++ trunk/wsrp/src/main/org/jboss/portal/wsrp/portlet/consumers/WSRPConsumerConfigurationPortlet.java 2007-03-12 15:15:29 UTC (rev 6640)
@@ -149,7 +149,7 @@
String activate = request.getParameter(ACTIVATE);
if (activate != null)
{
- boolean start = Boolean.parseBoolean(activate);
+ boolean start = Boolean.valueOf(activate).booleanValue();
if (start)
{
registry.activateConsumerWith(id);
@@ -168,7 +168,7 @@
String regString = request.getParameter(REGISTER);
if (regString != null)
{
- boolean register = Boolean.parseBoolean(regString);
+ boolean register = Boolean.valueOf(regString).booleanValue();
try
{
17 years, 6 months
JBoss Portal SVN: r6639 - in trunk: common/src/main/org/jboss/portal/common/util and 11 other directories.
by portal-commits@lists.jboss.org
Author: julien(a)jboss.com
Date: 2007-03-12 10:50:21 -0400 (Mon, 12 Mar 2007)
New Revision: 6639
Added:
trunk/common/src/main/org/jboss/portal/common/http/QueryStringParser.java
trunk/server/src/main/org/jboss/portal/server/deployment/PortalWebTomcat6App.java
Modified:
trunk/common/src/main/org/jboss/portal/common/util/ParameterMap.java
trunk/common/src/main/org/jboss/portal/common/util/TypedMap.java
trunk/common/src/main/org/jboss/portal/test/common/TypedMapTestCase.java
trunk/core/src/main/org/jboss/portal/core/servlet/jsp/PortalJsp.java
trunk/core/src/main/org/jboss/portal/core/servlet/jsp/taglib/ErrorTag.java
trunk/core/src/main/org/jboss/portal/core/servlet/jsp/taglib/ErrorsTag.java
trunk/core/src/main/org/jboss/portal/core/servlet/jsp/taglib/IfTag.java
trunk/core/src/main/org/jboss/portal/core/servlet/jsp/taglib/IncludeTag.java
trunk/core/src/main/org/jboss/portal/core/servlet/jsp/taglib/IterateTag.java
trunk/core/src/main/org/jboss/portal/core/servlet/jsp/taglib/PortalLib.java
trunk/core/src/main/org/jboss/portal/core/servlet/jsp/taglib/SuccessTag.java
trunk/portlet/src/main/org/jboss/portal/portlet/PortletParameters.java
trunk/portlet/src/main/org/jboss/portal/portlet/impl/jsr168/DispatchedHttpServletRequest.java
trunk/portlet/src/main/org/jboss/portal/portlet/impl/jsr168/DispatchedHttpServletResponse.java
trunk/portlet/src/main/org/jboss/portal/portlet/impl/jsr168/PortletRequestDispatcherImpl.java
trunk/portlet/src/main/org/jboss/portal/test/portlet/ParametersTestCase.java
trunk/portlet/src/main/org/jboss/portal/test/portlet/jsr168/misc/log4j/Log4jSequenceBuilder.java
trunk/portlet/src/main/org/jboss/portal/test/portlet/jsr168/tck/dispatcher/DispatcherSequenceBuilder.java
trunk/portlet/src/main/org/jboss/portal/test/portlet/jsr168/tck/portletcontext/PortletContextSequenceBuilder.java
trunk/server/src/main/org/jboss/portal/server/deployment/PortalWebAppFactory.java
trunk/server/src/main/org/jboss/portal/server/servlet/PortalServlet.java
Log:
- improved and simplified request dispatching from a portlet to a servlet
- added PortalWebTomcat6App to correctly deploy with TC6
- fixed a couple of things to make portal core work with 4.2 CR1
Added: trunk/common/src/main/org/jboss/portal/common/http/QueryStringParser.java
===================================================================
--- trunk/common/src/main/org/jboss/portal/common/http/QueryStringParser.java (rev 0)
+++ trunk/common/src/main/org/jboss/portal/common/http/QueryStringParser.java 2007-03-12 14:50:21 UTC (rev 6639)
@@ -0,0 +1,103 @@
+/******************************************************************************
+ * 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.common.http;
+
+import org.jboss.portal.common.util.URLTools;
+
+import java.util.Map;
+import java.util.Collections;
+import java.util.StringTokenizer;
+import java.util.HashMap;
+
+/**
+ * @author <a href="mailto:julien@jboss.org">Julien Viet</a>
+ * @version $Revision: 1.1 $
+ */
+public class QueryStringParser
+{
+
+ /**
+ * Parse the query string and build an unmodifiable parameter map of it.
+ *
+ * @param queryString the non null query string
+ * @return a <String,String[]> map
+ * @throws IllegalArgumentException if the query string is null
+ */
+ public static Map parseQueryString(String queryString) throws IllegalArgumentException
+ {
+ if (queryString == null)
+ {
+ throw new IllegalArgumentException();
+ }
+
+ //
+ Map result = Collections.EMPTY_MAP;
+
+ //
+ for (StringTokenizer tokenizer = new StringTokenizer(queryString, "&"); tokenizer.hasMoreTokens();)
+ {
+ String token = tokenizer.nextToken();
+ int pos = token.indexOf('=');
+ if (pos > 0)
+ {
+ // Get name and value
+ String encodedName = token.substring(0, pos);
+ String encodedValue = token.substring(pos + 1, token.length());
+
+ // Decode properly
+ String name = URLTools.decodeXWWWFormURL(encodedName);
+ String value = URLTools.decodeXWWWFormURL(encodedValue);
+
+ // Put the values in the result map
+ String[] values = (String[])result.get(name);
+ if (values == null)
+ {
+ values = new String[1];
+ }
+ else
+ {
+ String[] tmp = new String[values.length + 1];
+ System.arraycopy(values, 0, tmp, 0, values.length);
+ values = tmp;
+ }
+ values[values.length - 1] = value;
+
+ // Replace the empty map if necessary with a real hashmap
+ if (result.isEmpty())
+ {
+ result = new HashMap();
+ }
+ result.put(name, values);
+ }
+ else
+ {
+ // Not well formed
+ // -1 mean we have just a parameter name
+ // 0 means we have an empty name
+ }
+ }
+
+ //
+ return result.isEmpty() ? result : Collections.unmodifiableMap(result);
+ }
+}
Modified: trunk/common/src/main/org/jboss/portal/common/util/ParameterMap.java
===================================================================
--- trunk/common/src/main/org/jboss/portal/common/util/ParameterMap.java 2007-03-12 14:48:11 UTC (rev 6638)
+++ trunk/common/src/main/org/jboss/portal/common/util/ParameterMap.java 2007-03-12 14:50:21 UTC (rev 6639)
@@ -33,7 +33,34 @@
public abstract class ParameterMap extends TypedMap
{
+ /** If true returned values will be cloned when returned to the client. */
+ private boolean cloneInternalValue;
+
+ /** If true returned values will be cloned when provided by the client. */
+ private boolean cloneExternalValue;
+
+ protected ParameterMap(boolean cloneInternalValue, boolean cloneExternalValue)
+ {
+ this.cloneInternalValue = cloneInternalValue;
+ this.cloneExternalValue = cloneExternalValue;
+ }
+
+ protected ParameterMap()
+ {
+ this(false, false);
+ }
+
/**
+ * Return true if values returned by the map are cloned.
+ *
+ * @return true if returned values are cloned
+ */
+ public boolean isCloneInternalValue()
+ {
+ return cloneInternalValue;
+ }
+
+ /**
* Only accept non null string objects.
*
* @throws ClassCastException if the value is not an instance of string
@@ -66,6 +93,8 @@
{
throw new IllegalArgumentException("Array must not be zero length");
}
+
+ //
for (int i = strings.length - 1;i >= 0;i--)
{
if (strings[i] == null)
@@ -73,9 +102,30 @@
throw new IllegalArgumentException("No null entries allowed in String[]");
}
}
+
+ //
+ if (cloneExternalValue)
+ {
+ strings = (String[])strings.clone();
+ }
+
+ //
return strings;
}
+
+ protected Object getExternalValue(Object value)
+ {
+ if (cloneInternalValue)
+ {
+ return ((String[])value).clone();
+ }
+ else
+ {
+ return value;
+ }
+ }
+
protected boolean internalValueEquals(Object left, Object right)
{
String[] valuesL = (String[])left;
Modified: trunk/common/src/main/org/jboss/portal/common/util/TypedMap.java
===================================================================
--- trunk/common/src/main/org/jboss/portal/common/util/TypedMap.java 2007-03-12 14:48:11 UTC (rev 6638)
+++ trunk/common/src/main/org/jboss/portal/common/util/TypedMap.java 2007-03-12 14:50:21 UTC (rev 6639)
@@ -81,7 +81,7 @@
return key;
}
- private Object unwrapKey(Object externalKey) throws IllegalArgumentException, ClassCastException, NullPointerException
+ protected final Object unwrapKey(Object externalKey) throws IllegalArgumentException, ClassCastException, NullPointerException
{
if (externalKey == null)
{
@@ -101,7 +101,7 @@
return internalKey;
}
- private Object wrapKey(Object internalKey) throws IllegalStateException
+ protected final Object wrapKey(Object internalKey) throws IllegalStateException
{
if (internalKey == null)
{
@@ -135,14 +135,28 @@
}
/**
- * Wrap the internal value into its external representation.
+ * Wrap the internal value into its external representation. The external representation value should not be null.
+ * If it is not possible to obtain an external value representation of the internal value, then the the
+ * null value should be returned from this method.
+ *
+ * @param value the param value which will not be null
+ * @return the external value
*/
protected Object getExternalValue(Object value)
{
return value;
}
- private Object unwrapValue(Object externalValue) throws IllegalArgumentException, ClassCastException, NullPointerException
+ /**
+ * Extract the internal value from an external value.
+ *
+ * @param externalValue the external value to unwrap
+ * @return the non null internal value
+ * @throws IllegalArgumentException
+ * @throws ClassCastException
+ * @throws NullPointerException
+ */
+ protected final Object unwrapValue(Object externalValue) throws IllegalArgumentException, ClassCastException, NullPointerException
{
if (externalValue == null)
{
@@ -162,7 +176,15 @@
return internalValue;
}
- private Object wrapValue(Object internalValue) throws IllegalStateException
+ /**
+ * Convert an internal value into an external value.
+ *
+ * @param internalValue the internal value
+ * @return the non null external value
+ * @throws IllegalStateException if the internal value was null or some aspect prevented it to be converted
+ * to an external representation
+ */
+ protected final Object wrapValue(Object internalValue) throws IllegalStateException
{
if (internalValue == null)
{
@@ -367,12 +389,7 @@
*/
public void validate() throws ClassCastException, NullPointerException, IllegalArgumentException
{
- validate(this);
- }
-
- public void validate(Map m) throws ClassCastException, NullPointerException, IllegalArgumentException
- {
- for (Iterator i = m.entrySet().iterator(); i.hasNext();)
+ for (Iterator i = getDelegate().entrySet().iterator(); i.hasNext();)
{
Entry entry = (Entry)i.next();
wrapKey(entry.getKey());
@@ -585,7 +602,23 @@
public boolean retainAll(Collection c)
{
- throw new NotYetImplemented("TypedEntrySet.retainAll(Collection c)");
+ if (c == null)
+ {
+ throw new NullPointerException();
+ }
+
+ //
+ boolean changed = false;
+ for (Iterator i = iterator();i.hasNext();)
+ {
+ Object key = i.next();
+ if (!c.contains(key))
+ {
+ i.remove();
+ changed = true;
+ }
+ }
+ return changed;
}
public Iterator iterator()
Modified: trunk/common/src/main/org/jboss/portal/test/common/TypedMapTestCase.java
===================================================================
--- trunk/common/src/main/org/jboss/portal/test/common/TypedMapTestCase.java 2007-03-12 14:48:11 UTC (rev 6638)
+++ trunk/common/src/main/org/jboss/portal/test/common/TypedMapTestCase.java 2007-03-12 14:50:21 UTC (rev 6639)
@@ -24,10 +24,12 @@
import junit.framework.TestCase;
import org.jboss.portal.common.util.TypedMap;
+import org.jboss.portal.common.util.CollectionBuilder;
import java.util.Map;
import java.util.HashMap;
import java.util.Collections;
+import java.util.HashSet;
/**
* @author <a href="mailto:julien@jboss.org">Julien Viet</a>
@@ -347,6 +349,39 @@
assertFalse(right.equals(left));
}
+ public void testEntrySetRetainAll()
+ {
+ Map right = new HashMap();
+ right.put("abc", new Integer(0));
+ right.put("def", new Integer(1));
+ right.put("ghi", new Integer(2));
+
+ //
+ StringToIntegerMap left = new StringToIntegerMap();
+ left.delegate.putAll(right);
+
+ try
+ {
+ left.keySet().retainAll(null);
+ fail("Was expecting NPE");
+ }
+ catch (NullPointerException expected)
+ {
+ }
+
+ //
+ boolean changed = left.keySet().retainAll(new CollectionBuilder().add("abc").add("def").add("ghi").toHashSet());
+ assertFalse(changed);
+ assertEquals(right, left.delegate);
+
+ //
+ changed = left.keySet().retainAll(new CollectionBuilder().add("def").toHashSet());
+ assertTrue(changed);
+ right.remove("abc");
+ right.remove("ghi");
+ assertEquals(right, left.delegate);
+ }
+
public static class StringToIntegerMap extends TypedMap
{
Modified: trunk/core/src/main/org/jboss/portal/core/servlet/jsp/PortalJsp.java
===================================================================
--- trunk/core/src/main/org/jboss/portal/core/servlet/jsp/PortalJsp.java 2007-03-12 14:48:11 UTC (rev 6638)
+++ trunk/core/src/main/org/jboss/portal/core/servlet/jsp/PortalJsp.java 2007-03-12 14:50:21 UTC (rev 6639)
@@ -57,8 +57,9 @@
public static final ThreadLocal contextStack = new ThreadLocal();
/** To log JSP related information */
- public static Logger log = Logger.getLogger(PortalJsp.class);
+ public static Logger logger = Logger.getLogger(PortalJsp.class);
+ /** . */
private ServletConfig config;
/**
@@ -168,4 +169,13 @@
{
jspDestroy();
}
+
+ /**
+ * For Jasper which seems to want a log method in the generated JSP.
+ */
+ protected final void log(String msg)
+ {
+ logger.debug(msg);
+ }
+
}
\ No newline at end of file
Modified: trunk/core/src/main/org/jboss/portal/core/servlet/jsp/taglib/ErrorTag.java
===================================================================
--- trunk/core/src/main/org/jboss/portal/core/servlet/jsp/taglib/ErrorTag.java 2007-03-12 14:48:11 UTC (rev 6638)
+++ trunk/core/src/main/org/jboss/portal/core/servlet/jsp/taglib/ErrorTag.java 2007-03-12 14:50:21 UTC (rev 6639)
@@ -74,7 +74,7 @@
}
catch (MissingResourceException e)
{
- PortalJsp.log.error("No such resource key in resource file: " + key);
+ PortalJsp.logger.error("No such resource key in resource file: " + key);
}
try
Modified: trunk/core/src/main/org/jboss/portal/core/servlet/jsp/taglib/ErrorsTag.java
===================================================================
--- trunk/core/src/main/org/jboss/portal/core/servlet/jsp/taglib/ErrorsTag.java 2007-03-12 14:48:11 UTC (rev 6638)
+++ trunk/core/src/main/org/jboss/portal/core/servlet/jsp/taglib/ErrorsTag.java 2007-03-12 14:50:21 UTC (rev 6639)
@@ -73,7 +73,7 @@
}
catch (MissingResourceException e)
{
- PortalJsp.log.error("No such resource key in resource file: " + key);
+ PortalJsp.logger.error("No such resource key in resource file: " + key);
}
try
{
Modified: trunk/core/src/main/org/jboss/portal/core/servlet/jsp/taglib/IfTag.java
===================================================================
--- trunk/core/src/main/org/jboss/portal/core/servlet/jsp/taglib/IfTag.java 2007-03-12 14:48:11 UTC (rev 6638)
+++ trunk/core/src/main/org/jboss/portal/core/servlet/jsp/taglib/IfTag.java 2007-03-12 14:50:21 UTC (rev 6639)
@@ -66,7 +66,7 @@
if (contextStack.isEmpty())
{
include = false;
- PortalJsp.log.debug("No context has been found");
+ PortalJsp.logger.debug("No context has been found");
return SKIP_BODY;
}
Modified: trunk/core/src/main/org/jboss/portal/core/servlet/jsp/taglib/IncludeTag.java
===================================================================
--- trunk/core/src/main/org/jboss/portal/core/servlet/jsp/taglib/IncludeTag.java 2007-03-12 14:48:11 UTC (rev 6638)
+++ trunk/core/src/main/org/jboss/portal/core/servlet/jsp/taglib/IncludeTag.java 2007-03-12 14:50:21 UTC (rev 6639)
@@ -87,7 +87,7 @@
}
catch (Exception e)
{
- PortalJsp.log.error("Cannot include page: " + page, e);
+ PortalJsp.logger.error("Cannot include page: " + page, e);
}
finally
{
Modified: trunk/core/src/main/org/jboss/portal/core/servlet/jsp/taglib/IterateTag.java
===================================================================
--- trunk/core/src/main/org/jboss/portal/core/servlet/jsp/taglib/IterateTag.java 2007-03-12 14:48:11 UTC (rev 6638)
+++ trunk/core/src/main/org/jboss/portal/core/servlet/jsp/taglib/IterateTag.java 2007-03-12 14:50:21 UTC (rev 6639)
@@ -64,7 +64,7 @@
if (contextStack.isEmpty())
{
include = false;
- PortalJsp.log.debug("No context has been found");
+ PortalJsp.logger.debug("No context has been found");
return SKIP_BODY;
}
Modified: trunk/core/src/main/org/jboss/portal/core/servlet/jsp/taglib/PortalLib.java
===================================================================
--- trunk/core/src/main/org/jboss/portal/core/servlet/jsp/taglib/PortalLib.java 2007-03-12 14:48:11 UTC (rev 6638)
+++ trunk/core/src/main/org/jboss/portal/core/servlet/jsp/taglib/PortalLib.java 2007-03-12 14:50:21 UTC (rev 6639)
@@ -54,14 +54,14 @@
Locale locale = request.getLocale();
PortletConfig portletConfig = (PortletConfig)request.getAttribute("javax.portlet.config");
ResourceBundle resourceBundle = portletConfig.getResourceBundle(locale);
- PortalJsp.log.debug("Use locale:" + locale);
+ PortalJsp.logger.debug("Use locale:" + locale);
try
{
return resourceBundle.getString(key);
}
catch (MissingResourceException e)
{
- PortalJsp.log.error("No such resource key in resource file: " + key);
+ PortalJsp.logger.error("No such resource key in resource file: " + key);
return key;
}
}
@@ -91,7 +91,7 @@
if (contextStack.isEmpty())
{
- PortalJsp.log.warn("No context has been defined when trying to access " + key);
+ PortalJsp.logger.warn("No context has been defined when trying to access " + key);
return "";
}
@@ -110,12 +110,12 @@
}
catch (IndexOutOfBoundsException e)
{
- PortalJsp.log.warn("The key you called: " + key + " is not valid, please check the key");
+ PortalJsp.logger.warn("The key you called: " + key + " is not valid, please check the key");
return "";
}
if (!ctxNames[i].equals(tmp.getName()))
{
- PortalJsp.log.warn("The context you called: " + ctxNames[i] + " does not match " + tmp.getName());
+ PortalJsp.logger.warn("The context you called: " + ctxNames[i] + " does not match " + tmp.getName());
return "";
}
}
@@ -127,7 +127,7 @@
}
else
{
- PortalJsp.log.warn("There is no such context for " + key);
+ PortalJsp.logger.warn("There is no such context for " + key);
return "";
}
}
Modified: trunk/core/src/main/org/jboss/portal/core/servlet/jsp/taglib/SuccessTag.java
===================================================================
--- trunk/core/src/main/org/jboss/portal/core/servlet/jsp/taglib/SuccessTag.java 2007-03-12 14:48:11 UTC (rev 6638)
+++ trunk/core/src/main/org/jboss/portal/core/servlet/jsp/taglib/SuccessTag.java 2007-03-12 14:50:21 UTC (rev 6639)
@@ -73,7 +73,7 @@
}
catch (MissingResourceException e)
{
- PortalJsp.log.error("No such resource key in resource file: " + key);
+ PortalJsp.logger.error("No such resource key in resource file: " + key);
}
try
{
Modified: trunk/portlet/src/main/org/jboss/portal/portlet/PortletParameters.java
===================================================================
--- trunk/portlet/src/main/org/jboss/portal/portlet/PortletParameters.java 2007-03-12 14:48:11 UTC (rev 6638)
+++ trunk/portlet/src/main/org/jboss/portal/portlet/PortletParameters.java 2007-03-12 14:50:21 UTC (rev 6639)
@@ -110,37 +110,36 @@
*/
public void append(Map params) throws ClassCastException, NullPointerException, IllegalArgumentException
{
- validate(params);
+ String[] appendedNames = new String[params.size()];
+ String[][] appendedValues = new String[params.size()][];
- //
- internalAppend(params);
- }
-
- /** Append actual implementation. */
- private void internalAppend(Map params)
- {
+ // Unwrap all first and validate so we have the atomic behavior guarantee
+ int index = 0;
for (Iterator entries = params.entrySet().iterator(); entries.hasNext();)
{
Map.Entry entry = (Map.Entry)entries.next();
- String name = (String)entry.getKey();
- String[] appendedValues = (String[])entry.getValue();
+ appendedNames[index] = (String)unwrapKey(entry.getKey());
+ appendedValues[index++] = (String[])unwrapValue(entry.getValue());
+ }
- // Merge or use appended values
- String[] values = (String[])map.get(name);
- if (values != null)
+ // Merge or use appended values
+ while (--index >= 0)
+ {
+ String appendedName = appendedNames[index];
+ String[] appendedValue = appendedValues[index];
+
+ //
+ String[] value = (String[])map.get(appendedName);
+ if (value != null)
{
- String[] tmp = new String[values.length + appendedValues.length];
- System.arraycopy(values, 0, tmp, 0, values.length);
- System.arraycopy(appendedValues, 0, tmp, values.length, appendedValues.length);
- values = tmp;
+ String[] tmp = new String[value.length + appendedValue.length];
+ System.arraycopy(value, 0, tmp, 0, value.length);
+ System.arraycopy(appendedValue, 0, tmp, value.length, appendedValue.length);
+ appendedValue = tmp;
}
- else
- {
- values = appendedValues;
- }
//
- map.put(name, values);
+ map.put(appendedName, appendedValue);
}
}
Modified: trunk/portlet/src/main/org/jboss/portal/portlet/impl/jsr168/DispatchedHttpServletRequest.java
===================================================================
--- trunk/portlet/src/main/org/jboss/portal/portlet/impl/jsr168/DispatchedHttpServletRequest.java 2007-03-12 14:48:11 UTC (rev 6638)
+++ trunk/portlet/src/main/org/jboss/portal/portlet/impl/jsr168/DispatchedHttpServletRequest.java 2007-03-12 14:50:21 UTC (rev 6639)
@@ -22,12 +22,17 @@
******************************************************************************/
package org.jboss.portal.portlet.impl.jsr168;
+import org.jboss.portal.common.http.QueryStringParser;
+import org.jboss.portal.common.util.Tools;
+import org.jboss.portal.portlet.PortletParameters;
+
import javax.portlet.RenderRequest;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletInputStream;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
+import javax.servlet.http.HttpServletRequestWrapper;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
@@ -37,12 +42,13 @@
import java.util.HashMap;
import java.util.Locale;
import java.util.Map;
+import java.util.Set;
/**
* @author <a href="mailto:julien@jboss.org">Julien Viet</a>
* @version $Revision$
*/
-public class DispatchedHttpServletRequest implements HttpServletRequest
+public class DispatchedHttpServletRequest extends HttpServletRequestWrapper
{
private static final String REQUEST_URI = "javax.servlet.include.request_uri";
@@ -55,22 +61,26 @@
private HttpServletRequest dreq;
private final Map attrs;
+ private final Map parameters;
public DispatchedHttpServletRequest(
RenderRequest rreq,
HttpServletRequest dreq,
String path)
{
+ super(dreq);
+
+ //
this.rreq = rreq;
this.dreq = dreq;
+
+ //
if (path != null)
{
- attrs = new HashMap();
+ String servletPath;
+ String pathInfo;
+ String queryString;
- String servletPath = null;
- String pathInfo = null;
- String queryString = null;
-
int endOfServletPath = path.indexOf('/', 1);
if (endOfServletPath == -1)
{
@@ -106,15 +116,28 @@
String requestURI = rreq.getContextPath() + servletPath + pathInfo;
//
- attrs.put(CONTEXT_PATH, rreq.getContextPath());
- attrs.put(SERVLET_PATH, servletPath);
- attrs.put(PATH_INFO, pathInfo);
- attrs.put(QUERY_STRING, queryString);
- attrs.put(REQUEST_URI, requestURI);
+ this.attrs = new HashMap();
+ this.attrs.put(CONTEXT_PATH, rreq.getContextPath());
+ this.attrs.put(SERVLET_PATH, servletPath);
+ this.attrs.put(PATH_INFO, pathInfo);
+ this.attrs.put(QUERY_STRING, queryString);
+ this.attrs.put(REQUEST_URI, requestURI);
+
+ //
+ if (queryString.length() > 0)
+ {
+ this.parameters = new PortletParameters(rreq.getParameterMap());
+ this.parameters.putAll(QueryStringParser.parseQueryString(queryString));
+ }
+ else
+ {
+ this.parameters = rreq.getParameterMap();
+ }
}
else
{
- attrs = Collections.EMPTY_MAP;
+ this.attrs = Collections.EMPTY_MAP;
+ this.parameters = rreq.getParameterMap();
}
}
@@ -302,24 +325,50 @@
// Must be equivalent to the method of the PortletRequest with the provision defined in PLT.16.1.1
- public String getParameter(String s)
+ public String getParameter(String name)
{
- return rreq.getParameter(s);
+ if (name == null)
+ {
+ throw new IllegalArgumentException("Parameter name must not be null");
+ }
+
+ //
+ String[] values = (String[])parameters.get(name);
+ if (values != null)
+ {
+ return values[0];
+ }
+
+ //
+ return null;
}
public Enumeration getParameterNames()
{
- return rreq.getParameterNames();
+ return Tools.toEnumeration(parameters.keySet().iterator());
}
- public String[] getParameterValues(String s)
+ public String[] getParameterValues(String name)
{
- return rreq.getParameterValues(s);
+ if (name == null)
+ {
+ throw new IllegalArgumentException("Parameter name must not be null");
+ }
+
+ //
+ String[] values = (String[])parameters.get(name);
+ if (values != null)
+ {
+ return (String[])values.clone();
+ }
+
+ //
+ return null;
}
public Map getParameterMap()
{
- return rreq.getParameterMap();
+ return parameters;
}
// Do not operate and return null or zero
Modified: trunk/portlet/src/main/org/jboss/portal/portlet/impl/jsr168/DispatchedHttpServletResponse.java
===================================================================
--- trunk/portlet/src/main/org/jboss/portal/portlet/impl/jsr168/DispatchedHttpServletResponse.java 2007-03-12 14:48:11 UTC (rev 6638)
+++ trunk/portlet/src/main/org/jboss/portal/portlet/impl/jsr168/DispatchedHttpServletResponse.java 2007-03-12 14:50:21 UTC (rev 6639)
@@ -26,6 +26,7 @@
import javax.servlet.ServletOutputStream;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletResponse;
+import javax.servlet.http.HttpServletResponseWrapper;
import java.io.IOException;
import java.io.OutputStream;
import java.io.PrintWriter;
@@ -35,14 +36,15 @@
* @author <a href="mailto:julien@jboss.org">Julien Viet</a>
* @version $Revision$
*/
-public class DispatchedHttpServletResponse implements HttpServletResponse
+public class DispatchedHttpServletResponse extends HttpServletResponseWrapper
{
private RenderResponse rresp;
private ServletOutputStream sos;
- public DispatchedHttpServletResponse(RenderResponse rresp)
+ public DispatchedHttpServletResponse(RenderResponse rresp, HttpServletResponse dresp)
{
+ super(dresp);
this.rresp = rresp;
this.sos = null;
}
Modified: trunk/portlet/src/main/org/jboss/portal/portlet/impl/jsr168/PortletRequestDispatcherImpl.java
===================================================================
--- trunk/portlet/src/main/org/jboss/portal/portlet/impl/jsr168/PortletRequestDispatcherImpl.java 2007-03-12 14:48:11 UTC (rev 6638)
+++ trunk/portlet/src/main/org/jboss/portal/portlet/impl/jsr168/PortletRequestDispatcherImpl.java 2007-03-12 14:50:21 UTC (rev 6639)
@@ -30,11 +30,9 @@
import javax.portlet.PortletRequestDispatcher;
import javax.portlet.RenderRequest;
import javax.portlet.RenderResponse;
-import javax.servlet.FilterChain;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletRequestWrapper;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
@@ -43,48 +41,26 @@
* @version $Revision$
*/
public class PortletRequestDispatcherImpl
- implements PortletRequestDispatcher,
- FilterCommand
+ implements PortletRequestDispatcher
{
/** The servlet request dispatcher. */
- private RequestDispatcher dispatcher;
+ private final RequestDispatcher dispatcher;
/** . */
- private String path;
+ private final String path;
- public PortletRequestDispatcherImpl(RequestDispatcher dispatcher)
+ PortletRequestDispatcherImpl(RequestDispatcher dispatcher)
{
this(dispatcher, null);
}
- public PortletRequestDispatcherImpl(RequestDispatcher dispatcher, String path)
+ PortletRequestDispatcherImpl(RequestDispatcher dispatcher, String path)
{
this.dispatcher = dispatcher;
this.path = path;
}
- public void execute(HttpServletRequest req, HttpServletResponse resp, FilterChain chain) throws ServletException, IOException
- {
- // We need to wrap the tomcat dispatched request because the wrapper implements getRequestURL
- // such as it does not delegate to the original request provided by the <code>include</code>
- // method execution.
- HttpServletRequest wrappedReq = new HttpServletRequestWrapper(req)
- {
- /**
- * Override the behavior from tomcat, see above.
- *
- * @return the null value per the spec
- */
- public StringBuffer getRequestURL()
- {
- // Per the spec
- return null;
- }
- };
- chain.doFilter(wrappedReq, resp);
- }
-
public void include(RenderRequest req, RenderResponse resp) throws PortletException, IOException
{
try
@@ -94,20 +70,26 @@
//
HttpServletRequest dreq = invocation.getDispatchedRequest();
+ HttpServletResponse dresp = invocation.getDispatchedResponse();
+ // It was set by the PortletContainerInvoker before diving into the portlet, so let's just reuse them
+ RenderRequest rreq = (RenderRequest)req.getAttribute(APIConstants.JAVAX_PORTLET_REQUEST);
+ RenderResponse rresp = (RenderResponse)req.getAttribute(APIConstants.JAVAX_PORTLET_RESPONSE);
+
//
- DispatchedHttpServletRequest direq = new DispatchedHttpServletRequest(req, dreq, path);
- DispatchedHttpServletResponse diresp = new DispatchedHttpServletResponse(resp);
+ DispatchedHttpServletRequest direq = new DispatchedHttpServletRequest(rreq, dreq, path);
+ DispatchedHttpServletResponse diresp = new DispatchedHttpServletResponse(rresp, dresp);
//
try
{
- direq.setAttribute(FilterCommand.REQ_ATT_KEY, this);
+ // Set the filter command
+ dreq.setAttribute(FilterCommand.REQ_ATT_KEY, this);
dispatcher.include(direq, diresp);
}
finally
{
- direq.removeAttribute(FilterCommand.REQ_ATT_KEY);
+ dreq.removeAttribute(FilterCommand.REQ_ATT_KEY);
}
}
catch (ServletException e)
Modified: trunk/portlet/src/main/org/jboss/portal/test/portlet/ParametersTestCase.java
===================================================================
--- trunk/portlet/src/main/org/jboss/portal/test/portlet/ParametersTestCase.java 2007-03-12 14:48:11 UTC (rev 6638)
+++ trunk/portlet/src/main/org/jboss/portal/test/portlet/ParametersTestCase.java 2007-03-12 14:50:21 UTC (rev 6639)
@@ -268,7 +268,10 @@
}
catch (Exception e)
{
- assertTrue(exceptionClasses[i].isAssignableFrom(e.getClass()));
+ if (!exceptionClasses[i].isAssignableFrom(e.getClass()))
+ {
+ fail("Exception class " + exceptionClasses[i].getName() + " (index=" + i + ") should be assignable from caught exception " + e.getClass());
+ }
}
}
}
Modified: trunk/portlet/src/main/org/jboss/portal/test/portlet/jsr168/misc/log4j/Log4jSequenceBuilder.java
===================================================================
--- trunk/portlet/src/main/org/jboss/portal/test/portlet/jsr168/misc/log4j/Log4jSequenceBuilder.java 2007-03-12 14:48:11 UTC (rev 6638)
+++ trunk/portlet/src/main/org/jboss/portal/test/portlet/jsr168/misc/log4j/Log4jSequenceBuilder.java 2007-03-12 14:50:21 UTC (rev 6639)
@@ -51,7 +51,7 @@
{
Logger logger = ((LoggingPortlet)portlet).getLogger();
assertNotNull(logger);
- assertTrue("Logger is an instance of " + logger.getClass().getName() + " instead of ", logger instanceof CustomLogger);
+ assertTrue("Logger is an instance of " + logger.getClass().getName() + " instead of " + CustomLogger.class.getName(), logger instanceof CustomLogger);
return new EndTestResponse();
}
});
Modified: trunk/portlet/src/main/org/jboss/portal/test/portlet/jsr168/tck/dispatcher/DispatcherSequenceBuilder.java
===================================================================
--- trunk/portlet/src/main/org/jboss/portal/test/portlet/jsr168/tck/dispatcher/DispatcherSequenceBuilder.java 2007-03-12 14:48:11 UTC (rev 6638)
+++ trunk/portlet/src/main/org/jboss/portal/test/portlet/jsr168/tck/dispatcher/DispatcherSequenceBuilder.java 2007-03-12 14:50:21 UTC (rev 6639)
@@ -198,7 +198,7 @@
try
{
dispatcher.include(request, response);
- Object o = (Boolean)UTP1.local.get();
+ Object o = UTP1.local.get();
assertEquals(Boolean.TRUE, o);
}
finally
Modified: trunk/portlet/src/main/org/jboss/portal/test/portlet/jsr168/tck/portletcontext/PortletContextSequenceBuilder.java
===================================================================
--- trunk/portlet/src/main/org/jboss/portal/test/portlet/jsr168/tck/portletcontext/PortletContextSequenceBuilder.java 2007-03-12 14:48:11 UTC (rev 6638)
+++ trunk/portlet/src/main/org/jboss/portal/test/portlet/jsr168/tck/portletcontext/PortletContextSequenceBuilder.java 2007-03-12 14:50:21 UTC (rev 6639)
@@ -24,6 +24,7 @@
import org.jboss.portal.common.test.driver.response.EndTestResponse;
import org.jboss.portal.common.test.driver.DriverResponse;
+import org.jboss.portal.common.util.Tools;
import org.jboss.portal.test.framework.portlet.Sequence;
import org.jboss.portal.test.framework.portlet.SequenceRegistry;
import org.jboss.portal.test.framework.portlet.SequenceRegistryBuilder;
@@ -286,20 +287,8 @@
/** Simple compare of two Enumerationss */
private boolean compare(Enumeration a, Enumeration b)
{
- List al = new ArrayList();
- List bl = new ArrayList();
-
- for (; a.hasMoreElements();)
- {
- al.add(a.nextElement());
- }
-
- for (; b.hasMoreElements();)
- {
- bl.add(a.nextElement());
- }
+ List al = Tools.toList(a);
+ List bl = Tools.toList(b);
return al.equals(bl);
}
-
-
}
Modified: trunk/server/src/main/org/jboss/portal/server/deployment/PortalWebAppFactory.java
===================================================================
--- trunk/server/src/main/org/jboss/portal/server/deployment/PortalWebAppFactory.java 2007-03-12 14:48:11 UTC (rev 6638)
+++ trunk/server/src/main/org/jboss/portal/server/deployment/PortalWebAppFactory.java 2007-03-12 14:50:21 UTC (rev 6639)
@@ -70,8 +70,7 @@
case TOMCAT5:
return new PortalWebTomcat5App(webApp, server, jbossAppEntityResolver);
case TOMCAT6:
- // For now trying to build TC6 with TC5 web app
- return new PortalWebTomcat5App(webApp, server, jbossAppEntityResolver);
+ return new PortalWebTomcat6App(webApp, server, jbossAppEntityResolver);
default:
throw new CannotCreatePortletWebAppException("JBossWeb cannot handle it : " + version);
}
@@ -113,6 +112,10 @@
{
return TOMCAT6;
}
+ else
+ {
+ log.error("Cannot handle tomcat version: " + result);
+ }
}
}
catch (ClassNotFoundException e)
Added: trunk/server/src/main/org/jboss/portal/server/deployment/PortalWebTomcat6App.java
===================================================================
--- trunk/server/src/main/org/jboss/portal/server/deployment/PortalWebTomcat6App.java (rev 0)
+++ trunk/server/src/main/org/jboss/portal/server/deployment/PortalWebTomcat6App.java 2007-03-12 14:50:21 UTC (rev 6639)
@@ -0,0 +1,268 @@
+/******************************************************************************
+ * 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.server.deployment;
+
+import org.jboss.web.WebApplication;
+import org.jboss.portal.server.servlet.CommandServlet;
+import org.jboss.portal.server.servlet.CommandFilter;
+import org.xml.sax.EntityResolver;
+
+import javax.management.MBeanServer;
+import javax.management.ObjectName;
+import javax.servlet.ServletContext;
+import java.net.URL;
+import java.lang.reflect.Method;
+import java.lang.reflect.Field;
+import java.lang.reflect.Array;
+
+/**
+ * @author <a href="mailto:julien@jboss.org">Julien Viet</a>
+ * @version $Revision: 6091 $
+ */
+public class PortalWebTomcat6App extends PortalWebApp
+{
+
+ private static final Object[] EMPTY_OBJECT_ARRAY = new Object[0];
+ private static final Class[] EMPTY_CLASS_ARRAY = new Class[0];
+
+ private final Object standardContext;
+ private final WebApplication webApp;
+
+ public PortalWebTomcat6App(WebApplication webApp, MBeanServer server, EntityResolver jbossAppEntityResolver) throws CannotCreatePortletWebAppException
+ {
+ try
+ {
+ ObjectName name = (ObjectName)webApp.getAppData();
+
+ //
+ this.webApp = webApp;
+ this.standardContext = server.getAttribute(name, "managedResource");
+
+ //
+ String contextPath = PortalWebTomcat4App.getContextPath(standardContext);
+ ServletContext servletContext = PortalWebTomcat4App.getServletContext(standardContext);
+ ClassLoader loader = getClassLoader(server, name);
+ URL url = webApp.getURL();
+
+ //
+ init(servletContext, url, loader, contextPath, jbossAppEntityResolver);
+ }
+ catch (Exception e)
+ {
+ CannotCreatePortletWebAppException ex = null;
+ if (e instanceof CannotCreatePortletWebAppException)
+ {
+ ex = (CannotCreatePortletWebAppException)e;
+ }
+ else
+ {
+ ex = new CannotCreatePortletWebAppException(e);
+ }
+ throw ex;
+ }
+ }
+
+ public void instrument() throws Exception
+ {
+ // Get class loader
+ ClassLoader cl = Thread.currentThread().getContextClassLoader();
+
+ // Get some class
+ Class containerItf = cl.loadClass("org.apache.catalina.Container");
+
+ // Inject the command servlet only one time, so we look if it exist already
+ Method findChildMethod = containerItf.getMethod("findChild", new Class[]{String.class});
+ Object commandServlet = findChildMethod.invoke(standardContext, new Object[]{"CommandServlet"});
+ if (commandServlet == null)
+ {
+ addFilterDef(cl);
+ addFilterMap(cl);
+ startFilter(cl);
+ setRunAsListenerAssociation(webApp.getMetaData());
+ try
+ {
+ addCommandServlet(cl);
+ }
+ finally
+ {
+ setRunAsListenerAssociation(null);
+ }
+ }
+ }
+
+ private void startFilter(ClassLoader cl) throws Exception
+ {
+ // Get classes
+ Class standardContextClass = cl.loadClass("org.apache.catalina.core.StandardContext");
+
+ // Start filters
+ Method filterStartMethod = standardContextClass.getMethod("filterStart", new Class[0]);
+ filterStartMethod.invoke(standardContext, new Object[0]);
+ }
+
+ private void setRunAsListenerAssociation(Object o)
+ {
+ try
+ {
+ Class clazz = Thread.currentThread().getContextClassLoader().loadClass("org.jboss.web.tomcat.security.RunAsListener");
+
+ //
+ log.debug("RunAsListener detected");
+ Field field = clazz.getDeclaredField("metaDataLocal");
+ ThreadLocal threadLocal = (ThreadLocal)field.get(null);
+ threadLocal.set(o);
+ }
+ catch (ClassNotFoundException e)
+ {
+ log.debug("RunAsListener not detected");
+ }
+ catch (IllegalAccessException e)
+ {
+ log.error("Cannot set the RunAsListener threadlocal because of a security manager", e);
+ }
+ catch (Exception e)
+ {
+ log.error("Unexpected exception");
+ }
+ }
+
+ private void addFilterMap(ClassLoader cl) throws Exception
+ {
+ // Get classes
+ Class containerItf = cl.loadClass("org.apache.catalina.Container");
+ Class standardWrapperClass = cl.loadClass("org.apache.catalina.core.StandardWrapper");
+ Class filterMapClass = cl.loadClass("org.apache.catalina.deploy.FilterMap");
+ Class standardContextClass = cl.loadClass("org.apache.catalina.core.StandardContext");
+
+ // Get all the children
+ Method findChildrenMethod = containerItf.getMethod("findChildren", new Class[0]);
+ Object[] chilren = (Object[])findChildrenMethod.invoke(standardContext, new Object[0]);
+
+ // Iterate
+ for (int i = 0; i < chilren.length; i++)
+ {
+ Object child = chilren[i];
+ Class childClass = child.getClass();
+ if (childClass.equals(standardWrapperClass))
+ {
+ // If it is a wrapper we instrument
+ Object filterMap = filterMapClass.newInstance();
+
+ // Get servlet name
+ Method getServletNameMethod = standardWrapperClass.getMethod("getServletName", new Class[0]);
+ String servletName = (String)getServletNameMethod.invoke(child, new Object[0]);
+
+ // Configure filter map
+ Method setDispatcherMethod = filterMapClass.getMethod("setDispatcher", new Class[]{String.class});
+ setDispatcherMethod.invoke(filterMap, new Object[]{"INCLUDE"});
+ Method FilterMapSetFilterNameMethod = filterMapClass.getMethod("setFilterName", new Class[]{String.class});
+ FilterMapSetFilterNameMethod.invoke(filterMap, new Object[]{"CommandFilter"});
+ Method setServletNameMethod = filterMapClass.getMethod("addServletName", new Class[]{String.class});
+ setServletNameMethod.invoke(filterMap, new Object[]{servletName});
+
+ // Add the filter map
+ Method addFilterMapMethod = standardContextClass.getMethod("addFilterMap", new Class[]{filterMapClass});
+ addFilterMapMethod.invoke(standardContext, new Object[]{filterMap});
+ }
+ }
+ }
+
+ private void addCommandServlet(ClassLoader cl) throws Exception
+ {
+ //
+ Class containerItf = cl.loadClass("org.apache.catalina.Container");
+ Class standardContextClass = cl.loadClass("org.apache.catalina.core.StandardContext");
+ Class containerBaseClass = cl.loadClass("org.apache.catalina.core.ContainerBase");
+ Class contextItf = cl.loadClass("org.apache.catalina.Context");
+
+ // Ask the context to create a wrapper
+ Method createWrapperMethod = standardContextClass.getMethod("createWrapper", EMPTY_CLASS_ARRAY);
+ Object wrapper = createWrapperMethod.invoke(standardContext, EMPTY_OBJECT_ARRAY);
+ Class wrapperClass = wrapper.getClass();
+ Object[] wrapperArray = (Object[])Array.newInstance(containerItf, 1);
+ wrapperArray[0] = wrapper;
+
+ Method setServletNameMethod = wrapperClass.getMethod("setServletName", new Class[]{String.class});
+ setServletNameMethod.invoke(wrapper, new Object[]{"CommandServlet"});
+
+ Method setServletClassMethod = wrapperClass.getMethod("setServletClass", new Class[]{String.class});
+ setServletClassMethod.invoke(wrapper, new Object[]{CommandServlet.class.getName()});
+
+ Method setLoadOnStartupMethod = wrapperClass.getMethod("setLoadOnStartup", new Class[]{int.class});
+ setLoadOnStartupMethod.invoke(wrapper, new Object[]{new Integer(0)});
+
+ Method addChildMethod = containerBaseClass.getMethod("addChild", new Class[]{containerItf});
+ addChildMethod.invoke(standardContext, new Object[]{wrapper});
+
+ Method addServletMapping = contextItf.getMethod("addServletMapping", new Class[]{String.class, String.class});
+ addServletMapping.invoke(standardContext, new Object[]{"/jbossportlet", "CommandServlet"});
+
+ Method loadOnStartupMethod = standardContextClass.getMethod("loadOnStartup", new Class[]{wrapperArray.getClass()});
+ loadOnStartupMethod.invoke(standardContext, new Object[]{wrapperArray});
+ }
+
+ private void addFilterDef(ClassLoader cl) throws Exception
+ {
+ // Get class
+ Class standardContextClass = cl.loadClass("org.apache.catalina.core.StandardContext");
+ Class filterDefClass = cl.loadClass("org.apache.catalina.deploy.FilterDef");
+
+ // Create filter def
+ Object filterDef = filterDefClass.newInstance();
+
+ //
+ Method setDescriptionMethod = filterDefClass.getMethod("setDescription", new Class[]{String.class});
+ setDescriptionMethod.invoke(filterDef, new Object[]{""});
+
+ //
+ Method setDisplayNameMethod = filterDefClass.getMethod("setDisplayName", new Class[]{String.class});
+ setDisplayNameMethod.invoke(filterDef, new Object[]{""});
+
+ //
+ Method setFilterClassMethod = filterDefClass.getMethod("setFilterClass", new Class[]{String.class});
+ setFilterClassMethod.invoke(filterDef, new Object[]{CommandFilter.class.getName()});
+
+ //
+ Method FilterDefSetFilterNameMethod = filterDefClass.getMethod("setFilterName", new Class[]{String.class});
+ FilterDefSetFilterNameMethod.invoke(filterDef, new Object[]{"CommandFilter"});
+
+ //
+ Method setLargeIconMethod = filterDefClass.getMethod("setLargeIcon", new Class[]{String.class});
+ setLargeIconMethod.invoke(filterDef, new Object[]{""});
+
+ //
+ Method setSmallIconMethod = filterDefClass.getMethod("setSmallIcon", new Class[]{String.class});
+ setSmallIconMethod.invoke(filterDef, new Object[]{""});
+
+ // Finally add the filter def
+ Method addFilterDefMethod = standardContextClass.getMethod("addFilterDef", new Class[]{filterDefClass});
+ addFilterDefMethod.invoke(standardContext, new Object[]{filterDef});
+ }
+
+ private ClassLoader getClassLoader(MBeanServer server, ObjectName name) throws Exception
+ {
+ Object loader = server.getAttribute(name, "loader");
+ Method getClassLoaderMethod = loader.getClass().getMethod("getClassLoader", new Class[0]);
+ return (ClassLoader)getClassLoaderMethod.invoke(loader, new Object[0]);
+ }
+}
Modified: trunk/server/src/main/org/jboss/portal/server/servlet/PortalServlet.java
===================================================================
--- trunk/server/src/main/org/jboss/portal/server/servlet/PortalServlet.java 2007-03-12 14:48:11 UTC (rev 6638)
+++ trunk/server/src/main/org/jboss/portal/server/servlet/PortalServlet.java 2007-03-12 14:50:21 UTC (rev 6639)
@@ -29,6 +29,7 @@
import org.jboss.portal.common.invocation.InvocationException;
import org.jboss.portal.common.util.Exceptions;
import org.jboss.portal.common.util.URLTools;
+import org.jboss.portal.common.http.QueryStringParser;
import org.jboss.portal.server.PortalConstants;
import org.jboss.portal.server.RequestController;
import org.jboss.portal.server.RequestControllerDispatcher;
@@ -290,7 +291,7 @@
String queryString = req.getQueryString();
if (queryString != null)
{
- queryParameterMap = parseQueryString(queryString);
+ queryParameterMap = QueryStringParser.parseQueryString(queryString);
}
//
@@ -438,53 +439,4 @@
{
return URLContext.newInstance(req.isSecure(), req.getRemoteUser() != null);
}
-
- /** Parse the query string and build an unmodifiable parameter map of it. */
- private Map parseQueryString(String queryString)
- {
- Map result = Collections.EMPTY_MAP;
- for (StringTokenizer tokenizer = new StringTokenizer(queryString, "&"); tokenizer.hasMoreTokens();)
- {
- String token = tokenizer.nextToken();
- int pos = token.indexOf('=');
- if (pos > 0)
- {
- // Get name and value
- String encodedName = token.substring(0, pos);
- String encodedValue = token.substring(pos + 1, token.length());
-
- // Decode properly
- String name = URLTools.decodeXWWWFormURL(encodedName);
- String value = URLTools.decodeXWWWFormURL(encodedValue);
-
- // Put the values in the result map
- String[] values = (String[])result.get(name);
- if (values == null)
- {
- values = new String[1];
- }
- else
- {
- String[] tmp = new String[values.length + 1];
- System.arraycopy(values, 0, tmp, 0, values.length);
- values = tmp;
- }
- values[values.length - 1] = value;
-
- // Replace the empty map if necessary with a real hashmap
- if (result.isEmpty())
- {
- result = new HashMap();
- }
- result.put(name, values);
- }
- else
- {
- // Not well formed
- // -1 mean we have just a parameter name
- // 0 means we have an empty name
- }
- }
- return result.isEmpty() ? result : Collections.unmodifiableMap(result);
- }
}
17 years, 6 months
JBoss Portal SVN: r6638 - trunk/identity/src/main/org/jboss/portal/identity/ldap.
by portal-commits@lists.jboss.org
Author: bdaw
Date: 2007-03-12 10:48:11 -0400 (Mon, 12 Mar 2007)
New Revision: 6638
Modified:
trunk/identity/src/main/org/jboss/portal/identity/ldap/LDAPExtUserModuleImpl.java
trunk/identity/src/main/org/jboss/portal/identity/ldap/LDAPUserModuleImpl.java
Log:
- update offset/limit LDAP search implementation to little more effecient (probably still sux)
Modified: trunk/identity/src/main/org/jboss/portal/identity/ldap/LDAPExtUserModuleImpl.java
===================================================================
--- trunk/identity/src/main/org/jboss/portal/identity/ldap/LDAPExtUserModuleImpl.java 2007-03-12 14:46:40 UTC (rev 6637)
+++ trunk/identity/src/main/org/jboss/portal/identity/ldap/LDAPExtUserModuleImpl.java 2007-03-12 14:48:11 UTC (rev 6638)
@@ -137,55 +137,47 @@
filter = "*" + filter + "*";
}
+ NamingEnumeration results = null;
+
String ldap_filter = getUserSearchFilter();
//* chars are escaped in filterArgs so we must replace it manually
ldap_filter = ldap_filter.replaceAll("\\{0\\}", filter);
log.debug("Search filter: " + ldap_filter);
- //Object[] filterArgs = {filter};
- NamingEnumeration results = searchUsers(ldap_filter, null);
- while (results.hasMoreElements())
+ results = searchUsers(ldap_filter, null);
+ uf = Tools.toList(results);
+
+ int size = uf.size();
+ if (offset == 0 && size <= limit)
{
- SearchResult res = (SearchResult)results.nextElement();
- Context ctx = (Context)res.getObject();
- String dn = ctx.getNameInNamespace();
- uf.add(createUserInstance(res.getAttributes(), dn));
+ return processUsers(uf);
}
+ Collections.sort(uf, new UserEntryComparator());
+
+ if (offset + limit <= size)
+ {
+ return processUsers(uf.subList(offset, offset + limit));
+ }
+ else if (offset >= size)
+ {
+ return new HashSet();
+ }
+
+ return Tools.toSet(uf.subList(offset, size).iterator());
}
catch (NoSuchElementException e)
{
- log.debug("No user found using filter: " + filter, e);
-
+ log.debug("No users found", e);
}
- catch (NamingException e)
+ catch (Throwable e)
{
throw new IdentityException("User search failed.", e);
}
- //this is not very cool. No easy way to do this using JNDI so we apply offset/limit on all returned results
- //TODO: make it more efficient and apply sort before createUserInstance invocation;
- int size = uf.size();
-
- if (offset == 0 && size <= limit)
- {
- return Tools.toSet(uf.iterator());
- }
-
- Collections.sort(uf, new LDAPUserImpl.LDAPUserComparator());
-
- if (offset + limit <= size)
- {
- return Tools.toSet(uf.subList(offset, offset + limit).iterator());
- }
- else if (offset >= size)
- {
- return new HashSet();
- }
-
-
- return Tools.toSet(uf.subList(offset, size).iterator());
+ //won't happen
+ return null;
}
public int getUserCount() throws IdentityException, IllegalArgumentException
Modified: trunk/identity/src/main/org/jboss/portal/identity/ldap/LDAPUserModuleImpl.java
===================================================================
--- trunk/identity/src/main/org/jboss/portal/identity/ldap/LDAPUserModuleImpl.java 2007-03-12 14:46:40 UTC (rev 6637)
+++ trunk/identity/src/main/org/jboss/portal/identity/ldap/LDAPUserModuleImpl.java 2007-03-12 14:48:11 UTC (rev 6638)
@@ -45,6 +45,8 @@
import java.util.Iterator;
import java.util.LinkedList;
import java.util.Collections;
+import java.util.Collection;
+import java.util.Comparator;
import java.security.NoSuchAlgorithmException;
/**
@@ -248,9 +250,9 @@
}
List uf = new LinkedList();
+ NamingEnumeration results = null;
-
if (filter.length() == 0)
{
filter = "*";
@@ -267,51 +269,40 @@
log.debug("Search filter: " + filter);
- NamingEnumeration results = searchUsers(ldap_filter, null);
- while (results.hasMoreElements())
+ results = searchUsers(ldap_filter, null);
+ uf = Tools.toList(results);
+
+ int size = uf.size();
+ if (offset == 0 && size <= limit)
{
- SearchResult res = (SearchResult)results.nextElement();
- Context ctx = (Context)res.getObject();
- String dn = ctx.getNameInNamespace();
- uf.add(createUserInstance(res.getAttributes(), dn));
+ return processUsers(uf);
}
+ Collections.sort(uf, new UserEntryComparator());
+ if (offset + limit <= size)
+ {
+ return processUsers(uf.subList(offset, offset + limit));
+ }
+ else if (offset >= size)
+ {
+ return new HashSet();
+ }
+ return Tools.toSet(uf.subList(offset, size).iterator());
}
catch (NoSuchElementException e)
{
log.debug("No users found", e);
}
- catch (Exception e)
+ catch (Throwable e)
{
throw new IdentityException("User search failed.", e);
}
- //this is not very cool. No easy way to do this using JNDI so we apply offset/limit on all returned results
- //TODO: make it more efficient and apply sort before createUserInstance invocation;
+ //won't happen
+ return null;
- int size = uf.size();
-
- if (offset == 0 && size <= limit)
- {
- return Tools.toSet(uf.iterator());
- }
-
- Collections.sort(uf, new LDAPUserImpl.LDAPUserComparator());
-
- if (offset + limit <= size)
- {
- return Tools.toSet(uf.subList(offset, offset + limit).iterator());
- }
- else if (offset >= size)
- {
- return new HashSet();
- }
-
-
- return Tools.toSet(uf.subList(offset, size).iterator());
-
}
public int getUserCount() throws IdentityException, IllegalArgumentException
@@ -366,6 +357,52 @@
return getConnectionContext().createInitialContext().search(getContainerDN(), filter, filterArgs, controls);
}
}
+
+
+ protected Set processUsers(Collection users) throws Exception
+ {
+ Set ui = new HashSet();
+ for (Iterator iterator = users.iterator(); iterator.hasNext();)
+ {
+ SearchResult res = (SearchResult)iterator.next();
+ Context ctx = (Context)res.getObject();
+ String dn = ctx.getNameInNamespace();
+ ui.add(createUserInstance(res.getAttributes(), dn));
+ }
+ return ui;
+ }
+
+ /**
+ * Comparator for users entries
+ */
+ protected class UserEntryComparator implements Comparator
+ {
+
+
+ public int compare(Object o1, Object o2)
+ {
+ try
+ {
+ SearchResult u1 = (SearchResult)o1;
+ SearchResult u2 = (SearchResult)o2;
+
+ Attribute uida1 = u1.getAttributes().get(getUidAttributeID());
+ Attribute uida2 = u2.getAttributes().get(getUidAttributeID());
+
+ String name1 = uida1.get().toString();
+ String name2 = uida2.get().toString();
+
+ return name1.compareToIgnoreCase(name2);
+ }
+ catch(Throwable e)
+ {
+ //none
+ }
+ return 0;
+ }
+ }
+
+
}
17 years, 6 months
JBoss Portal SVN: r6637 - trunk/identity/src/main/org/jboss/portal/identity/ldap.
by portal-commits@lists.jboss.org
Author: bdaw
Date: 2007-03-12 10:46:40 -0400 (Mon, 12 Mar 2007)
New Revision: 6637
Modified:
trunk/identity/src/main/org/jboss/portal/identity/ldap/LDAPConnectionContext.java
Log:
- forgot to commit
Modified: trunk/identity/src/main/org/jboss/portal/identity/ldap/LDAPConnectionContext.java
===================================================================
--- trunk/identity/src/main/org/jboss/portal/identity/ldap/LDAPConnectionContext.java 2007-03-12 13:27:32 UTC (rev 6636)
+++ trunk/identity/src/main/org/jboss/portal/identity/ldap/LDAPConnectionContext.java 2007-03-12 14:46:40 UTC (rev 6637)
@@ -188,22 +188,22 @@
}
- public String getJndiName()
+ public String getJNDIName()
{
return jndiName;
}
- public void setJndiName(String jndiName)
+ public void setJNDIName(String jndiName)
{
this.jndiName = jndiName;
}
- public JNDI.Binding getJndiBinding()
+ public JNDI.Binding getJNDIBinding()
{
return jndiBinding;
}
- public void setJndiBinding(JNDI.Binding jndiBinding)
+ public void setJNDIBinding(JNDI.Binding jndiBinding)
{
this.jndiBinding = jndiBinding;
}
17 years, 6 months
JBoss Portal SVN: r6636 - in trunk: identity/src/main/org/jboss/portal/identity and 4 other directories.
by portal-commits@lists.jboss.org
Author: bdaw
Date: 2007-03-12 09:27:32 -0400 (Mon, 12 Mar 2007)
New Revision: 6636
Modified:
trunk/core/src/resources/portal-core-sar/conf/identity/standardidentity-config.xml
trunk/identity/src/main/org/jboss/portal/identity/DelegatingUserProfileModuleImpl.java
trunk/identity/src/main/org/jboss/portal/identity/IdentityServiceControllerImpl.java
trunk/identity/src/main/org/jboss/portal/identity/config/metadata/DatasourceMetaData.java
trunk/identity/src/main/org/jboss/portal/identity/config/metadata/ModuleMetaData.java
trunk/identity/src/main/org/jboss/portal/identity/service/IdentityModuleService.java
trunk/identity/src/main/org/jboss/portal/test/identity/ConfigurationTestCase.java
trunk/identity/src/resources/test/config/standardidentity-config.xml
Log:
- change jndiName to JNDIName
Modified: trunk/core/src/resources/portal-core-sar/conf/identity/standardidentity-config.xml
===================================================================
--- trunk/core/src/resources/portal-core-sar/conf/identity/standardidentity-config.xml 2007-03-12 12:58:18 UTC (rev 6635)
+++ trunk/core/src/resources/portal-core-sar/conf/identity/standardidentity-config.xml 2007-03-12 13:27:32 UTC (rev 6636)
@@ -26,7 +26,7 @@
<!--
<!DOCTYPE identity-configuration PUBLIC
"-//JBoss Portal//DTD JBoss Identity Configuration 1.0//EN"
- "http://www.jboss.org/portal/dtd/identity-config_2_6.dtd">
+ "http://www.jboss.org/portal/dtd/identity-config_1_0.dtd">
-->
<identity-configuration>
@@ -58,7 +58,7 @@
<value>password</value>
</option>
<option>
- <name>jndiName</name>
+ <name>jNDIName</name>
<value>java:/portal/LDAPConnectionContext</value>
</option>
</config>
@@ -77,7 +77,7 @@
<!--set of options that are set in instantiated object-->
<config>
<option>
- <name>jndiName</name>
+ <name>jNDIName</name>
<value>java:/portal/UserProfileModule</value>
</option>
<option>
@@ -109,7 +109,7 @@
<value>java:/portal/IdentitySessionFactory</value>
</option>
<option>
- <name>jndiName</name>
+ <name>jNDIName</name>
<value>java:/portal/UserModule</value>
</option>
</config>
@@ -131,7 +131,7 @@
<value>java:/portal/IdentitySessionFactory</value>
</option>
<option>
- <name>jndiName</name>
+ <name>jNDIName</name>
<value>java:/portal/RoleModule</value>
</option>
</config>
@@ -153,7 +153,7 @@
<value>java:/portal/IdentitySessionFactory</value>
</option>
<option>
- <name>jndiName</name>
+ <name>jNDIName</name>
<value>java:/portal/MembershipModule</value>
</option>
</config>
@@ -175,7 +175,7 @@
<value>java:/portal/IdentitySessionFactory</value>
</option>
<option>
- <name>jndiName</name>
+ <name>jNDIName</name>
<value>java:/portal/DBUserProfileModule</value>
</option>
</config>
@@ -194,7 +194,7 @@
<!--set of options that are set in instantiated object-->
<config>
<option>
- <name>jndiName</name>
+ <name>jNDIName</name>
<value>java:/portal/UserModule</value>
</option>
<option>
@@ -216,7 +216,7 @@
<!--set of options that are set in instantiated object-->
<config>
<option>
- <name>jndiName</name>
+ <name>jNDIName</name>
<value>java:/portal/RoleModule</value>
</option>
<option>
@@ -238,7 +238,7 @@
<!--set of options that are set in instantiated object-->
<config>
<option>
- <name>jndiName</name>
+ <name>jNDIName</name>
<value>java:/portal/MembershipModule</value>
</option>
<option>
@@ -260,7 +260,7 @@
<!--set of options that are set in instantiated object-->
<config>
<option>
- <name>jndiName</name>
+ <name>jNDIName</name>
<value>java:/portal/LDAPUserProfileModule</value>
</option>
<option>
Modified: trunk/identity/src/main/org/jboss/portal/identity/DelegatingUserProfileModuleImpl.java
===================================================================
--- trunk/identity/src/main/org/jboss/portal/identity/DelegatingUserProfileModuleImpl.java 2007-03-12 12:58:18 UTC (rev 6635)
+++ trunk/identity/src/main/org/jboss/portal/identity/DelegatingUserProfileModuleImpl.java 2007-03-12 13:27:32 UTC (rev 6636)
@@ -59,11 +59,11 @@
}
//check if we don't delegate to ourselves:
- if (getJndiName().equals(getDbModuleJNDIName()))
+ if (getJNDIName().equals(getDbModuleJNDIName()))
{
throw new IdentityException("Cannot delegate to itself - correct dbModuleJNDIName option");
}
- if (getJndiName().equals(getLdapModuleJNDIName()))
+ if (getJNDIName().equals(getLdapModuleJNDIName()))
{
throw new IdentityException("Cannot delegate to itself - correct ldapModuleJNDIName option");
}
Modified: trunk/identity/src/main/org/jboss/portal/identity/IdentityServiceControllerImpl.java
===================================================================
--- trunk/identity/src/main/org/jboss/portal/identity/IdentityServiceControllerImpl.java 2007-03-12 12:58:18 UTC (rev 6635)
+++ trunk/identity/src/main/org/jboss/portal/identity/IdentityServiceControllerImpl.java 2007-03-12 13:27:32 UTC (rev 6636)
@@ -174,7 +174,7 @@
//check if defaults contains all information
if (module.getType() == null ||
module.getImplementation() == null ||
- //module.getJndiName() == null ||
+ //module.getJNDIName() == null ||
module.getServiceName() == null ||
module.getConfig() == null)
{
Modified: trunk/identity/src/main/org/jboss/portal/identity/config/metadata/DatasourceMetaData.java
===================================================================
--- trunk/identity/src/main/org/jboss/portal/identity/config/metadata/DatasourceMetaData.java 2007-03-12 12:58:18 UTC (rev 6635)
+++ trunk/identity/src/main/org/jboss/portal/identity/config/metadata/DatasourceMetaData.java 2007-03-12 13:27:32 UTC (rev 6636)
@@ -69,16 +69,6 @@
this.className = className;
}
- /*public String getJndiName()
- {
- return jndiName;
- }
-
- public void setJndiName(String jndiName)
- {
- this.jndiName = jndiName;
- }*/
-
public ConfigMetaData getConfig()
{
return config;
Modified: trunk/identity/src/main/org/jboss/portal/identity/config/metadata/ModuleMetaData.java
===================================================================
--- trunk/identity/src/main/org/jboss/portal/identity/config/metadata/ModuleMetaData.java 2007-03-12 12:58:18 UTC (rev 6635)
+++ trunk/identity/src/main/org/jboss/portal/identity/config/metadata/ModuleMetaData.java 2007-03-12 13:27:32 UTC (rev 6636)
@@ -80,16 +80,6 @@
this.className = className;
}
- /*public String getJndiName()
- {
- return jndiName;
- }
-
- public void setJndiName(String jndiName)
- {
- this.jndiName = jndiName;
- }*/
-
public ConfigMetaData getConfig()
{
return config;
Modified: trunk/identity/src/main/org/jboss/portal/identity/service/IdentityModuleService.java
===================================================================
--- trunk/identity/src/main/org/jboss/portal/identity/service/IdentityModuleService.java 2007-03-12 12:58:18 UTC (rev 6635)
+++ trunk/identity/src/main/org/jboss/portal/identity/service/IdentityModuleService.java 2007-03-12 13:27:32 UTC (rev 6636)
@@ -142,14 +142,14 @@
this.identityContext = identityContext;
}
- public String getJndiName()
+ public String getJNDIName()
{
return jndiName;
}
- public void setJndiName(String jndiName)
+ public void setJNDIName(String JNDIName)
{
- this.jndiName = jndiName;
+ this.jndiName = JNDIName;
}
public Map getInitOptions()
Modified: trunk/identity/src/main/org/jboss/portal/test/identity/ConfigurationTestCase.java
===================================================================
--- trunk/identity/src/main/org/jboss/portal/test/identity/ConfigurationTestCase.java 2007-03-12 12:58:18 UTC (rev 6635)
+++ trunk/identity/src/main/org/jboss/portal/test/identity/ConfigurationTestCase.java 2007-03-12 13:27:32 UTC (rev 6636)
@@ -142,7 +142,7 @@
controller.start();
IdentityModuleService service = (IdentityModuleService)controller.getIdentityContext().getObject(IdentityContext.TYPE_USER_MODULE);
- assertEquals("java:/portal/UserModule", service.getJndiName());
+ assertEquals("java:/portal/UserModule", service.getJNDIName());
}
Modified: trunk/identity/src/resources/test/config/standardidentity-config.xml
===================================================================
--- trunk/identity/src/resources/test/config/standardidentity-config.xml 2007-03-12 12:58:18 UTC (rev 6635)
+++ trunk/identity/src/resources/test/config/standardidentity-config.xml 2007-03-12 13:27:32 UTC (rev 6636)
@@ -56,7 +56,7 @@
<value>password</value>
</option>
<option>
- <name>jndiName</name>
+ <name>jNDIName</name>
<value>java:/portal/LDAPConnectionContext</value>
</option>
</config>
@@ -75,7 +75,7 @@
<!--set of options that are passed to a class constructor-->
<config>
<option>
- <name>jndiName</name>
+ <name>jNDIName</name>
<value>java:/portal/UserProfileModule</value>
</option>
<option>
@@ -107,7 +107,7 @@
<value>java:/portal/IdentitySessionFactory</value>
</option>
<option>
- <name>jndiName</name>
+ <name>jNDIName</name>
<value>java:/portal/UserModule</value>
</option>
</config>
@@ -129,7 +129,7 @@
<value>java:/portal/IdentitySessionFactory</value>
</option>
<option>
- <name>jndiName</name>
+ <name>jNDIName</name>
<value>java:/portal/RoleModule</value>
</option>
</config>
@@ -151,7 +151,7 @@
<value>java:/portal/IdentitySessionFactory</value>
</option>
<option>
- <name>jndiName</name>
+ <name>jNDIName</name>
<value>java:/portal/MembershipModule</value>
</option>
</config>
@@ -173,7 +173,7 @@
<value>java:/portal/IdentitySessionFactory</value>
</option>
<option>
- <name>jndiName</name>
+ <name>jNDIName</name>
<value>java:/portal/DBUserProfileModule</value>
</option>
</config>
@@ -192,7 +192,7 @@
<!--set of options that are passed to a class constructor-->
<config>
<option>
- <name>jndiName</name>
+ <name>jNDIName</name>
<value>java:/portal/UserModule</value>
</option>
<option>
@@ -214,7 +214,7 @@
<!--set of options that are passed to a class constructor-->
<config>
<option>
- <name>jndiName</name>
+ <name>jNDIName</name>
<value>java:/portal/RoleModule</value>
</option>
<option>
@@ -236,7 +236,7 @@
<!--set of options that are passed to a class constructor-->
<config>
<option>
- <name>jndiName</name>
+ <name>jNDIName</name>
<value>java:/portal/MembershipModule</value>
</option>
<option>
@@ -271,7 +271,7 @@
<value>ldap-profile.xml</value>
</option>-->
<option>
- <name>jndiName</name>
+ <name>jNDIName</name>
<value>java:/portal/LDAPUserProfileModule</value>
</option>
<option>
17 years, 6 months